private void hasPermission(CallbackContext callbackContext) {
        successBoolean(callbackContext, NotificationManagerCompat.from(getContext()).areNotificationsEnabled());
    }
Ask if user has enabled permission to post notifications.
src/android/LocalNotification.java