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

Hard Crash on Launch #293

Closed
Infinity-James opened this issue Oct 26, 2017 · 4 comments · Fixed by #301
Closed

Hard Crash on Launch #293

Infinity-James opened this issue Oct 26, 2017 · 4 comments · Fixed by #301

Comments

@Infinity-James
Copy link

Infinity-James commented Oct 26, 2017

onesignalcrash

My configuration on app launch:

let identifier = Bundle.main.infoDictionary!["OneSignalID"] as! String
let settings: [String: Any] = [kOSSettingsKeyInFocusDisplayOption: OSNotificationDisplayType.none.rawValue, kOSSettingsKeyAutoPrompt: false ]
OneSignal.initWithLaunchOptions(options, appId: identifier, handleNotificationReceived: notificationReceived, handleNotificationAction: notificationAction, settings: settings)
@michalinas
Copy link

this pr: #259 might be a solution to your crash

@Infinity-James
Copy link
Author

Infinity-James commented Oct 28, 2017 via email

@jkasten2
Copy link
Member

@michalinas I haven't been able to reproduce this crash. Can you confirm if the pr #259 fixes it for you?

Issue #278 is the same crash as this issue. Can you try the debugging suggestions in the #278 (comment) and reply with the results on that issue?

@alexookah
Copy link

alexookah commented Nov 5, 2017

i am experiencing the exact same issue... sometimes i get 2 times in a row crash due to this (in runtime simulator). rarely though but happened also 3 times in a row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants