gomarketme 2.0.1 copy "gomarketme: ^2.0.1" to clipboard
gomarketme: ^2.0.1 copied to clipboard

Affiliate Marketing for Flutter-Based iOS and Android Apps.

GoMarketMe

GoMarketMe #

[![License: MIT][license_badge]][license_link]

Installation 💻 #

❗ In order to start using GoMarketMe, you must install this SDK in your app.

Run this command:

flutter pub add gomarketme

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  gomarketme: ^2.0.0

Usage 🚀 #

Initialization #

To initialize GoMarketMe, import the gomarketme package and create a new instance of GoMarketMe:

import 'package:gomarketme/gomarketme.dart';

GoMarketMeAffiliateMarketingData? goMarketMe;

Future<void> main() async {

  goMarketMe = await GoMarketMe().initialize('API_KEY');
  // returns null if the user if not coming from an affiliate
  // returns the affiliate details and campaign information otherwise.

  runApp(const MyApp());
}

Make sure to replace API_KEY with your actual GoMarketMe API key. You can find it on the product onboarding page and under Profile > API Key.

3
likes
0
points
208
downloads

Publisher

verified publishergomarketme.co

Weekly Downloads

Affiliate Marketing for Flutter-Based iOS and Android Apps.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info_plus, flutter, http, in_app_purchase, shared_preferences

More

Packages that depend on gomarketme