How to edit Manifest such that tablet without a phone will be listed as'"supported"

Rick Harris

Well-Known Member
Licensed User
I have made an App that is intended for both smartphones and tablets (without a phone). I want the App to be listed in the Google Play store to be compatible on all devices (with or without Phone).

To achieve this, I did the following:

1. Removed the following two lines from the from the Manifest XML file:
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.SEND_SMS" />

2. Made the Manifest XML file Read Only.

3. Created the App in "Release obfuscated mode".

Is this the correct way?
 
Last edited:

Erel

Administrator
Staff member
Licensed User
1. You do not need to set the manifest file to be read only.
2. Your application will not be able to send SMS or read the device ID without these permissions (I guess that you need these features as you added related objects).

3. You can add the following line to the manifest editor:
B4X:
AddManifestText(<uses-feature android:name="android.hardware.telephony" android:required="false"/>)
 
Upvote 0

Rick Harris

Well-Known Member
Licensed User
Great! However, again licensing problems

Hi Erel
Thank you very much!

I am having problems (again) with the licensing library. It worked yesterday (I got an "allow"), but today I keep getting a "NOT_MARKET_MANAGED" error again (after uploading an upgrade). Everything is as it was yesterday:
- the APP is in the Google Play Store, active and published,
- My publickey is in the Process Globals and is still correct,
- Your licensing code (including events) is present in my source code
- The Application version and Package Name correspond with the version in Google Play
- My Google gmail account is (still) active.

So what can be wrong?
 
Upvote 0
Top