Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotificationData overrides with recently pushed notification. #195

Closed
Nagapandi opened this issue Dec 9, 2016 · 2 comments
Closed

NotificationData overrides with recently pushed notification. #195

Nagapandi opened this issue Dec 9, 2016 · 2 comments

Comments

@Nagapandi
Copy link

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 }
}
}
}

@Nagapandi
Copy link
Author

got the solution for this issue
in GeoNotificationNotifier.java file you need to modify the below line.

PendingIntent resultPendingIntent = stackBuilder.getPendingIntent(
<Some_Unique_Value>, PendingIntent.FLAG_UPDATE_CURRENT);

@tsubik
Copy link
Member

tsubik commented Feb 18, 2017

Fixed in #206

@tsubik tsubik closed this as completed Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants