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

[Bug]: Application crash on iOS when push message is received with app in background #970

Open
2 of 3 tasks
nebis-software opened this issue Nov 6, 2024 · 0 comments
Open
2 of 3 tasks

Comments

@nebis-software
Copy link

nebis-software commented Nov 6, 2024

What happened?

Hi,
I am building my first integration of Onesignal on iOS. Android works nicely so far.
I have a crash (see steps below) when a push is received. The app is monitored with Sentry and it catches nothing so I suspect it is something happening in native code or similar, before the dart main() is called

Steps to reproduce?

1. create flutter app
2. add onesignal package and do all the iOS configuration steps EXCEPT for the extension ones (i am good with simple text push messages)
3. compile
4. send a push message:
    - if the app is in the foreground -> it works
    - if the app is in background -> crash.

What did you expect to happen?

no crashes..

OneSignal Flutter SDK version

5.2.5 and 5.2.6

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

1 participant