Android Question Permission in FireBase AdMob Manifest

abhishek007p

Active Member
Licensed User
Longtime User
Firebase Base Manifest adds a list of permissions, do i need to handle them at runtime ?

and in AddPermission(${applicationId}.permission.C2D_MESSAGE) do i need to replace my application id manually?

B4X:
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddPermission(android.permission.INTERNET)
AddPermission(android.permission.WAKE_LOCK)
AddPermission(com.google.android.c2dm.permission.RECEIVE)
AddPermission(${applicationId}.permission.C2D_MESSAGE)


Thanks for the help,
abhi
 

DonManfred

Expert
Licensed User
Longtime User
Firebase Base Manifest adds a list of permissions, do i need to handle them at runtime ?
If you use targetsdk 23 or higher then you need to request permission for all dangerous permissions. See runtimepermissiontutorial.
do i need to replace my application id manually?
No, it will be replaced at compiletime with a value from the json-file.
 
Upvote 0
Top