flutter_inappwebview
flutter_inappwebview copied to clipboard
Disable geolocation for iOS
Hi,
We're using flutter_inappwebview in one of our apps and would like to ask if this plugin automatically accesses geolocation api on iOS?
I found a way to disable geolocation on android but there are no details about iOS.
👋 @whackykhan
NOTE: This comment is auto-generated.
Are you sure you have already searched for the same problem?
Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!
If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.
In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE]
or ios WKWebView [MY ERROR HERE]
keywords.
Following these steps can save you, me, and other people a lot of time, thanks!
Facing the same issue. I use the HeadlessInAppWebView and the user gets the location prompt in my IOS app. I need to deactivate this. Did you found a solution?
ITMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “Runner.app” bundle should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. For details, visit: https://developer.apple.com/documentation/uikit/protecting_the_user_s_privacy/requesting_access_to_protected_resources.
I don't use any location services in my app but currently I get this issue. the only place where the location permission is defined is inside in this library
so is it possible that this library causes the issue?
I have the same problem App Store is reporting me about the permission NSLocationWhenInUseUsageDescription but I´m not using it, there is a way to except that permission or lock it like android permissions?
@balaji101010 Did you fix it?