Multiple permission prompts on iOS

0 favourites
  • 2 posts
From the Asset Store
Shark.io
$49 USD
Shark.io in the sea full of killer sharks, Sunday of life is the game. Who knows what is happening under the sea?
  • Hi, I'm developing an Android/iOS game that requires microphone permission.

    Basically on iOS it shows two prompts on the first launch and shows always one prompt on subsequent sessions ignoring the user permission decisions given on previous sessions.

    From a user experience point of view it's very annoying to give mic permission every single time the game is launched.

    Is anyone experiencing this?And can anyone point me to a possible solution?

    Thanks

    On Android all works well:

    -I request the mic permission

    -The prompt shows up

    -The user gives permission

    -I play the game and I close it

    -The next time I launch the game the permission doesn't show up because the user already accepted it on a previous session.

    On the other hand, on iOS(Cordova):

    -I request the mic permission

    -On the first launch it shows one prompt

    -The user gives permission

    -It show a second prompt

    -The user gives permission again

    -I play the game and I close it

    -The next time and every subsequent session I play the game it shows a prompt again but just one time.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm having the same issue and am very interested in finding a solution.

    Here's a post describing the issue and a solution:

    https://github.com/react-native-webview/react-native-webview/issues/2256

    At the 13:18 mark in this Apple developer video, they talk about a new way to get handle permissions in WKWebView:

    https://developer.apple.com/videos/play/wwdc2021/10032/

    I'm not sure if this new capability is available in Cordova, or if perhaps C3 is not yet using the version of Cordova in which it is available?

    Ashley, is there any chance this problem can get a bit of your attention?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)