smartlinks_ad_push

FCM push notification ads for the SmartLinks Flutter SDK.

Enable via SmartLinks.initialize(enablePushAds: true) when using smartlinks_flutter. Full docs: repository README.

Requirements

  • Firebase initialized in your host app before SmartLinks.initialize()
  • FCM configured (Android google-services.json, iOS push capabilities)
  • Optional pushAppId in SmartLinks.initialize()

Enable

await Firebase.initializeApp();

await SmartLinks.initialize(
  apiKey: 'YOUR_KEY',
  enablePushAds: true,
  pushAppId: 123,
);

See SmartLinksPushHandler in this package for advanced configuration.

License

MIT — see LICENSE.

Libraries