Skip to main content

Installation

To integrate the Altibbi Flutter SDK into your project, add it to your pubspec.yaml dependencies.

Installation via Path

If you are developing locally or using a downloaded version of the SDK, add it to your pubspec.yaml like this:

dependencies:
flutter:
sdk: flutter
altibbi:
path: ../altibbi-flutter # Path to the SDK directory

Installation via Git

If the SDK is hosted on a private git repository:

dependencies:
altibbi:
git:
url: https://github.com/altibbi/altibbi-flutter.git
ref: main

Run Pub Get

After adding the dependency, run the following command in your terminal:

flutter pub get

Required Permissions

The SDK requires certain permissions depending on the features used (Video/VOIP/Media).

Android (AndroidManifest.xml)

<uses-permission android:name=\"android.permission.INTERNET\" />
<uses-permission android:name=\"android.permission.CAMERA\" />
<uses-permission android:name=\"android.permission.RECORD_AUDIO\" />
<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\" />

iOS (Info.plist)

<key>NSCameraUsageDescription</key>
<string>We need access to your camera for video consultations.</string>
<key>NSMicrophoneUsageDescription</key>
<string>We need access to your microphone for VOIP consultations.</string>