diff --git a/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java b/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java index 2ff7c6dff7693a6c729836a3fd2ad1e105ee8674..d77554499e79c6c0f6b09472be8dcc8b271711ff 100644 --- a/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java +++ b/android/src/main/java/com/evollu/react/fcm/FIRMessagingModule.java @@ -50,7 +50,7 @@ public class FIRMessagingModule extends ReactContextBaseJavaModule implements Li @ReactMethod public void getInitialNotification(Promise promise){ - promise.resolve(getCurrentActivity().getIntent()); + promise.resolve(parseIntent(getCurrentActivity().getIntent())); } @ReactMethod