KjellConnelly / react-native-shared-group-preferences

127 stars 57 forks source link

Not able to detect app installation in higher android version #29

Closed shivkushwaha1511 closed 1 year ago

shivkushwaha1511 commented 1 year ago

I'm not able to detect app installation in higher android version only "Google Maps" is working, while all the other apps are detectable in lower android version.

Please help me to fix this error. Thank you

shivkushwaha1511 commented 1 year ago

For android version 10+, we have to explicitly add package name in android-manifest file


<manifest xmlns:android="....">
  <queries>
        <package android:name="com.whatsapp" />
        <package android:name="......" />
        ........
    </queries>
</manifest>