Skip to content

Changelog

1.0.0

Released 2026-11-11.

  • A translation layer over the PlingBuddy SDKs for Android (../android) and iOS (../ios), which hold the state, the sync with PlingBuddy, the hosted notification service, and the events. The plugin keeps no state, does no HTTP and runs no timers.
    • Each install is an installation on the service, with an id and a secret made on the device and kept in one state file that backups leave out; a copy that reaches another phone is noticed and never used.
    • APNs on iOS, FCM on Android.
    • Talks to the production service, https://app.plingbuddy.com/, unless the configuration names another baseUrl, such as PlingBuddy.stagingUrl. Plain http only for a local development backend.
  • API, with the names every PlingBuddy SDK uses:
    • initialize(Configuration(...), externalId:, recipientData:, deviceProperties:). The configuration has applicationId, baseUrl, showNotificationsInForeground, fetchLocaleAndTimezone and identityTokenProvider.
    • login, logout, setRecipientData, setNotificationPreference, setTags, removeTags, setDeviceProperties.
    • askForPermission(settingsPrompt:), permissionStatus(), pushToken().
    • deleteRecipient(), which erases the user's recipient on the service for a "delete my account", and answers DeletionOutcome.deleted, pending or refused.
    • Every call returns once its change is saved on the device, except deleteRecipient, which answers how its first attempt ended; the SDK sends it itself and sends again later when the service can't be reached.
  • Errors never throw: they go to FlutterError.onError as a PlingBuddyError with a code, silent when they pass by themselves. Other platforms report unsupported_platform.
  • iOS:
    • The SDK's pods ship the privacy manifests and the Notification Service Extension helper, PlingBuddyNotificationService in the PlingBuddyExtension pod.
    • CocoaPods only until the SDKs are published.