UnityNativeShare icon indicating copy to clipboard operation
UnityNativeShare copied to clipboard

Apps not showing on android 11 with 1.4.9

Open friuns2 opened this issue 2 years ago • 5 comments

Hello when i'm trying to share image, i have popup no apps showing (only "copy to" button), on my older phone everything works fine all apps are showing, what can be the problem?

friuns2 avatar Jan 19 '23 21:01 friuns2

May I ask the model of the phone, whether or not you've modified the plugin's source code or used AndroidJavaClass to change native static variables?

yasirkula avatar Jan 20 '23 07:01 yasirkula

Xiaomi poco x3 pro, i unpacked unitypackage and removed queries from aar manifest, can it be the problem?

friuns2 avatar Jan 20 '23 08:01 friuns2

It might, yeah. Especially if the device is in landscape orientation.

yasirkula avatar Jan 20 '23 08:01 yasirkula

yes it was because of query, i added uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" and now its working

btw, thanks for all awesome plugins you making! They way better than paid ones and they free

friuns2 avatar Jan 20 '23 13:01 friuns2

You're welcome! Note that QUERY_ALL_PACKAGES permission might cause issues while submitting to Google Play for security reasons.

yasirkula avatar Jan 20 '23 13:01 yasirkula