Android Question Manifest read-only

MarcoRome

Expert
Licensed User
Longtime User
Hi all.
Strange thing happened.
While removing the manifest permission:
B4X:
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
and protecting the same read-only, when i compile and create the file AndroidManifest-Example.xml reports the same permission. The code is not changed anything (I fixed some ToastMessage). Until two days ago on the same app that did not happen.
Any idea?
 

NJDude

Expert
Licensed User
Longtime User
You should not set the manifest as READ ONLY, if you don't want that permission then remove it using the Manifest Editor (RemovePermission).

The option to set the manifest as read only has been left there for compatibility purposes, but it should not be used anymore, the proper way now is by using the Manifest editor.
 
Upvote 0
Top