Closed burhanaksendir closed 7 months ago
Hi @burhanaksendir, thanks for reporting. This is a misleading log on a new app install. Initialization did not fail.
This is logged by the native iOS SDK that the Flutter SDK calls into and the app ID has not been set YET by the developer. The Flutter SDK needs initialize the native iOS SDK in order to pass along iOS launch options very early in the app startup process.
If you turn on verbose-level logging, you should see VERBOSE: setAppId called with appId: <YOUR_APP_ID>
being logged shortly after the Fatal log you reported. Sorry for any confusion this log caused.
What happened?
OneSignal initialization fails with the following error message: "FATAL: OneSignal AppId: (null) - AppId is null or format is invalid, stopping initialization."
Steps to reproduce?
What did you expect to happen?
I expected OneSignal to initialize successfully without any errors when providing a valid AppId.
OneSignal Flutter SDK version
5.1.0
Which platform(s) are affected?
Relevant log output
Code of Conduct