Closed Nagapandi closed 7 years ago
when i get the notification, the lastly added custom object data is shown for all notifications instead of the corresponding custom object.
Please let me know how to get the respective object of the notification message.
here the code
for (i = 0; i < 5; i++) { var g[i] = { id: i, latitude: , longitude: , radius: , transitionType: TransitionType.ENTER, notification: { id: i, title:"Title", text: "Text", openAppOnClick: true, data: { id: i, title: Title, text: Text } } } }
got the solution for this issue in GeoNotificationNotifier.java file you need to modify the below line.
PendingIntent resultPendingIntent = stackBuilder.getPendingIntent( , PendingIntent.FLAG_UPDATE_CURRENT);
Fixed in #206
when i get the notification, the lastly added custom object data is shown for all notifications instead of the corresponding custom object.
156
Please let me know how to get the respective object of the notification message.
here the code
for (i = 0; i < 5; i++) {
var g[i] = { id: i, latitude: , longitude: , radius: , transitionType: TransitionType.ENTER, notification: { id: i, title:"Title", text: "Text", openAppOnClick: true, data: { id: i, title: Title, text: Text }
} }
}