Installation
ContactsManager offers two installation approaches. For production applications, we strongly recommend the Full Installation approach with server-side token generation.1. Fast Installation (Client Only)
- Swift
- React Native
- Objective-C
- Kotlin
2. Full Installation (Recommended)
This is the secure, production-ready approach that sets up your server first to manage user creation and token generation.Step A: Server Setup
Set up your backend to create users and generate authentication tokens for the ContactsManager SDK.- Python
- Node.js
Installation
Create User (First Time Setup)
Generate Token (Subsequent Logins)
Step B: Client Setup
Install and initialize the ContactsManager SDK in your client application using the token from your server.- Swift
- React Native
- Objective-C
- Kotlin
Swift Package Manager
Add the ContactsManager package to your Swift project by adding it as a dependency in yourPackage.swift file:- Go to File > Swift Packages > Add Package Dependency
- Enter the repository URL:
https://github.com/arpwal/contactsmanager-ios.git - Specify a minimum version of
<latest-version>from the repository - Click Next and complete the integration
SDK Initialization (Recommended)
This is the recommended approach: The token should be generated by your server using the steps above. The SDK will automatically fetch user information from the server using the token, ensuring data consistency and security.
Next Steps
Accessing the API
Learn how to access and use the ContactsManager SDK API
Contacts Authorization
Request and manage access to device contacts
Search UI
Build powerful contact search interfaces
Recommendations
Implement intelligent contact recommendations