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

[Bug]: App not opening from push when it's in a killed state. #747

Closed ravishankardatalogy closed 1 week ago

ravishankardatalogy commented 4 months ago

What happened?

I can receive push notifications on my iPhone. When the app is running in the background, it opens successfully. However, when I kill the app and try to open it with a push notification, it attempts to open but closes automatically

Steps to reproduce?

1. install unity 2021.3.34f1
2. install Onesignal 5.1.7 from asset store.
3. build and upload to test flight.
4. Launch app and push test notification.
5. kill the app and try launch from push.

What did you expect to happen?

It will open the app.

Unity version

2021.3.34f1 (latest)

OneSignal Unity SDK version

5.1.7 (latest)

Platform

iOS

Relevant log output

No response

Code of Conduct

shepherd-l commented 4 months ago

Could you provide the crash log?

You can get log messages from the Console. You’ll need to connect your phone to your computer and select the phone in the Console app, https://support.apple.com/guide/console/log-messages-cnsl1012/mac

shepherd-l commented 1 week ago

Closing due to inactivity. If this is still an issue, please open a new report with updated information