Android Question Using "neverforlocation" permission flag

Brian Dean

Well-Known Member
Licensed User
Longtime User
How do I enter the equivalent of this text in the manifest editor . . .
B4X:
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"
                     android:usesPermissionFlags="neverForLocation" />
 

drgottjr

Expert
Licensed User
Longtime User
i did this:
remove: AddPermission(android.permission.BLUETOOTH_SCAN)

add:
AddManifestText(
<uses-permission
android:name="android.permission.BLUETOOTH_SCAN"
android:usesPermissionFlags="neverForLocation" />
)

addition was "accepted", project built without error, final manifest (which includes additions from manifest editor) looked kosher...
 
Upvote 0
Top