OneSignal-Unity-SDK icon indicating copy to clipboard operation
OneSignal-Unity-SDK copied to clipboard

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

Open ravishankardatalogy opened this issue 1 year ago • 1 comments

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

  • [x] I agree to follow this project's Code of Conduct

ravishankardatalogy avatar Jul 25 '24 07:07 ravishankardatalogy

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 avatar Jul 26 '24 15:07 shepherd-l

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

shepherd-l avatar Nov 15 '24 21:11 shepherd-l