Skip to content

Commit d79bddc

Browse files
committed
Fixed bug #86.
1 parent 687f915 commit d79bddc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/azure/reactnative/notificationhub/ReactNativeNotificationHubModule.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ public void onHostResume() {
175175
if (intent != null) {
176176
Bundle bundle = intent.getBundleExtra("notification");
177177
if (bundle != null) {
178+
intent.removeExtra("notification");
178179
bundle.putBoolean("foreground", false);
179180
bundle.putBoolean("userInteraction", true);
180181
bundle.putBoolean("coldstart", true);

0 commit comments

Comments
 (0)