smartlinks_ad_push 2.0.2
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 usingsmartlinks_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
pushAppIdinSmartLinks.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.