Skip to main content

clikgate_flutter 2.1.3 copy "clikgate_flutter: ^2.1.3" to clipboard
clikgate_flutter: ^2.1.3 copied to clipboard

Clikgate SDK for Flutter: deep links that open the right screen (even after install), install attribution, goals, referrals, identity and Engage (referral links, leaderboards, share) for Android and iOS apps.

example/example.md

clikgate_flutter example #

import 'package:clikgate_flutter/clikgate_flutter.dart';

Future<void> main() async {
  await Clikgate.configure(sdkKey: 'cg_sdk_live_...', linkDomains: ['go.yourbrand.com']);

  Clikgate.onDeepLink.listen((link) {
    // Route to link.path with link.data.
  });

  // A goal: an outcome your business chose, with your own reference.
  final opened = await Clikgate.goal('account_opened',
      value: 2000000, currency: 'NGN', reference: 'APP-55231', isFirst: true);
  // opened.status: GoalStatus.counted

  // A Payment goal: the provider and the reference your checkout returned. It
  // waits until your payment provider or server confirms it, with the real amount.
  final paid = await Clikgate.goal('purchase',
      reference: 'T123456', provider: ClikgateProvider.paystack);
  // paid.status: GoalStatus.waiting (paid.reason: 'waiting_for_confirmation')
}

The full example app (deep links, referrals, consent, push and Engage screens) is in the clikgate-mobile-sdk repository.

0
likes
0
points
544
downloads

Publisher

verified publisherclikgate.com

Weekly Downloads

Clikgate SDK for Flutter: deep links that open the right screen (even after install), install attribution, goals, referrals, identity and Engage (referral links, leaderboards, share) for Android and iOS apps.

Homepage
Repository (GitHub)
View/report issues

Topics

#deep-linking #attribution #analytics #referral #marketing

License

unknown (license)

Dependencies

crypto, flutter, http, meta

More

Packages that depend on clikgate_flutter

Packages that implement clikgate_flutter