pushlio_flutter 0.1.2
pushlio_flutter: ^0.1.2 copied to clipboard
Pushlio push notification SDK — device registration, rich notifications, delivered/opened receipts, deep links, feature flags and in-app messages.
Changelog #
0.1.2 #
Pushlio.onForegroundMessage(handler)— intercept pushes while the app is in the foreground; returnfalseto suppress the notification and show your own UI (custom dialog etc.). Delivered receipts still flow.Pushlio.reportOpened(n)— count an "opened" when the user acts on your custom foreground UI.init(iosForegroundPresentation:)— set tofalseto stop the system from showing foreground alerts on iOS (pair with the handler above).
0.1.1 #
Compatibility release driven by real-world integration feedback.
- Widened dependency ranges so the SDK installs next to existing
Firebase/OneSignal setups:
firebase_core >=3.6 <5,firebase_messaging >=15.1 <17,flutter_local_notifications >=19 <23, and friends. (0.1.0 pinned the newest majors and broke resolution in older host apps.) init(onBackgroundMessage:)— firebase_messaging allows a single background handler; Pushlio now forwards every non-Pushlio message to your own top-level handler, so both systems coexist.init(androidSmallIcon:)— dedicated status-bar icon resource (launcher icons render as a flat square when tinted).init(androidChannelId/Name/Importance:)— channel is configurable (Android creates channels once; pick importance up front).init(enableLogs:)+Pushlio.deviceIdgetter for support matching.- Tests: foreign (non-
ph) messages are proven side-effect-free. - Server-side: device country now comes from the request IP (GeoIP at the ingest edge), not the device locale — no SDK change required.
0.1.0 #
Initial release.
- Push notifications: automatic device registration, rich notifications (big image + up to 3 action buttons), deep links with cold-start delivery, delivered/opened receipts with an offline-safe idempotent queue
- Identify & segment: external user id, tags, custom events, opt-out
- Feature flags & remote config with persistent cache
- In-app messages: fetch + seen-once marking