What problem does it solve?
Eliminates the confusion and setup friction of registering an iOS app with Meta AI and then correctly requesting device permissions (like camera) through the Meta AI companion app flow.
Core Features & Use Cases
- App Registration with Meta AI: Start registration, handle the URL-scheme callback, and observe registration state until the app becomes registered.
- Device Permission Requests: Check current permission status and request specific permissions such as camera, with user approval performed in Meta AI.
- Multi-device Availability Behavior: Support scenarios where permissions are granted on any linked glasses, and handle availability changes when devices disconnect.
- Developer Mode vs Production: Use Developer Mode for always-allowed registration (e.g., MetaAppID = 0) and enforce release-channel requirements for production.
Quick Start
Start registration from your app, handle the Meta AI callback via onOpenURL, wait for the registration state to become registered, and then request camera permission using the SDK permission request API.