abhishek007p Active Member Licensed User Longtime User Feb 6, 2018 #1 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
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 Feb 6, 2018 #2 abhishek007p said: Firebase Base Manifest adds a list of permissions, do i need to handle them at runtime ? Click to expand... If you use targetsdk 23 or higher then you need to request permission for all dangerous permissions. See runtimepermissiontutorial. abhishek007p said: do i need to replace my application id manually? Click to expand... No, it will be replaced at compiletime with a value from the json-file. Upvote 0
abhishek007p said: Firebase Base Manifest adds a list of permissions, do i need to handle them at runtime ? Click to expand... If you use targetsdk 23 or higher then you need to request permission for all dangerous permissions. See runtimepermissiontutorial. abhishek007p said: do i need to replace my application id manually? Click to expand... No, it will be replaced at compiletime with a value from the json-file.
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2018 #3 None of these permissions is a dangerous permission. Upvote 0