OnRequestPermissionResult is not called after granting permissions
arafi123 opened this issue · 0 comments
arafi123 commented
I have MainActivity
that extends UnityPlayerActivity
and implements various listeners for Temi. I already have OnRequestPermissionResult
for MainActivity
for Bluetooth permissions and also have following overriden method for handling the result of Temi permission. Somehow after requesting for Settings permission, the method is not called. What could be wrong ?
public void onRequestPermissionResult( Permission permission, int grantResult, int requestCode)
I have implemented following things:
- Import listener permission.
- Added
OnRequestPermissionResultListener
inMainActivity
- Add and remove the listener in
OnCreate()
andOnDestroy()
- Overriden method for handling the result.
Any help will be greatly appreciated.
Thanks