fuelmetrix_miniapp 0.0.15 copy "fuelmetrix_miniapp: ^0.0.15" to clipboard
fuelmetrix_miniapp: ^0.0.15 copied to clipboard

Embeds the fuelmetrix native mini app inside a host Flutter app via a PlatformView.

fuelmetrix_miniapp #

Usage #

import 'package:fuelmetrix_miniapp/fuelmetrix_miniapp.dart';

Navigator.of(context).push(
  MaterialPageRoute(
    builder: (context) => FuelmetrixMiniApp(
      phone: currentUserPhone,       // your logged-in user's phone number
      clientId: yourVendorClientId,  // issued to you by fuelmetrix
      clientSecret: yourVendorClientSecret,
      merchantCustomerId: yourCustomerId, // optional — your own id for this user in your loyalty program
    ),
  ),
);

merchantCustomerId is optional. If you have your own identifier for this user in your loyalty program, pass it — the mini app uses it to redeem loyalty points against the right merchant-side customer record. Omit it if you don't have one.

0
likes
120
points
441
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Embeds the fuelmetrix native mini app inside a host Flutter app via a PlatformView.

License

unknown (license)

Dependencies

flutter, mobile_scanner

More

Packages that depend on fuelmetrix_miniapp

Packages that implement fuelmetrix_miniapp