question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NotificationFeed doesn't update when NewActivitiesNotification clicked

See original GitHub issue

I am using the simplest example:

<StreamApp
  apiKey="3fjzn67nznwt"
  appId="41814"
  token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZXhhbXBsZS11c2VyIn0.XEKjtzD2AIQMLXH6kfJlL8P_JV4CBYvcMsmQCFjyY2U"
>
  <NotificationFeed notify={true} />
</StreamApp>

I expect the Feed to render with the new activities when I click the notification.

For a workaround, I am storing a timestamp in the component state, then setting the Feed’s ‘key’ prop to a new timestamp when the user clicks the Notifier to force a rerender.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JelteFcommented, Nov 12, 2018

Other question, the NewActivitiesNotification stays there and it doesn’t disapear after clicking it?

1reaction
JelteFcommented, Nov 12, 2018

Hmm, that’s weird. Just to be clear on the issue then:

  • You do see the light blue Notifier pop up with a number of new activities, but when you click it nothing happens?
Read more comments on GitHub >

github_iconTop Results From Across the Web

Clicking Android notification with extras to initialize app or ...
In normal cases a click on a notification is always handled through the InitializationActivity ( onCreate > onStart > startInitialization > ...
Read more >
Visibility of your updates, posts, and activity | LinkedIn Help
Your activity on LinkedIn shows all recent posts you've shared, and changes you've made ... Instead, you'll receive these updates on the Notifications...
Read more >
How to update Twitter email notifications
Select Settings and privacy from the drop down menu. Click or tap Notifications. Click or tap on Email notifications from the settings sidebar....
Read more >
Change notification settings for a Facebook Page you manage
When you change your notification settings for a Page you help manage, the notification settings of others who help manage the Page won't...
Read more >
Facebook's Notifications Are Out of Control. Here's How to ...
Not everyone can quit Facebook, but “not quitting” doesn't mean you ... In the feed of notifications — which you can see when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found