Skip to content

Commit 99609ff

Browse files
authored
Merge pull request #1704 from hakansaglam29/main
Fix notification launchUrl changed to launchURL to make it compatible…
2 parents 1aadf06 + e8fe3ef commit 99609ff

File tree

1 file changed

+1
-1
lines changed
  • android/src/main/java/com/onesignal/rnonesignalandroid

1 file changed

+1
-1
lines changed

android/src/main/java/com/onesignal/rnonesignalandroid/RNUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static HashMap<String, Object> convertNotificationToMap(INotification not
106106
if (notification.getSmallIconAccentColor() != null)
107107
notificationHash.put("smallIconAccentColor", notification.getSmallIconAccentColor());
108108
if (notification.getLaunchURL() != null)
109-
notificationHash.put("launchUrl", notification.getLaunchURL());
109+
notificationHash.put("launchURL", notification.getLaunchURL());
110110
if (notification.getSound() != null)
111111
notificationHash.put("sound", notification.getSound());
112112
if (notification.getLedColor() != null)

0 commit comments

Comments
 (0)