smartlinks_ad_push 2.0.2 copy "smartlinks_ad_push: ^2.0.2" to clipboard
smartlinks_ad_push: ^2.0.2 copied to clipboard

Optional FCM push notification ads for the SmartLinks Flutter SDK.

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.