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

[General]: Feedback or everything missing for the SDK 5.0.x #634

Open
1 task done
shefich opened this issue Aug 29, 2023 · 3 comments
Open
1 task done

[General]: Feedback or everything missing for the SDK 5.0.x #634

shefich opened this issue Aug 29, 2023 · 3 comments

Comments

@shefich
Copy link

shefich commented Aug 29, 2023

What's on your mind?

Where can I find how to send push notifications?
No tutorials, no examples, nothing regarding sending pushes from the app.
I can find examples for version 3.0.11.
Nothing for 5.0.1.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@shepherd-l
Copy link
Contributor

shepherd-l commented Aug 29, 2023

Sorry for the frustration

But in 5.0.x we decided to not support sending push notifications with the SDK

Version 3 will continue to be supported, however we in general recommend using our API on your server for P2P notifications rather than sending them on the device level due to the potential security issue of exposing another user's id on the device.

If this is not your use case, could you describe why you would like to send push notifications from the app

@shefich
Copy link
Author

shefich commented Aug 30, 2023 via email

@shepherd-l
Copy link
Contributor

shepherd-l commented Aug 30, 2023

Oh I see, sorry for misunderstanding you

You can still send notifications from the client/your app by hitting the Rest API. Here is our Rest API documentation for creating notifications https://documentation.onesignal.com/reference/create-notification
Let me know if you have any questions

Could you clarify what you mean by "cut support from the main activity”? Sorry we haven’t answered your other issues, unfortunately they are at a lower priority for us at this time

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

No branches or pull requests

2 participants