firebase_messaging_platform_interface

v4.7.9

A common platform interface for the firebase_messaging plugin.

Package archive: https://pubdev.letsnova.ru/api/archives/firebase_messaging_platform_interface/4.7.9.tar.gz

Installdart pub add firebase_messaging_platform_interface

Readme

firebase_messaging_platform_interface

A common platform interface for the firebase_messaging plugin.

This interface allows platform-specific implementations of the firebase_messaging plugin, as well as the plugin itself, to ensure they are supporting the same interface.

Usage

To implement a new platform-specific implementation of firebase_messaging, extend FirebaseMessagingPlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default FirebaseMessagingPlatform by calling FirebaseMessagingPlatform.instance = MyMessaging().

Note on breaking changes

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.

Changelog

4.7.9

  • Update a dependency to the latest release.

4.7.8

  • Update a dependency to the latest release.

4.7.7

  • Update a dependency to the latest release.

4.7.6

  • Update a dependency to the latest release.

4.7.5

  • Update a dependency to the latest release.

4.7.4

  • Update a dependency to the latest release.

4.7.3

  • FIX(firebase_messaging): update APNS token error message for clarity (#17763). (08a04332)

4.7.2

  • Update a dependency to the latest release.

4.7.1

  • Update a dependency to the latest release.

4.7.0

4.6.10

  • Update a dependency to the latest release.

4.6.9

  • Update a dependency to the latest release.

4.6.8

  • Update a dependency to the latest release.

4.6.7

  • Update a dependency to the latest release.

4.6.6

  • Update a dependency to the latest release.

4.6.5

  • Update a dependency to the latest release.

4.6.4

  • Update a dependency to the latest release.

4.6.3

  • Update a dependency to the latest release.

4.6.2

  • Update a dependency to the latest release.

4.6.1

  • Update a dependency to the latest release.

4.6.0

  • FEAT(messaging,apple): allow system to display button for in-app notification settings (#13484). (b36f924e)

4.5.49

  • Update a dependency to the latest release.

4.5.48

  • Update a dependency to the latest release.

4.5.47

  • Update a dependency to the latest release.

4.5.46

  • Update a dependency to the latest release.

4.5.45

  • Update a dependency to the latest release.

4.5.44

  • Update a dependency to the latest release.

4.5.43

  • Update a dependency to the latest release.

4.5.42

  • DOCS(messaging,android): update inline documentation on behavior (#12948). (8d7e2217)

4.5.41

  • Update a dependency to the latest release.

4.5.40

  • Update a dependency to the latest release.

4.5.39

  • Update a dependency to the latest release.

4.5.38

  • Update a dependency to the latest release.

4.5.37

  • Update a dependency to the latest release.

4.5.36

  • Update a dependency to the latest release.

4.5.35

  • Update a dependency to the latest release.

4.5.34

  • Update a dependency to the latest release.

4.5.33

  • Update a dependency to the latest release.

4.5.32

  • Update a dependency to the latest release.

4.5.31

  • Update a dependency to the latest release.

4.5.30

  • Update a dependency to the latest release.

4.5.29

  • Update a dependency to the latest release.

4.5.28

  • Update a dependency to the latest release.

4.5.27

  • Update a dependency to the latest release.

4.5.26

  • Update a dependency to the latest release.

4.5.25

  • Update a dependency to the latest release.

4.5.24

  • Update a dependency to the latest release.

4.5.23

  • Update a dependency to the latest release.

4.5.22

  • Update a dependency to the latest release.

4.5.21

  • Update a dependency to the latest release.

4.5.20

  • Update a dependency to the latest release.

4.5.19

  • Update a dependency to the latest release.

4.5.18

  • FIX(messaging): expose the missing WebNotification object (#11991). (9f4529e3)

4.5.17

  • Update a dependency to the latest release.

4.5.16

  • Update a dependency to the latest release.

4.5.15

  • Update a dependency to the latest release.

4.5.14

  • Update a dependency to the latest release.

4.5.13

  • Update a dependency to the latest release.

4.5.12

  • Update a dependency to the latest release.

4.5.11

  • Update a dependency to the latest release.

4.5.10

  • Update a dependency to the latest release.

4.5.9

  • Update a dependency to the latest release.

4.5.8

  • Update a dependency to the latest release.

4.5.7

  • Update a dependency to the latest release.

4.5.6

  • FIX(messaging): Throw exception if APNS token is not yet available (#11400). (346d6022)

4.5.5

  • FIX(messaging): Method channel handlers were not created if FirebaseMessaging.instance.* is not invoked beforehand (#11447). (a3a07768)

4.5.4

  • Update a dependency to the latest release.

4.5.3

  • Update a dependency to the latest release.

4.5.2

  • Update a dependency to the latest release.

4.5.1

  • Update a dependency to the latest release.

4.5.0

  • FEAT: update dependency constraints to sdk: '>=2.18.0 <4.0.0' flutter: '>=3.3.0' (#10946). (2772d10f)
  • FEAT: update libraries to be compatible with Flutter 3.10.0 (#10944). (e1f5a5ea)

4.4.0

  • FEAT: upgrade to dart 3 compatible dependencies (#10890). (4bd7e59b)

4.3.1

  • Update a dependency to the latest release.

4.3.0

4.2.16

  • Update a dependency to the latest release.

4.2.15

  • Update a dependency to the latest release.

4.2.14

  • Update a dependency to the latest release.

4.2.13

  • Update a dependency to the latest release.

4.2.12

  • Update a dependency to the latest release.

4.2.11

  • Update a dependency to the latest release.

4.2.10

  • Update a dependency to the latest release.

4.2.9

  • Update a dependency to the latest release.

4.2.8

  • Update a dependency to the latest release.

4.2.7

  • Update a dependency to the latest release.

4.2.6

  • Update a dependency to the latest release.

4.2.5

  • Update a dependency to the latest release.

4.2.4

  • REFACTOR: add verify to QueryPlatform and change internal verifyToken API to verify (#9711). (c99a842f)

4.2.3

  • Update a dependency to the latest release.

4.2.2

  • Update a dependency to the latest release.

4.2.1

  • Update a dependency to the latest release.

4.2.0

  • FEAT: add support for exporting delivery metrics to BigQuery (#9636). (170b99b9)

4.1.6

  • Update a dependency to the latest release.

4.1.5

  • Update a dependency to the latest release.

4.1.4

  • Update a dependency to the latest release.

4.1.3

  • Update a dependency to the latest release.

4.1.2

  • Update a dependency to the latest release.

4.1.1

  • Update a dependency to the latest release.

4.1.0

  • FEAT: Added 'criticalAlert' to notification settings. (#9004). (4c425f27)

4.0.0

Note: This release has breaking changes.

  • BREAKING FEAT: upgrade messaging web to Firebase v9 JS SDK. (#8860). (f3a6bdc5)
  • BREAKING: isSupported() API is now asynchronous and returns Future<bool>. It is web only and will always resolve to true on other platforms.

3.5.4

  • FIX: bump firebase_core_platform_interface version to fix previous release. (bea70ea5)

3.5.3

  • Update a dependency to the latest release.

3.5.2

  • REFACTOR: use "firebase" instead of "FirebaseExtended" as organisation in all links for this repository (#8791). (d90b8357)

3.5.1

  • Update a dependency to the latest release.

3.5.0

  • FEAT: retrieve timeSensitiveSetting for iOS 15+. (#8532). (14b38da3)

3.4.0

  • FEAT: retrieve timeSensitiveSetting for iOS 15+. (#8532). (14b38da3)

3.3.1

  • FIX: prevent isolate callback removal during split debug symbols (#8521). (45ca7aeb)

3.3.0

  • FEAT: add toMap() method to RemoteMessage and its properties (#8453). (047cccda)

3.2.3

  • Update a dependency to the latest release.

3.2.2

  • Update a dependency to the latest release.

3.2.1

  • FIX: update all Dart SDK version constraints to Dart >= 2.16.0 (#8184). (df4a5bab)

3.2.0

  • FEAT: refactor error handling to preserve stack traces on platform exceptions (#8156). (6ac77d99)

3.1.6

  • Update a dependency to the latest release.

3.1.5

  • Update a dependency to the latest release.

3.1.4

  • Update a dependency to the latest release.

3.1.3

  • Update a dependency to the latest release.

3.1.2

  • Update a dependency to the latest release.

3.1.1

  • Update a dependency to the latest release.

3.1.0

  • FEAT: add support for RemoteMessage on web (#7430).

3.0.9

  • Update a dependency to the latest release.

3.0.8

  • FIX: Add Android implementation to get notification permissions (#7168).

3.0.7

  • Update a dependency to the latest release.

3.0.6

  • Update a dependency to the latest release.

3.0.5

  • Update a dependency to the latest release.

3.0.4

  • STYLE: enable additional lint rules (#6832).
  • FIX: critical of sound causing a hidden error (#6505).

3.0.3

  • Update a dependency to the latest release.

3.0.2

  • Update a dependency to the latest release.

3.0.1

  • FIX: Fix FirebaseMessaging.onMessage and onMessageOpenedApp potentially throwing (#6093).

3.0.0

Note: This release has breaking changes.

  • FEAT: implement isSupported for web (#6109).
  • BREAKING REFACTOR: remove support for senderId named argument on getToken & deleteToken methods since the native Firebase SDKs no longer support it cross-platform.

2.1.4

  • DOCS: Add missing homepage/repository links (#6054).

2.1.3

  • Update a dependency to the latest release.

2.1.2

  • Update a dependency to the latest release.

2.1.1

  • FIX: APN message with critical sound causing a hidden error (#5653).
  • FIX: fix getNotificationSettings for null safety (#5518).

2.1.0

  • FIX: regression in RemoteMessage.fromMap() causing silent failure (#5336).
  • FEAT: android.tag property on Notification (#5452).
  • CHORE: bump min Dart SDK constraint to 2.12.0 (#5430).
  • CHORE: publish packages (#5429).
  • CHORE: publish packages.

2.0.1

  • FIX: regression in RemoteMessage.fromMap() causing silent failure (#5336).
  • CHORE: publish packages.

2.0.0

  • Graduate package to a stable release. See pre-releases prior to this version for changelog entries.

2.0.0-1.0.nullsafety.1

  • Update a dependency to the latest release.

2.0.0-1.0.nullsafety.0

Note: This release has breaking changes.

  • BREAKING REFACTOR: migrate to NNBD (#4909).
  • BREAKING: the following deprecated APIs have been removed:
    • iOSNotificationSettings.
    • requestNotificationPermissions - use requestPermission instead.
    • autoInitEnabled() - use setAutoInitEnabled() instead.
    • deleteInstanceID() - use deleteToken() instead.
    • FirebaseMessaging() - use FirebaseMessaging.instance instead.

1.0.0-dev.10

  • DOCS: fix messaging regex examples (#4649).

1.0.0-dev.9

  • Update a dependency to the latest release.

1.0.0-dev.8

  • FIX: cast args lists to string values (#4382).

1.0.0-dev.7

  • Update a dependency to the latest release.

1.0.0-dev.6

  • FIX: various data types issues in remote message (#4150).

1.0.0-dev.5

  • Update a dependency to the latest release.

1.0.0-dev.4

  • REFACTOR: use invokeMapMethod instead of invokeMethod (#4048).

1.0.0-dev.3

  • FEAT: roadmap rework (#4012).

1.0.0-dev.2

  • FEAT: add senderId (use iid on Android to support it).

1.0.0-dev.1

  • Initial release.