Added new message templates - RegisterForPush, PushPrePermission. First one is an action requesting the POST_NOTIFICATIONS permission, the second one is for a dialog with details why the permission is required.
Added permission to post notifications in leanplum-push module's manifest.
PushPrePermission is implemented similarly to LPPushAskToAskMessageTemplate in iOS, which is the reason to extend AbstractPopupController with functionality to hide the Dismiss button and to add a new Cancel button next to the Accept button.
webViewSettings.setAppCacheEnabled is deprecated and replaced by webViewSettings.setCacheMode
When requesting the POST_NOTIFICATIONS permission the developer could override onRequestPermissionsResult in his activity and gain access to the feedback whether the permission was granted by the user or not. Also the request code could be changed in PushPermissionUtil.pushPermissionRequestCode.
Check the internal documentation for a specification and resources on the feature.
RegisterForPush
,PushPrePermission
. First one is an action requesting thePOST_NOTIFICATIONS
permission, the second one is for a dialog with details why the permission is required.leanplum-push
module's manifest.PushPrePermission
is implemented similarly toLPPushAskToAskMessageTemplate
in iOS, which is the reason to extendAbstractPopupController
with functionality to hide theDismiss
button and to add a newCancel
button next to theAccept
button.webViewSettings.setAppCacheEnabled
is deprecated and replaced bywebViewSettings.setCacheMode
POST_NOTIFICATIONS
permission the developer could overrideonRequestPermissionsResult
in his activity and gain access to the feedback whether the permission was granted by the user or not. Also the request code could be changed inPushPermissionUtil.pushPermissionRequestCode
.Check the internal documentation for a specification and resources on the feature.