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
Feature Request: Enable iOS Silent Push Notifications in Capacitor #2038
Comments
This comment was marked as abuse.
This comment was marked as abuse.
We have a simple plugin we have been using that implements this. I'll publish it to npm next week. |
@aparajita That would be great! 🥳 |
What's the actual problem with @markemer Do you have any insights? It seems you were the last one working on this module. |
@bluepuma77 yes it would require only a few lines of code, at least that has been our experience. Not sure why they didn't implement it. |
@aparajita You offered to create a npm package. To make it easier for you, could you simply provide a template on Github? |
Here's what we are using currently. Needs a little updating, but works: https://github.com/willsub/capacitor-ios-remote-notifications |
Found two more related Github repos:
|
@bluepuma77 I just released capacitor-ios-silent-notifications. |
Thanks @aparajita. 🙏 |
Description
Support iOS Silent Push Notifications to be able to trigger JavaScript functions within Capacitor
Platforms
Request or proposed solution
Support iOS Silent Push Notifications to be able to trigger JavaScript functions like a file download. Use cases are many, you may need to update content/files within the app, and it needs to be available next time the app is opened, even when no network is available, like on most flights.
Alternatives
The doc states to use native implementation, but this kind of defeats the purpose of Capacitor.
Additional Information
I'm hoping this can be easily implemented with a few lines of code as the regular push notifications are already working.
The text was updated successfully, but these errors were encountered: