Android tablets and permissions

Hi guys,

My app doesn’t show in the Google Play when I’m using a tablet without SIM Card.

I found some stuff here in the forum, but none of it solved my problem.

My manifest shows:

    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

I believe the issue would be with the CALL_PHONE permission, which I don’t use in my app.

In Android Permissions API are shown that the CALL_PHONE permission is requestable by default.

So I guess I have to go the manifest and erase this line by hand and build the signed apk through Android Studio.

But is there any way to do this only using fuse, on the .unoproj?

I think the CALL_PHONE permission shouldn’t be requestable by default, it should be added in .unoproj if we want to use telephony on your app.

Thanks!

Ana

Hi Ana,

you are completely right that the CALL_PHONE permission is the culprit.

It is only added by default if you include Fuse.Launcher package directly in your .unoproj file. You may opt to include only those Launcher features that you actually need and use:

  • Fuse.Launcher.Email
  • Fuse.Launcher.InterApp
  • Fuse.Launcher.Maps
  • Fuse.Launcher.Phone (this one adds the CALL_PHONE permission)

If that doesn’t work out for some reason, you can do the following steps to build an APK with a modified manifest:

  • build the release app
  • delete the CALL_PHONE line manually from the manifest
  • run the build.sh/build.bat script found in the build folder

Hope this helps!

Hi Uldis,

Thanks for your answer, I was using Fuse.Launcher, but now I changed for what I really use. So it now the app shows in the store.

Thank you!!!