The Meta Wearables Device Access Toolkit enables developers to utilize Meta's AI glasses to build hands-free wearable experiences into their mobile applications. By integrating this SDK, developers can reliably connect to Meta's AI glasses and leverage capabilities like video streaming and photo capture.
The Wearables Device Access Toolkit is in developer preview. Developers can access our SDK and documentation, test on supported AI glasses, and create organizations and release channels to share with test users.
Find our full developer documentation on the Wearables Developer Center.
You can find an overview of the Wearables Developer Center here. Create an account to stay informed of all updates, report bugs and register your organization. Set up a project and release channel to share your integration with test users.
For help, discussion about best practices or to suggest feature ideas visit our discussions forum.
See the changelog for the latest updates.
The easiest way to add the SDK to your project is by using Swift Package Manager.
- In Xcode, select File > Add Package Dependencies...
- Search for
https://github.com/facebook/meta-wearables-dat-iosin the top right corner - Select
meta-wearables-dat-ios - Set the version to one of the available versions
- Click Add Package
- Select the target to which you want to add the packages
- Click Add Package
- By using the Wearables Device Access Toolkit, you agree to our Meta Wearables Developer Terms, including our Acceptable Use Policy.
- By enabling Meta integrations, including through this SDK, Meta may collect information about how users' Meta devices communicate with your app. Meta will use this information collected in accordance with our Privacy Policy.
- You may limit Meta's access to data from users' devices by following the instructions below.
To configure analytics settings in your Meta Wearables DAT iOS app, you can modify your app's Info.plist file using either of these two methods:
Method 1: Using Xcode (Recommended)
- In Xcode, select your app target in the Project navigator
- Go to the Info tab
- Navigate to Custom iOS Target Properties and find the
MWDATkey - Add a new key under
MWDATcalledAnalyticsof typeDictionary - Add a new key to the
Analyticsdictionary calledOptOutof typeBooleanand set the value toYES
Method 2: Direct XML editing
Add or modify the following in your Info.plist file.
<key>MWDAT</key>
<dict>
<key>Analytics</key>
<dict>
<key>OptOut</key>
<true/>
</dict>
</dict>Default behavior: If the OptOut key is missing or set to NO/<false/>, analytics are enabled
(i.e., you are not opting out). Set to YES/<true/> to disable data collection.
Note: In other words, this setting controls whether or not you're opting out of analytics:
YES/<true/>= Opt out (analytics disabled)NO/<false/>= Opt in (analytics enabled)
See the LICENSE file.