Skip to content

facebook/meta-wearables-dat-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Meta Wearables Device Access Toolkit for iOS

Swift Package Docs

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.

Documentation & Community

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.

Including the SDK in your project

The easiest way to add the SDK to your project is by using Swift Package Manager.

  1. In Xcode, select File > Add Package Dependencies...
  2. Search for https://github.com/facebook/meta-wearables-dat-ios in the top right corner
  3. Select meta-wearables-dat-ios
  4. Set the version to one of the available versions
  5. Click Add Package
  6. Select the target to which you want to add the packages
  7. Click Add Package

Developer Terms

  • 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.

Opting out of data collection

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)

  1. In Xcode, select your app target in the Project navigator
  2. Go to the Info tab
  3. Navigate to Custom iOS Target Properties and find the MWDAT key
  4. Add a new key under MWDAT called Analytics of type Dictionary
  5. Add a new key to the Analytics dictionary called OptOut of type Boolean and set the value to YES

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)

License

See the LICENSE file.

About

Meta Wearables Device Access Toolkit for iOS

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published