Open rodrigonepomuceno opened 1 year ago
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision ead455963c (7 days ago) • 2023-09-26 18:28:17 -0700 Engine • revision a794cf2681 Tools • Dart 3.1.3 • DevTools 2.25.0
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-arm64, locale pt-BR) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.82.3) [✓] Connected device (3 available) [✓] Network resources
cocoaPods: 1.13.0
@rodrigonepomuceno Thank you for reporting this looks like a crash in OneSignal's code to receive the apns push token. Are you using any other libraries that might care about the push token?
Hey @emawby. I found the problem.
When removing this reference below the info.plist it worked again, I believe it generates some conflict with the OneSignal package
<key>UIBackgroundModes</key>
<string>location</string>
@rodrigonepomuceno Interesting thank you for investigating I will continue trying to reproduce but I am not getting this crash when including location (and other) background modes
What happened?
The application is built correctly. But when it opens after installing it on IOs it simply closes, still on the screen before the splash screen created, for no apparent reason. If I remove the OneSignal package everything works correctly.
Steps to reproduce?
What did you expect to happen?
Run the application correctly.
OneSignal Flutter SDK version
onesignal_flutter: ^5.0.2
Which platform(s) are affected?
Relevant log output
Code of Conduct