Packages/application-generic/ path is not found in the repo.
Hi, i am trying to add a push notification provider but as per documentation there is a packages/application-generic folder where we need to add the provider handler. but i am not able to find this particular path and folder. can some one guide me on this? is there any changes that has happened but not updated in the docs maybe?
doc link i am following: https://docs.novu.co/community/add-a-new-provider#add-provider-handler-in-the-api
4 Replies
Hi @Chaos, I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Add a new provider
* How to send push notifications to Flutter apps (Android & iOS) with FCM using Novu
* How to send push notifications in an Android app (react native) with FCM and Novu
* Update subscriber credentials
-----------------------------
Answer
It seems like you're following the correct documentation to add a new push notification provider in Novu. However, if you're unable to locate the
packages/application-generic/
directory in the repository, it's possible that there may have been updates or changes in the repository structure that are not yet reflected in the documentation.
Here's what you can do:
1. Check the Latest Repository Structure: Sometimes repositories undergo structural changes. It's a good idea to check the latest state of the repository on GitHub and look for any recent commits or pull requests that might indicate a change in the directory structure.
2. Search for Alternative Directories: If the packages/application-generic/
directory has been moved or renamed, you might be able to find the new location by searching through the repository. Look for directories that might contain similar handler implementations.
3. Reach Out for Help: If you're still having trouble, consider reaching out through Novu's community channels, such as their GitHub issues or community forums. Other developers or the Novu team might be able to provide more up-to-date guidance.
It's also a good practice to ensure that you have the latest version of the repository cloned, as directories can be added, removed, or renamed in different versions.
If you continue to face issues, you might want to suggest an update to the documentation to reflect the new repository structure. This could be helpful for other developers facing the same issue.
Got it. Tagging @Support for additional help.i have now found it under libs 👍 . the docs can be updated.
Thanks for sharint @Chaos . I will update the doc
Thanks. It will help a lot as i am trying to add a provider and got stuck a little.