Platforms and setup
Native platforms: ios, android, windows.
Public actions
CapCut.open
factory CapCut.open({final bool fallbackToStore = false})
Launch with DeeplinkX.launchApp. Native platforms: ios, android, windows. Action web fallback: available. Store-fallback flag: supported; opt in explicitly.
| Parameter | Type | Required | Default |
|---|---|---|---|
fallbackToStore | bool | No | false |
CapCut.openTemplate
static CapCutOpenTemplateAction openTemplate({ required final Uri templateLink, final bool fallbackToStore = false, })
Launch with DeeplinkX.launchAction. Native platforms: ios, android, windows. Action web fallback: available. Store-fallback flag: supported; opt in explicitly.
| Parameter | Type | Required | Default |
|---|---|---|---|
templateLink | Uri | Yes | — |
fallbackToStore | bool | No | false |
Provider setup and examples
DeeplinkX supports opening CapCut and CapCut template links on Android, iOS, and Windows.
References
- CapCut template jump support: https://www.capcut.com/help/template-jump-exception
Available Actions
Launch CapCut
final deeplinkX = DeeplinkX();
await deeplinkX.launchApp(CapCut.open());
await deeplinkX.launchApp(CapCut.open(fallbackToStore: true));
await deeplinkX.launchApp(CapCut.open(), disableFallback: true);
Open a Template Link
await deeplinkX.launchAction(
CapCut.openTemplate(
templateLink: Uri.parse('https://www.capcut.com/template-detail/example/1'),
fallbackToStore: true,
),
);
Platform Configuration
iOS
Add the CapCut scheme to ios/Runner/Info.plist:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>capcut</string>
</array>
Android
Add the CapCut package to <queries> in android/app/src/main/AndroidManifest.xml:
<package android:name="com.lemon.lvoverseas" />
Link Formats
- Open app:
capcut:// - Template links: CapCut share/template URLs such as
https://www.capcut.com/template-detail/...
Fallback Behavior
- DeeplinkX opens CapCut when installed.
- If CapCut is not installed and
fallbackToStoreistrue, DeeplinkX redirects to Google Play, the iOS App Store, or the Microsoft Store. - If store fallback is disabled or unavailable, DeeplinkX opens the CapCut web page or the provided template link.
- Disable all fallbacks with
disableFallback: true.
Fallback Support Matrix
| Action | Store Fallback | Web Fallback |
|---|---|---|
| Open app | Yes | Yes |
| Open template link | Yes | Yes |
Check If CapCut Is Installed
final deeplinkX = DeeplinkX();
final isInstalled = await deeplinkX.isAppInstalled(CapCut());