Questions tagged [react-notifications]

8 questions
5
votes
2 answers

How to check google play services version and firebase version in react-native project?

I am trying to install rn-push-notifications for which I need the google play services version and firebase version. Could you please assist me?
2
votes
2 answers

React toastify is not working , when page is redirect to another page. But it is working on same page

I use react-toastify for toast notification, but it is not working when my page is redirec to another page. It is not working mydata is save to the data base. It is working when my page is not redirect. const [email, setEmail] =…
MAYANK THAKUR
  • 773
  • 1
  • 6
  • 11
2
votes
1 answer

React Notifications CSS Import Error

https://www.npmjs.com/package/react-notifications I am trying to get this to work in my project. If I link directly to the CSS from the demo (app.css) it works, but according to the documentation I should be able to do this... import…
Joseph Astrahan
  • 8,659
  • 12
  • 83
  • 154
1
vote
0 answers

reading from firebase for Realtime updates without exceeding quota

I am trying to read from firebase to get real-time updates from the database. useEffect(() => onSnapshot(collection(db, 'announcements'), async (snapshot) => { let oldData = announcementsData; let temp =…
1
vote
2 answers

onClick react-notifications not showing, but it runs the function

I created a survey page, but when someone doesn't have credits I want to show a notification to the user using react-notifications, I've already tested the button and standalone it works, but when I added it to the tag using react-router-dom on an…
0
votes
1 answer

Internet Push Notification In React Native

How can I make the app to send a notification when the user connected to the internet after being disconnected even when the app is closed?
0
votes
1 answer

Issue on adding @types/react-notification-system in react/typescript

I have used react-notification-system in React+Javascript, when I tried in React+Typescript it throws error as Type 'ReactInstance' is not assignable to type 'null' Type 'Element' is not assignable to type 'null' in the line included in…
San Daniel
  • 165
  • 1
  • 3
  • 15
0
votes
1 answer

Can I use styled components to style react-notifications?

I'm using styled components in a project and have just added react-notifications. When I try to use styled components to style my NotificationContainer and its descendants. I instead get an un-styled base NotificationContainer. Am I making a…
Anthony
  • 492
  • 4
  • 12