- Update lower bound of dart dependency to 2.0.0.
- Fix - register
pluginRegistrantCallback
on everyFcmDartService#start
call.
- Fix for missing UserAgent.h compilation failures.
- Implement
UNUserNotificationCenterDelegate
methods to allow plugin to work when method swizzling is disabled. - Applications now only need to update their iOS project's
AppDelegate
when method swizzling is disabled. - Applications that need to use
firebase_messaging
with other notification plugins will need to add the following to their iOS project'sInfo.plist
file:<key>FirebaseAppDelegateProxyEnabled</key> <false/>
- Replace deprecated
getFlutterEngine
call on Android.
- Make the pedantic dev_dependency explicit.
- Update README to explain how to correctly implement Android background message handling with the new v2 embedding.
- Update Android Gradle plugin dependency to 3.5.3, update documentation and example.
- Update google-services Android gradle plugin to 4.3.2 in documentation and examples.
- Support for provisional notifications for iOS version >= 12.
- Remove the deprecated
author:
field from pubspec.yaml - Migrate the plugin to the pubspec platforms manifest.
- Bump the minimum Flutter version to 1.10.0.
- Updated README instructions for Android.
- Add import for UserNotifications on iOS.
- Support the v2 Android embedding.
- Fix bug where
onIosSettingsRegistered
wasn't streamed on iOS >= 10.
- Fixed a build warning caused by availability check.
FirebaseMessaging.configure
will throw anArgumentError
whenonBackgroundMessage
parameter is not a top-level or static function.
-
Use
UNUserNotificationCenter
to receive messages on iOS version >= 10. -
Breaking Change For iOS versions >= 10, this will cause any other plugin that specifies a
UNUserNotificationCenterDelegate
to[UNUserNotificationCenter currentNotificationCenter]
to stop receiving notifications. To have this plugin work with plugins that specify their ownUNUserNotificationCenterDelegate
, you can remove the line[UNUserNotificationCenter currentNotificationCenter].delegate = // plugin specified delegate
and add this line to your iOS project
AppDelegate.m
if (@available(iOS 10.0, *)) { [UNUserNotificationCenter currentNotificationCenter].delegate = (id<UNUserNotificationCenterDelegate>) self; }
- Fix strict compilation errors.
- Updated README instructions for contributing for consistency with other Flutterfire plugins.
- Remove AndroidX warning.
- Fix warnings when compiling on Android.
- Enable background message handling on Android.
- Update documentation to reflect new repository location.
- Update unit tests to call
TestWidgetsFlutterBinding.ensureInitialized
.
- Update google-services Android gradle plugin to 4.3.0 in documentation and examples.
- Updates to README and example with explanations of differences in data format.
- Update README with more detailed integration instructions.
- Changed the return type of
subscribeToTopic
andunsubscribeFromTopic
toFuture<void>
.
- Additional integration tests.
- On Android, fix crash when calling
deleteInstanceID
with latest Flutter engine.
- Automatically use version from pubspec.yaml when reporting usage to Firebase.
- Update Dart code to conform to current Dart formatter.
- Add missing template type parameter to
invokeMethod
calls. - Bump minimum Flutter version to 1.5.0.
- Replace invokeMethod with invokeMapMethod wherever necessary.
- Enable support for
onMessage
on iOS usingshouldEstablishDirectChannel
.
- Fix error in the logs on startup if unable to retrieve token on startup on Android.
- Update Android dependencies to latest.
- Remove obsolete
use_frameworks!
instruction.
- Update iOS configuration documentation.
- Fix example app's floating action button that stopped working due to a breaking change.
- Log messages about automatic configuration of the default app are now less confusing.
- Breaking Change Update message structure for onMessage to match onLaunch and onResume
- Log a more detailed warning at build time about the previous AndroidX migration.
-
Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
This was originally incorrectly pushed in the
2.2.0
update.
- Revert the breaking 2.2.0 update. 2.2.0 was known to be breaking and
should have incremented the major version number instead of the minor. This
revert is in and of itself breaking for anyone that has already migrated
however. Anyone who has already migrated their app to AndroidX should
immediately update to
3.0.0
instead. That's the correctly versioned new push of2.2.0
.
-
BAD. This was a breaking change that was incorrectly published on a minor version upgrade, should never have happened. Reverted by
2.2.0+1
. -
Breaking change. Migrate from the deprecated original Android Support Library to AndroidX. This shouldn't result in any functional changes, but it requires any Android apps using this plugin to also migrate if they're using the original support library.
- Adding support for deleteInstanceID(), autoInitEnabled() and setAutoInitEnabled().
- Removing local cache of getToken() in the dart part of the plugin. Now getToken() calls directly its counterparts in the iOS and Android implementations. This enables obtaining its value without calling configure() or having to wait for a new token refresh.
- Use boolean values when checking for notification types on iOS.
- Bump Android dependencies to latest.
- Updated Android to send Remote Message's title and body to Dart.
- Bumped test and mockito versions to pick up Dart 2 support.
- Bump Android and Firebase dependency versions.
- Updated iOS token hook from 'didRefreshRegistrationToken' to 'didReceiveRegistrationToken'
- Updated Gradle tooling to match Android Studio 3.2.2.
- Fix for Android where the onLaunch event is not triggered when the Activity is killed by the OS (or if the Don't keep activities toggle is enabled)
- Bump to released version
- Fixed Dart 2 type error.
- Updated Google Play Services dependencies to version 15.0.0.
- Updated package channel name
- Simplified podspec for Cocoapods 1.5.0, avoiding link issues in app archives.
- Fixed Dart 2 type errors.
- Breaking change. Set SDK constraints to match the Flutter beta release.
- Fixed Dart 2 type error in example project.
- Enabled use in Swift projects.
- Fix for APNS not being correctly registered on iOS when reinstalling application.
- Simplified and upgraded Android project template to Android SDK 27.
- Updated package description.
- Breaking change. Upgraded to Gradle 4.1 and Android Studio Gradle plugin 3.0.1. Older Flutter projects need to upgrade their Gradle setup as well in order to use this version of the plugin. Instructions can be found here.
- Relaxed GMS dependency to [11.4.0,12.0[
- Added FLT prefix to iOS types
- Change GMS dependency to 11.4.+
In FirebaseMessagingPlugin.m:
- moved logic from 'tokenRefreshNotification' to 'didRefreshRegistrationToken'
- removed 'tokenRefreshNotification' as well as observer registration
- removed 'connectToFcm' method and related calls
- removed unnecessary FIRMessaging disconnect
- Change GMS dependency to 11.+
- Fixed README example for "click_action"
- Aligned author name with rest of repo.
- Updated to Firebase SDK to always use latest patch version for 11.0.x builds
- Updated to Firebase SDK Version 11.0.1
- Updated README.md
- Bumped buildToolsVersion to 25.0.3
- Updated README.md
- Added workaround for flutter/flutter#9694 to README
- Moved code to https://github.com/FirebaseExtended/flutterfire
- Updated to latest plugin API
- Downgraded gradle dependency for example app to make
flutter run
happy
- Updated README with installation instructions
- Added CHANGELOG
- Initial Release