Getting this error - "This app is not allowed to query for scheme comgooglemaps.Even though i have added "comgooglemaps" in LSApplicationQuery.
Even i have also added "googlechromes" and google map is also installed on iPhone. Still i am getting this error everytime. Please help me with it.
Complete Error -
-canOpenURL: failed for URL: "comgooglemaps://" - error: "This app is not allowed to query for scheme comgooglemaps" 2018-08-24 12:31:58.882862+0530 BrotherToBrother[934:253238] Can't use comgooglemaps://
You need add comgooglemaps in your plist of project info
The regular adding scheme to info.plist doesn't work I don't know why. But finally I found a way by using info.plist source code
1- Right click on info.plist
2- Open source code
3- Copy the following code:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>comgooglemaps</string>
</array>
After changing a way it works for me. hopefully answer be useful for you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With