requestPermission

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

Request the given permission. successCallback is called with GRANTED if the permission had been granted, DENIED or NEVER_ASK_AGAIN otherwise. For devices before Android M, this checks if the user has the permission given or not and resolves with GRANTED or DENIED. See Activity.checkSelfPermission.