checkPermission

open override fun checkPermission(permission: String, promise: Promise)

Check if the app has the permission given. successCallback is called with true if the permission had been granted, false otherwise. See Activity.checkSelfPermission.