DEEPLINKX / app

CapCut

CapCut actions, setup, native platforms, and fallback options.

DeeplinkX 1.5.8 · Source

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.

ParameterTypeRequiredDefault
fallbackToStoreboolNofalse

Exact source

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.

ParameterTypeRequiredDefault
templateLinkUriYes—
fallbackToStoreboolNofalse

Exact source

Provider setup and examples

DeeplinkX supports opening CapCut and CapCut template links on Android, iOS, and Windows.

References

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);
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" />
  • Open app: capcut://
  • Template links: CapCut share/template URLs such as https://www.capcut.com/template-detail/...

Fallback Behavior

  1. DeeplinkX opens CapCut when installed.
  2. If CapCut is not installed and fallbackToStore is true, DeeplinkX redirects to Google Play, the iOS App Store, or the Microsoft Store.
  3. If store fallback is disabled or unavailable, DeeplinkX opens the CapCut web page or the provided template link.
  4. Disable all fallbacks with disableFallback: true.

Fallback Support Matrix

ActionStore FallbackWeb Fallback
Open appYesYes
Open template linkYesYes

Check If CapCut Is Installed

final deeplinkX = DeeplinkX();
final isInstalled = await deeplinkX.isAppInstalled(CapCut());