Closed surdu closed 7 years ago
I'm trying to request permission for com.google.android.gms.permission.ACTIVITY_RECOGNITION but when I write this
com.google.android.gms.permission.ACTIVITY_RECOGNITION
permissions.requestPermission(com.google.android.gms.permission.ACTIVITY_RECOGNITION, "bla") .then(function() { // ... });
I get the error: Cannot read property ACTIVITY_RECOGNITION of undefined
Cannot read property ACTIVITY_RECOGNITION of undefined
I do not believe this permission is one you need to do at runtime. You only need to add it to the Manifest for compile time permission.
I'm trying to request permission for
com.google.android.gms.permission.ACTIVITY_RECOGNITION
but when I write thisI get the error:
Cannot read property ACTIVITY_RECOGNITION of undefined