Summary
After successfully registering via Wearables.startRegistration() (from the Unavailable state — see #67), calling Wearables.checkPermissionStatus(Permission.CAMERA) fails with PermissionError.INTERNAL_ERROR and the description "An unexpected internal error occurred".
Steps to reproduce
- Observe
RegistrationState.Unavailable from Wearables.registrationState
- Call
Wearables.startRegistration() — state transitions to Registered
- Call
Wearables.checkPermissionStatus(Permission.CAMERA)
- Result: failure with
PermissionError.INTERNAL_ERROR
Expected behavior
checkPermissionStatus should return the current permission status (e.g., Denied or Granted) so we can prompt the user.
Actual behavior
The check fails with an internal error, blocking the entire camera permission flow.
Related
Environment
- MWDAT version:
0.5.0 (mwdat-core)