Skip to main content

Available Permissions

How Permissions Work

  1. Declare in Developer Console - Set required permissions for your app
  2. User approval - Users see and approve permissions when installing
  3. Automatic enforcement - Cloud blocks access to features without permission
  4. No code needed - Just declare permissions, SDK handles the rest

Setting Permissions

In the Developer Console:
  1. Open your app
  2. Go to “Permissions” section
  3. Click “Add Permission”
  4. Select permission type
  5. Add description (shown to users)
  6. Save
Example:

Permission Descriptions

Write clear descriptions explaining why you need each permission:

What Each Permission Unlocks

MICROPHONE

LOCATION

CAMERA

Camera features require the CAMERA permission. Camera capture, photo upload, and camera streaming are documented in the standalone Mentra Bluetooth SDK docs.

READ_NOTIFICATIONS

CALENDAR

Runtime Behavior

Permission granted:
  • Events work normally
  • Data streams to your app
  • No errors
Permission not declared:
  • SDK shows warning in console
  • Events don’t fire
  • No data received
Permission denied by user:
  • Same as not declared
  • User must approve in settings to enable

Best Practices

Only request what you need:
Be transparent:
  • Explain why you need each permission
  • Use permissions for stated purpose only
  • Don’t request permissions you don’t use
No code needed:
  • Don’t check permissions in code
  • Declare in Developer Console
  • Cloud handles enforcement automatically

Troubleshooting

Events not firing:
  1. Check permission is declared in Developer Console
  2. Verify user approved permission
  3. Look for SDK warnings in console logs
SDK warnings:
Solution: Add permission in Developer Console

Next Steps

Hardware & Capabilities

Check what hardware is available

Events & Data

Subscribe to event streams

Developer Console

Manage your app permissions

Event Types

See all event types