Skip to main content

Deep Linking

Configure deep linking for the Azeoo SDK. These concepts apply to all platforms. The example below uses Flutter (Dart); for Android, iOS, and React Native, see your platform's Configuration (Android · iOS · Flutter · React Native).

Configuration

Pass deep link configuration at initialize in options (Flutter) or config (native):

// Flutter
await AzeooSDK.initialize(apiKey, options: AzeooSDKInitOptions(
deepLinks: DeepLinkConfig(
scheme: "yourapp",
host: "yourapp.com",
pathPrefix: "/sdk",
),
));

The SDK handles deep links automatically and navigates to the appropriate screens.

Platform Setup

iOS

Configure in Info.plist:

<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>yourapp</string>
</array>
</dict>
</array>

Android

Configure in AndroidManifest.xml:

<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="yourapp.com" />
</intent-filter>

Next Steps