OneSignal / OneSignal-Unity-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Other
222 stars 61 forks source link

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

Open shefich opened 1 year ago

shefich commented 1 year ago

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

shepherd-l commented 1 year ago

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 commented 1 year ago

Need to send notifications from the app in order to get the user back in specific amount of time. To remind him. I am using only local user id, so you can't have other users id inside the app. To send this from the server is not an option for me.

If we are talking regarding new version of the SDK I thought it was about fixing old issues and adding something new. But you cut support of the main activity. Also my issues (for the previous version) from your github have never been answered.

ср, 30 авг. 2023 г., 01:58 Shepherd @.***>:

Sorry for the frustration

But in 5.0.x we decided to not support sending push notifications from the app

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

— Reply to this email directly, view it on GitHub https://github.com/OneSignal/OneSignal-Unity-SDK/issues/634#issuecomment-1698250567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB77GALZGFC6J3R3JPSB4NTXXZXY7ANCNFSM6AAAAAA4DMLBYQ . You are receiving this because you authored the thread.Message ID: @.***>

shepherd-l commented 1 year ago

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