#Permission Request Dialog (Media) on iOS

1 messages · Page 1 of 1 (latest)

nocturne crown
#

but not directly at the beginning when the app was started by a iOS user.
Unless you request, it won't request the permisison. Other than for network which is system permission.

#

It is only possible on iOS to ask 1 single time for that permission. if the user does not accept it, he must do that in the iOS system settings at my app. thats much more complicated.
This depends on the native platform. For some permissions iOS only prompts once and later on user needs to manually enable it from settings.

austere vine
#

Thanks for your quick reply! I have not requested the "Photo Library" permission myself. I don't want this to happen when the phone was started automatically. But the request is triggered automatically by your essential-kit.
Now i have tried a build where I have enabled the "Media" Service only - AND I have also disabled "Saves to Gallery" and disabled "Use Gallery".

But when starting my app, the "Photo Library" permission Dialog appears.

On Android, it is not automatically triggered.

nocturne crown
#

But the request is triggered automatically by your essential-kit.
This can't be possible. As we only request the permission from RequestGalleryAccess call alone.

You can do onething though.

  1. Add MediaServicesDemo scene as the first scene in the build settings
  2. Run the app

or

Keep a log in MediaServices.RequestGalleryAccess to confirm if its being triggered from anywhere.

#

On Android, it is not automatically triggered.
Thats why I'm confused. I can confirm we don't call automatically. So would request you to try above steps to find out whats causing it.

austere vine
#

ah, ok. ok. I will double check this later in about 10 hours. Sorry, if that might be a bug on my side. I will let you know. many thanks!!

nocturne crown
#

Thats ok. Its actually distracting to have on startup. I totally understand the concern.

#

Sure! Please keep me posted!

#

Btw, in V3, we removed RequestGalleryAccess method. Now on calling SelectMediaContent method, it pops permission if required.

austere vine
#

Oh sorry, it was a problem on my side. your script is working as expected: fine! Can you delete this thread, please