Skip to content

Commit

Permalink
[notifications][expoview] scope ExpoFcmMessagingService in the androi…
Browse files Browse the repository at this point in the history
…d client (expo#10625)

* scope ExpoFcmMessagingService in the android client

* much simpler fix

* remove extra newline
  • Loading branch information
cruzach authored Oct 22, 2020
1 parent 96bc848 commit b7bd87a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ private void dispatchToLegacyNotificationModule(RemoteMessage remoteMessage) {
@NonNull
@Override
protected NotificationRequest createNotificationRequest(@NonNull String identifier, @NonNull NotificationContent content, FirebaseNotificationTrigger notificationTrigger) {
if (Constants.isStandaloneApp()) {
return super.createNotificationRequest(identifier, content, notificationTrigger);
}
ExperienceId experienceId;
Map<String, String> data = notificationTrigger.getRemoteMessage().getData();
if (!data.containsKey("experienceId")) {
Expand Down

0 comments on commit b7bd87a

Please sign in to comment.