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

Cannot create events in the mobile app because of Google notifications #2195

Closed
palisadoes opened this issue Dec 1, 2023 · 3 comments · Fixed by #2257
Closed

Cannot create events in the mobile app because of Google notifications #2195

palisadoes opened this issue Dec 1, 2023 · 3 comments · Fixed by #2257
Assignees
Labels
bug Something isn't working no-issue-activity No issue activity

Comments

@palisadoes
Copy link
Contributor

palisadoes commented Dec 1, 2023

Describe the bug

Creating events fails with a Notification Error

To Reproduce
Steps to reproduce the behavior:

  1. Start app
  2. Click on events
  3. Add an event
  4. Save event
  5. Error is seen

Expected behavior

  • There should be a no error

Actual behavior

  • Error

Screenshots
-https://youtu.be/86AzK_Y_GCQ?t=429

Additional details

  • We are no longer using the Firebase notifications feature and therefore this must be removed from the add event workflow. Non Firebase notifications is a GSoC 2024 draft idea
  • You may need to coordinate your efforts with an API developer
  • You must get the test code coverage up to 100% for any edited files. No functionality must be removed to achieve this goal

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship #359

@palisadoes palisadoes added the bug Something isn't working label Dec 1, 2023
@github-actions github-actions bot added the unapproved Unapproved, needs to be triaged label Dec 1, 2023
@Abhisheksainii
Copy link

Abhisheksainii commented Dec 8, 2023

@palisadoes @Ayush0Chaudhary @noman2002 Can you please assign this issue to me? I faced the same error while I was trying to add an event.

@noman2002 noman2002 removed the unapproved Unapproved, needs to be triaged label Dec 8, 2023
@Abhisheksainii
Copy link

Abhisheksainii commented Dec 10, 2023

@noman2002 , I have found the cause of the issue, I will be needing an API developer from talawa-api to help me.
As the issue is caused when an event gets created, a notification is sent from the backend through this function ( admin.messaging().send() ). This needs to be removed or commented from the api code.

Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity No issue activity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants