cordova-plugin-app-launcher icon indicating copy to clipboard operation
cordova-plugin-app-launcher copied to clipboard

AppLauncher doesn't work with Android 11+

Open moaatazaamer opened this issue 2 years ago • 3 comments

As per android documentation, package visibility privacy has been changed, and now package must be specified in order to be accessible/visible for other apps on the same device.

[I found some solutions ] (https://developer.android.com/training/package-visibility/declaring)

by adding package name into queries element in the AndroidMainfest file, but it doesn't seem to be working.

moaatazaamer avatar May 31 '22 05:05 moaatazaamer

I solved this issue by adding the following to my config.xml file, under widget/platform name=android/:

<config-file mode="merge" parent="/manifest/queries" target="app/src/main/AndroidManifest.xml" xmlns:android="http://schemas.android.com/apk/res/android">
    <package android:name="foo.bar.app" />
</config-file>

latere-a-latere avatar Sep 15 '22 13:09 latere-a-latere

So there is no fix for this without manually adding the app package name to AndroidMainfest.xml? :-(

ragcsalo avatar Jul 15 '23 10:07 ragcsalo

no known way to fix it other than adding the package name into the mainfest.xml

moaatazaamer avatar Jul 16 '23 15:07 moaatazaamer