Xapk validation failed google play

I think it might need some restructuring to do checks if already granted and to deal with onRequestPermissionResult to resume; this looks a little messier of a fix.