GeekyAnts / external_app_launcher

BSD 3-Clause "New" or "Revised" License
14 stars 31 forks source link

Always redirecting to Google Play Store #3

Closed steve-pires closed 2 years ago

steve-pires commented 2 years ago

Plugin is always opening Google Play Store even if the app is installed on the phone (Play Store page is the correct app with "Open" button, not "Install").

Debug console prints out: I/flutter (11386): Redirecting to Google Play Store as the app is not present on the device

Tested on a OnePlus 8T under Android 11 / Oxygen OS 11.0.11.11

RoySis commented 2 years ago

add the following line inside the <manifest> tag in the AndroidManifest.xml file:

    <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />

it worked for me :-)

steve-pires commented 2 years ago

Worked like a charm thanks ! (and sorry I'm a newbie on Flutter / mobile dev)