-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RFC - Push Notification Implementation / API #79
Comments
The idea is to have multiple mobile apps connected to the same LoopBack server. The Application Model refers to a mobile application. My original feeling was the same as yours - applications should be defined & configured statically in a config file. But I can imagine another approach too, where you create new applications "on the fly" in a running loopback server. |
pushNotificationByRegistrationId |
Most of the issues should been addressed now. The push demo app also has a simple UI to sign up new client applications. |
/cc @bajtos @raymondfeng
Here is a basic example of working with the push notification API (available in master).
What we have now
Here are the issues I see with the current API (referencing the example above):
POST /devices/:id/notify
. I think this can be improved. We should have aNotification
model with a remote-ablesend
method, similar toMyModel.create
.What I think we should move to
The text was updated successfully, but these errors were encountered: