I\'m having a weird issue that is causing a conflict. I had to switch to native Fragments to fix it, but there are bugs with that.
Fragments
My original problem:
You can use this part of code
requestPermissions(new String[]{Manifest.permission.GET_ACCOUNTS}, PERMISSION_REQUEST_CODE);