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

Interesting but not sure if it is what I want #9

Open
ugintl opened this issue Aug 5, 2019 · 5 comments
Open

Interesting but not sure if it is what I want #9

ugintl opened this issue Aug 5, 2019 · 5 comments
Labels

Comments

@ugintl
Copy link

ugintl commented Aug 5, 2019

I use drupal CMS to create websites. If you do not know drupal, it is quiet similar to wordpress in terms of server requirements. Drupal also allows to integrate 3rd party api.

What I want?

I want something free open source thing which can send messages or notifications (probably push notifications) from my website to users' mobile phones. The user might or might not have our app installed. In fact, I do not have any mobile app currently.

May be you can suggest something else. Actually, I want to try all possibilities to avoid relying on external services. There is a Drupal module which allows to send push notifications, but it relies on GCM and APN. I want to avoid this dependency.

@hhxsv5
Copy link
Owner

hhxsv5 commented Aug 6, 2019

This requires a client, whether it is GCM, APN, or your app.

@hhxsv5 hhxsv5 added the question label Aug 6, 2019
@ugintl
Copy link
Author

ugintl commented Aug 6, 2019

If I have an app, can I use phpsse to send messages or notifications to the app?

How?

@hhxsv5
Copy link
Owner

hhxsv5 commented Aug 7, 2019

Sure, you need to make sure your app is open in the foreground/background, and this notification is not system level but application level.

If you have high performance requirements, you can use WebSocket, such as Swoole WebSocket Server.

@lbfalvy
Copy link

lbfalvy commented Aug 12, 2020

Push notifications also use HTTP, and thus work quite well with PHP. Don't make a mobile app just to use them.

@hhxsv5
Copy link
Owner

hhxsv5 commented Aug 14, 2020

Now there is already a high performance coroutine SSE Server based on Swoole, enjoy the demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants