Installation
Installing the iOS SDK.
Swift Package Manager
The easiest (and recommended) way to use ClipShare is to integrate via SwiftPM. To integrate via SwiftPM, add the location of the github repository and the version to your Package.swift file, as shown below. Note that you also need to add dependencies from the core SnapOdds SDK for snapping functionality. Additionally ClipShare requires you to provide image loading and optionally prefetching capabilities and we recommend SDWebImage and provide code samples in the following sections:
Camera Permission
The snapping functionality relies on permission to access the camera of your iOS device to function. Access to the camera requires developers to provide a description of the camera's usage in the application. To add this camera usage description, add the key NSCameraUsageDescription into your application's Info.plist, and describe how the camera is used for the snapping functionality.
Last updated