Closed arabold closed 3 years ago
Ah amazing! Was trying to figure out something similar for a related library, but wasn't able to test it myself yet.
Feel free to open a PR to add this to the README if you have time. It might not be perfect yet, but it's better than not having anything at all.
Also, if you're going to do that, could I point out Github allows using the amazing <details>
HTML tag in Markdown?
<details><summary>My title here</summary>
A bunch of hidden... well, details.
</details>
Might be a good way to list the instructions for both iOS and Android, without making the README super long.
I've now added this to the README of the library, and have confirmed this works as expected.
Thanks again @arabold!
@tschoffelen an important point to mentioned at docs: https://stackoverflow.com/questions/62969917/how-to-fix-unexpected-element-queries-found-in-manifest-error
Good point, I've added some details:
Thanks!
I guess this cannot be used in managed Expo app then (no access to AndroidManifest)?
I don't think Expo has a way to deal with Android 11 Package Visibility yet as far as I can tell...
I am having this same problme, openInbox
does nothing, i added to the manisfer
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="mailto"/>
</intent>
</queries>
but nothing happen
@arcollector - I think you might be talking about another library?
@tschoffelen yep i am very sorry
I've added query statement to AndroidManifest but I still getting reject from Google Play Team.
We found that your app is not compliant with how [QUERY_ALL_PACKAGES permission] is allowed to be used.
React Native 0.68.2 react-native-map-link 2.9.3
It took me a while to figure this out, but when switching to Android 11/Android SDK 30 (i.e. using Expo SDK 41), this library doesn't work out of the box anymore. The reason is the new Package Visibilty security feature. We'll have to update our
AndroidManifest.xml
to explicitly allow querying for other apps.I'm posting my changes here as it might help others running into the same problem. It would also be great to get some feedback as I'm not able to test all these apps myself. Eventually, once we have confirmed this works as expected, this should probably go in the
react-native-map-link
documentation.So far I could verify the following apps:
google-maps
,citymapper
,uber
,lyft
,waze
,maps-me