Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-03-02 Thread Mike Kerner via use-livecode
oh, so it is. thanks!

On Wed, Mar 1, 2023 at 4:24 PM Andrew at MWCM via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > andrew,
> > ok, now i'm curious:
> > do you also do deep linking into your app, itself?
> > I've thought about doing that, but I've never tried to figure out how.
>
> No deep linking INTO (but I think that is covered at
> https://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes <
> https://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes>)
> but I do have deep linking OUT of another app project (Florida On Tap) that
> opens the Untappd app if a user has it installed and goes to a specific
> section of their app.
>
> -- Andrew Bell
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-03-01 Thread Andrew at MWCM via use-livecode


> andrew,
> ok, now i'm curious:
> do you also do deep linking into your app, itself?
> I've thought about doing that, but I've never tried to figure out how.

No deep linking INTO (but I think that is covered at 
https://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes 
) but I 
do have deep linking OUT of another app project (Florida On Tap) that opens the 
Untappd app if a user has it installed and goes to a specific section of their 
app.

-- Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-03-01 Thread Mike Kerner via use-livecode
andrew,
ok, now i'm curious:
do you also do deep linking into your app, itself?
I've thought about doing that, but I've never tried to figure out how.

On Tue, Feb 28, 2023 at 4:13 PM Andrew at MWCM via use-livecode <
use-livecode@lists.runrev.com> wrote:

> >
> > Date: Tue, 28 Feb 2023 10:14:37 -0500
> > From: Mike Kerner 
> > To: How to use LiveCode 
> > Subject: Re: On mobile: mergAVRequestMediaAccess "video" and
> >   androidRequestPermission "android.permission.CAMERA"
> > Message-ID:
> >bnu3tskh4...@mail.gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > this isn't an uncommon problem.
> > what other apps on ios do is throw up a separate dialog that directs the
> > user to Settings->Privacy and Security->whatever (in your case, both
> > "Camera" and "Microphone"), and tells the user to return to try again
> when
> > that setting is changed.
>
> Here is a code-block with deep links that I use in an iOS app to do pretty
> much the same thing, except for push notifications instead of camera access
> after the user declines the initial acceptance pop-up. You’ll need to
> change the path to your specific app bundle and update the root from
> NOTIFICATIONS_ID to something else like CAMERA (not 100% certain):
>
> on mouseUp
>put "To enable Push Notification Settings go to your iOS device
> settings..." & RETURN & RETURN &"Settings -> Indiana On Tap ->
> Notifications" & RETURN & RETURN & "...then select Allow Notifications."
> into tMessage
>answer tMessage with "Good to know" and "Take me there!"
>put it into tReply
>if tReply = "Take me there!" then
>   launch url
> "App-Prefs:root=NOTIFICATIONS_ID=com.midwestcoastmedia.indianaontap"
> // iOS 10+
>   if the result is "no association" then
>  launch url
> "prefs:root=NOTIFCATIONS_ID=com.midwestcoastmedia.indianaontap" // iOS
> 9
>   end if // the result is "no association"
>end if // tReply = "Take me there!"
> end mouseUp
>
> —Andrew Bell
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Klaus major-k via use-livecode
Hi Panos,

> Am 28.02.2023 um 21:33 schrieb panagiotis m via use-livecode 
> :
> 
> Hello Klaus,
> 
> *sorry, I only have a Samsung Android phone.*
> *Tested there, but unfortunately that does not work on Android this way.*
> 
> On Android, if you go to Settings -> Apps -> Manage Apps  and then choose
> your app, you can see which permissions have been requested and which of
> them have been accepted / refused. And you can permit/revoke them at any
> time.
> 
> Hope this helps.

yes, very much! 
I had been looking at "Security etc." settings. 8-)

Thank you, will try this out later!

> Kind retards,
> Panos

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Andrew at MWCM via use-livecode
> 
> Date: Tue, 28 Feb 2023 10:14:37 -0500
> From: Mike Kerner 
> To: How to use LiveCode 
> Subject: Re: On mobile: mergAVRequestMediaAccess "video" and
>       androidRequestPermission "android.permission.CAMERA"
> Message-ID:
>   
> Content-Type: text/plain; charset="UTF-8"
> 
> this isn't an uncommon problem.
> what other apps on ios do is throw up a separate dialog that directs the
> user to Settings->Privacy and Security->whatever (in your case, both
> "Camera" and "Microphone"), and tells the user to return to try again when
> that setting is changed.

Here is a code-block with deep links that I use in an iOS app to do pretty much 
the same thing, except for push notifications instead of camera access after 
the user declines the initial acceptance pop-up. You’ll need to change the path 
to your specific app bundle and update the root from NOTIFICATIONS_ID to 
something else like CAMERA (not 100% certain):

on mouseUp
   put "To enable Push Notification Settings go to your iOS device settings..." 
& RETURN & RETURN &"Settings -> Indiana On Tap -> Notifications" & RETURN & 
RETURN & "...then select Allow Notifications." into tMessage
   answer tMessage with "Good to know" and "Take me there!"
   put it into tReply
   if tReply = "Take me there!" then
  launch url 
"App-Prefs:root=NOTIFICATIONS_ID=com.midwestcoastmedia.indianaontap" // 
iOS 10+
  if the result is "no association" then
 launch url 
"prefs:root=NOTIFCATIONS_ID=com.midwestcoastmedia.indianaontap" // iOS 9
  end if // the result is "no association"
   end if // tReply = "Take me there!"
end mouseUp

—Andrew Bell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread panagiotis m via use-livecode
Hello Klaus,

*sorry, I only have a Samsung Android phone.*
*Tested there, but unfortunately that does not work on Android this way.*

On Android, if you go to Settings -> Apps -> Manage Apps  and then choose
your app, you can see which permissions have been requested and which of
them have been accepted / refused. And you can permit/revoke them at any
time.

Hope this helps.

Kind retards,
Panos
--

On Tue, 28 Feb 2023 at 20:37, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> > Am 28.02.2023 um 19:05 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> >> So you mean the user can set these options AFTER my app does not show
> >> the dialog anymore and the app will work again as intended? Is that
> > correct?
> > Have a look at your phone. You can see that you can permit or revoke
> > permissions for any app, at any time.
>
> sorry, I only have a Samsung Android phone.
> Tested there, but unfortunately that does not work on Android this way.
>
> >> And with "direct the user..." that you mean show a longer ANSER dialog
> >> explaining the neccessary steps. Right?
> > Or something similar, yes. You could also throw up a fake dialog with a
> > short movie, or a sequence of photos that show the steps in sequence.
>
> Thank you for the hints, much appreciated!
>
> > On Tue, Feb 28, 2023 at 10:52 AM Klaus major-k via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >>
> >> Any opinions of this one anyone?
> >>> However on iOS the "Allow camera access" will only appear ONCE when the
> >>> app starts and then never again!? No matter how often I issue
> >>> -> mergAVRequestMediaAccess "video"
> >>> Is this a bug or a feature of MergAV?
> >> Or even iOS?
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Klaus major-k via use-livecode
Hi Mike,

> Am 28.02.2023 um 19:05 schrieb Mike Kerner via use-livecode 
> :
> 
>> So you mean the user can set these options AFTER my app does not show
>> the dialog anymore and the app will work again as intended? Is that
> correct?
> Have a look at your phone. You can see that you can permit or revoke
> permissions for any app, at any time.

sorry, I only have a Samsung Android phone.
Tested there, but unfortunately that does not work on Android this way.

>> And with "direct the user..." that you mean show a longer ANSER dialog
>> explaining the neccessary steps. Right?
> Or something similar, yes. You could also throw up a fake dialog with a
> short movie, or a sequence of photos that show the steps in sequence.

Thank you for the hints, much appreciated!

> On Tue, Feb 28, 2023 at 10:52 AM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>> 
>> Any opinions of this one anyone?
>>> However on iOS the "Allow camera access" will only appear ONCE when the
>>> app starts and then never again!? No matter how often I issue
>>> -> mergAVRequestMediaAccess "video"
>>> Is this a bug or a feature of MergAV?
>> Or even iOS?

Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Mike Kerner via use-livecode
>So you mean the user can set these options AFTER my app does not show
>the dialog anymore and the app will work again as intended? Is that
correct?
Have a look at your phone. You can see that you can permit or revoke
permissions for any app, at any time.

>And with "direct the user..." that you mean show a longer ANSER dialog
>explaining the neccessary steps. Right?
Or something similar, yes. You could also throw up a fake dialog with a
short movie, or a sequence of photos that show the steps in sequence.

On Tue, Feb 28, 2023 at 10:52 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Mike,
>
> > Am 28.02.2023 um 16:15 schrieb Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > BTW, the same issue exists on MacOS, and the solution is the same.
>
> ah, thanks will keep that in mind!
>
> Any opinions of this one anyone?
> > However on iOS the "Allow camera access" will only appear ONCE when the
> > app starts and then never again!? No matter how often I issue
> > -> mergAVRequestMediaAccess "video"
> > Is this a bug or a feature of MergAV?
> Or even iOS?
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Klaus major-k via use-livecode
Hi Mike,

> Am 28.02.2023 um 16:15 schrieb Mike Kerner via use-livecode 
> :
> 
> BTW, the same issue exists on MacOS, and the solution is the same.

ah, thanks will keep that in mind!

Any opinions of this one anyone?
> However on iOS the "Allow camera access" will only appear ONCE when the
> app starts and then never again!? No matter how often I issue
> -> mergAVRequestMediaAccess "video"
> Is this a bug or a feature of MergAV?
Or even iOS?

Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Klaus major-k via use-livecode
Hi Mike,

> Am 28.02.2023 um 16:14 schrieb Mike Kerner via use-livecode 
> :
> 
> this isn't an uncommon problem.

ah, I guessed thanks for the confirmation.

> what other apps on ios do is throw up a separate dialog that directs the
> user to Settings->Privacy and Security->whatever (in your case, both
> "Camera" and "Microphone"), and tells the user to return to try again when
> that setting is changed.

So you mean the user can set these options AFTER my app does not show 
the dialog anymore and the app will work again as intended? Is that correct?

And with "direct the user..." that you mean show a longer ANSER dialog 
explaining the neccessary steps. Right?

Sounds like a very clever idea, never thought (knew) about that, thanks a lot!
I'm still quite new to cellphones/tablets in general to be honest.

> On Tue, Feb 28, 2023 at 8:46 AM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi friends,
>> 
>> I have a mobile app which is meaningless if the user does not allow access
>> to the camera!
>> 
>> Basically it is a companion to a game with printed cards, and on these
>> cards are QR-codes.
>> The app (the user) will then scan the code, the app will play a sound of
>> an animal and the user
>> has to guess the name of the animal.
>> 
>> Here two questions:
>> 1. To "force" users to allow camera access I annoy them by issuing:
>> -> mergAVRequestMediaAccess "video"
>> resp.
>> -> androidRequestPermission "android.permission.CAMERA"
>> directly when the app starts and then I check if we have the permission
>> every time the user clicks on
>> "go to QR scan card" and issue the above dialog again until the user
>> finally allows or clicks
>> "Don't ask again" (Android) in that dialog. Then it is their own fault.
>> 
>> However on iOS the "Allow camera access" will only appear ONCE when the
>> app starts and then
>> never again!? No matter how often I issue -> mergAVRequestMediaAccess
>> "video"
>> Is this a bug or a feature of MergAV?
>> 
>> The OS will memorize the setting, so after a new start of the app, NO
>> "allow camera access"
>> dialog will ever show up again and that applies to iOS as well as to
>> Android.
>> 
>> So this leads me to question:
>> 2. Does anybody has a clever idea how to handle this situation?
>> Once the user clicks "Don't allow" for whatever reason and quits the app,
>> he/she will never see this
>> dialog again and needs to deinstall and install the app again to finally
>> allow camera access
>> 
>> This is of course a terrible user experience, but what option do we have
>> in that case?
>> Know what I mean?

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Mike Kerner via use-livecode
BTW, the same issue exists on MacOS, and the solution is the same.

On Tue, Feb 28, 2023 at 10:14 AM Mike Kerner 
wrote:

> this isn't an uncommon problem.
> what other apps on ios do is throw up a separate dialog that directs the
> user to Settings->Privacy and Security->whatever (in your case, both
> "Camera" and "Microphone"), and tells the user to return to try again when
> that setting is changed.
>
> On Tue, Feb 28, 2023 at 8:46 AM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Hi friends,
>>
>> I have a mobile app which is meaningless if the user does not allow
>> access to the camera!
>>
>> Basically it is a companion to a game with printed cards, and on these
>> cards are QR-codes.
>> The app (the user) will then scan the code, the app will play a sound of
>> an animal and the user
>> has to guess the name of the animal.
>>
>> Here two questions:
>> 1. To "force" users to allow camera access I annoy them by issuing:
>> -> mergAVRequestMediaAccess "video"
>> resp.
>> -> androidRequestPermission "android.permission.CAMERA"
>> directly when the app starts and then I check if we have the permission
>> every time the user clicks on
>> "go to QR scan card" and issue the above dialog again until the user
>> finally allows or clicks
>> "Don't ask again" (Android) in that dialog. Then it is their own fault.
>>
>> However on iOS the "Allow camera access" will only appear ONCE when the
>> app starts and then
>> never again!? No matter how often I issue -> mergAVRequestMediaAccess
>> "video"
>> Is this a bug or a feature of MergAV?
>>
>> The OS will memorize the setting, so after a new start of the app, NO
>> "allow camera access"
>> dialog will ever show up again and that applies to iOS as well as to
>> Android.
>>
>> So this leads me to question:
>> 2. Does anybody has a clever idea how to handle this situation?
>> Once the user clicks "Don't allow" for whatever reason and quits the app,
>> he/she will never see this
>> dialog again and needs to deinstall and install the app again to finally
>> allow camera access
>>
>> This is of course a terrible user experience, but what option do we have
>> in that case?
>> Know what I mean?
>>
>> Thanks for any useful hint! :-)
>>
>>
>> Best
>>
>> Klaus
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> kl...@major-k.de
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Mike Kerner via use-livecode
this isn't an uncommon problem.
what other apps on ios do is throw up a separate dialog that directs the
user to Settings->Privacy and Security->whatever (in your case, both
"Camera" and "Microphone"), and tells the user to return to try again when
that setting is changed.

On Tue, Feb 28, 2023 at 8:46 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi friends,
>
> I have a mobile app which is meaningless if the user does not allow access
> to the camera!
>
> Basically it is a companion to a game with printed cards, and on these
> cards are QR-codes.
> The app (the user) will then scan the code, the app will play a sound of
> an animal and the user
> has to guess the name of the animal.
>
> Here two questions:
> 1. To "force" users to allow camera access I annoy them by issuing:
> -> mergAVRequestMediaAccess "video"
> resp.
> -> androidRequestPermission "android.permission.CAMERA"
> directly when the app starts and then I check if we have the permission
> every time the user clicks on
> "go to QR scan card" and issue the above dialog again until the user
> finally allows or clicks
> "Don't ask again" (Android) in that dialog. Then it is their own fault.
>
> However on iOS the "Allow camera access" will only appear ONCE when the
> app starts and then
> never again!? No matter how often I issue -> mergAVRequestMediaAccess
> "video"
> Is this a bug or a feature of MergAV?
>
> The OS will memorize the setting, so after a new start of the app, NO
> "allow camera access"
> dialog will ever show up again and that applies to iOS as well as to
> Android.
>
> So this leads me to question:
> 2. Does anybody has a clever idea how to handle this situation?
> Once the user clicks "Don't allow" for whatever reason and quits the app,
> he/she will never see this
> dialog again and needs to deinstall and install the app again to finally
> allow camera access
>
> This is of course a terrible user experience, but what option do we have
> in that case?
> Know what I mean?
>
> Thanks for any useful hint! :-)
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-02-28 Thread Klaus major-k via use-livecode
Hi friends,

I have a mobile app which is meaningless if the user does not allow access to 
the camera!

Basically it is a companion to a game with printed cards, and on these cards 
are QR-codes.
The app (the user) will then scan the code, the app will play a sound of an 
animal and the user 
has to guess the name of the animal.

Here two questions:
1. To "force" users to allow camera access I annoy them by issuing:
-> mergAVRequestMediaAccess "video"
resp.
-> androidRequestPermission "android.permission.CAMERA"
directly when the app starts and then I check if we have the permission every 
time the user clicks on
"go to QR scan card" and issue the above dialog again until the user finally 
allows or clicks 
"Don't ask again" (Android) in that dialog. Then it is their own fault.

However on iOS the "Allow camera access" will only appear ONCE when the app 
starts and then 
never again!? No matter how often I issue -> mergAVRequestMediaAccess "video"
Is this a bug or a feature of MergAV?

The OS will memorize the setting, so after a new start of the app, NO "allow 
camera access"
dialog will ever show up again and that applies to iOS as well as to Android.

So this leads me to question:
2. Does anybody has a clever idea how to handle this situation?
Once the user clicks "Don't allow" for whatever reason and quits the app, 
he/she will never see this 
dialog again and needs to deinstall and install the app again to finally allow 
camera access

This is of course a terrible user experience, but what option do we have in 
that case?
Know what I mean?

Thanks for any useful hint! :-)


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode