Quick Start Guide¶
Welcome to the Setup guide for integrating Acrobits SDK into your application. Follow the steps below to get started with seamless VoIP integration.
Step 1: Register on the Licensing Portal¶
Before proceeding with the setup, make sure you have registered on the Acrobits Licensing Portal. This portal provides access to the necessary resources, including licenses and credentials required for using Acrobits libSoftphone.
If you haven’t registered yet, visit our Licensing Portal website and complete the registration process. Once registered, you’ll gain access to the tools and documentation needed for integrating libSoftphone into your application.
Step 2: Add Dependency¶
To begin the setup process, open your project in Android Studio and locate the build.gradle file for your app module. Inside the file, add the following lines to the repositories block:
1maven {
2 url "https://maven.acrobits.net/repository/maven-releases/"
3 credentials {
4 username [replace with your app id]
5 password [replace with your license key]
6 }
7}
By adding this repository, you ensure that your project can fetch the necessary dependencies from the Acrobits repository.
Now that you’ve added the repository, you can include the libSoftphone dependency in your project. Open the build.gradle file for your app module, and within the dependencies block, add the following line:
1dependencies {
2 implementation 'cz.acrobits:libsoftphone:[replace with the current version]'
3}
For list of available versions please visit the Releases overview.
Open Your Xcode Project.
In Xcode, go to the menu bar, click on “File”, then “Swift Packages”, and finally “Add Package Dependency…”.
Add the libSoftphone SaaS Swift Package; In the dialogue box that appears, input the URL of the libSoftphone SaaS Swift package: https://github.com:acrobits/SoftphoneSwiftPackage-saas.git and then click on the “Next” button. Follow the on-screen prompts to complete the process. By adding the libSoftphone SaaS Swift package as a dependency, Xcode will automatically integrate the libSoftphone library into your project.
Step 3: Setup push notifications¶
To enable push functionality, you need to configure push notifications for your application. The process differs depending on the platform you’re developing for.
Step 4: Build and Verify¶
Finally, try and build your project. If you’ve followed the steps above, the build should succeed and you should be able to run your application on a device or emulator.
Once the setup is complete, you can proceed with integrating and configuring the Acrobits libSoftphone SDK in your application, unlocking a world of VoIP capabilities.
If you encounter any issues or have further questions, refer to our comprehensive documentation or reach out to our support team for assistance.
Happy integrating!