nami_flutter 3.2.2 nami_flutter: ^3.2.2 copied to clipboard
Easy subscriptions & in-app purchases for Flutter, with powerful built-in paywalls and A/B testing.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nami_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
nami_flutter: ^3.2.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:nami_flutter/billing/nami_purchase.dart';
import 'package:nami_flutter/billing/nami_purchase_manager.dart';
import 'package:nami_flutter/campaign/model/nami_paywall_component_change.dart';
import 'package:nami_flutter/campaign/model/nami_paywall_event_video_metadata.dart';
import 'package:nami_flutter/campaign/model/paywall_lauch_context.dart';
import 'package:nami_flutter/campaign/nami_campaign.dart';
import 'package:nami_flutter/campaign/nami_campaign_manager.dart';
import 'package:nami_flutter/campaign/nami_paywall_event.dart';
import 'package:nami_flutter/channel.dart';
import 'package:nami_flutter/customer/nami_customer_manager.dart';
import 'package:nami_flutter/entitlement/nami_entitlement.dart';
import 'package:nami_flutter/entitlement/nami_entitlement_manager.dart';
import 'package:nami_flutter/ml/nami_ml_manager.dart';
import 'package:nami_flutter/nami.dart';
import 'package:nami_flutter/nami_configuration.dart';
import 'package:nami_flutter/nami_log_level.dart';
import 'package:nami_flutter/paywall/nami_paywall.dart';
import 'package:nami_flutter/paywall/nami_paywall_manager.dart';
import 'package:nami_flutter/paywall/nami_purchase_success.dart';
import 'package:nami_flutter/paywall/nami_sku.dart';