Skip to content

Commit

Permalink
suppress getParcelableExtra deprecation warning (MaikuB#1718)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB authored Sep 23, 2022
1 parent 6e342ae commit 48b7e63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flutter_local_notifications/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# [11.0.1]

* [Android] fixed crash when using notification actions with a foreground service. Thanks to the PR from [Arnold Laishram](https://github.com/arnoldlaishram)
* [Android] Suppressed deprecation warning on calling the [`getParcelableExtra`](https://developer.android.com/reference/android/content/Intent#getParcelableExtra(java.lang.String)) Intent API
* Fixed typo in readme around Darwin (iOS/macOS) initialisation settings
* Added a link to an issue with using Flutter apps with desugaring enabled where crashes could occur on foldable Android devices. Link to this is https://github.com/flutter/flutter/issues/110658 so those experience the problem can follow the issue and try out the solutions there as this isn't specific to the plugin
* Replaced usage of rxDart in example app use `StreamController` instead to minimise use of dependencies and removed unused `shared_preferences` dependency


# [11.0.0]

* Bumped `timezone` dependency. To err on the safe when it comes to dependency version conflicts, this is being published as major release as the updated `timezone` package was published as a major release. Thanks to the PR from [Joachim Nohl](https://github.com/nohli)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
public class ScheduledNotificationReceiver extends BroadcastReceiver {

@Override
@SuppressWarnings("deprecation")
public void onReceive(final Context context, Intent intent) {
String notificationDetailsJson =
intent.getStringExtra(FlutterLocalNotificationsPlugin.NOTIFICATION_DETAILS);
Expand Down

0 comments on commit 48b7e63

Please sign in to comment.