Skip to content

Commit e8fe3ef

Browse files
author
hakansaglam
committed
Fix notification launchUrl changed to launchURL to make it compatible with type
1 parent 1767f42 commit e8fe3ef

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)