This repository was archived by the owner on Jan 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
android/src/main/java/com/dieam/reactnativepushnotification/modules Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
1010
1111### Features
1212
13- - Add support for specifying a delegate FirebaseMessagingService [ #1589 ] ( https://github.com/zo0r/react-native-push-notification/pull/1589 )
13+ - (Android) Add support for specifying a delegate FirebaseMessagingService [ #1589 ] ( https://github.com/zo0r/react-native-push-notification/pull/1589 )
1414
1515### Fixed
1616
17+ - (Android) Fix a bug where ` userInteraction ` is not set, notification when app in background pressed by user.
18+
1719
1820## [ 5.0.1] 2020-08-04
1921
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ private Bundle getBundleFromIntent(Intent intent) {
8383 bundle = intent .getExtras ();
8484 }
8585
86- if (null != bundle && !bundle .getBoolean ("foreground" , false ) && !bundle .containsKey ("user_interaction " )) {
87- bundle .putBoolean ("user_interaction " , true );
86+ if (null != bundle && !bundle .getBoolean ("foreground" , false ) && !bundle .containsKey ("userInteraction " )) {
87+ bundle .putBoolean ("userInteraction " , true );
8888 }
8989
9090 return bundle ;
You can’t perform that action at this time.
0 commit comments