pushPermissionResponseAndroid method

void pushPermissionResponseAndroid(
  1. bool isGranted
)

Notify the SDK on notification permission granted state to the application true if granted, else false Note: This API is only for Android Platform. isGranted - Push Permission Granted Flag

Implementation

void pushPermissionResponseAndroid(bool isGranted) {
  _platform.permissionResponse(isGranted, PermissionType.PUSH);
}