Skip to content

Wearables.checkPermissionStatus returns INTERNAL_ERROR after registering from Unavailable state #68

@bddckr

Description

@bddckr

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

  1. Observe RegistrationState.Unavailable from Wearables.registrationState
  2. Call Wearables.startRegistration() — state transitions to Registered
  3. Call Wearables.checkPermissionStatus(Permission.CAMERA)
  4. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions