OneSignal / OneSignal-iOS-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Other
487 stars 263 forks source link

FATAL: OneSignal AppId: (null) - AppId is null or format is invalid, stopping initialization. Example usage: 'b2f7f966-d8cc-11e4-bed1-df8f05be55ba'[question]: #1442

Closed Mytrailpals closed 1 month ago

Mytrailpals commented 1 month ago

iosone-signal.docx

How can we help?

Hello OneSignal Team, Integrating one signal push notification SDK with flutter.

Running into this Fatal in Xcode. Tried all I could found through search.. not sure Why app ID is null.

Seems like a bug to me, appreciate help.

Thanks

Code of Conduct

nan-li commented 1 month ago

Hi @Mytrailpals, thanks for reaching out to us. Since you are using Flutter, this is a misleading error message that prints from the integration of our Flutter SDK with our native iOS SDK.

I see shortly after that error log, the App ID is successfully set, so you can safely ignore the error log.

VERBOSE: setAppId called with appId: 3a8cdf44-xxxxxxxxxxx VERBOSE: launchOptions is set and appId of 3a8cdf44-xxxxxxxxxxx is set, initializing OneSignal...

Mytrailpals commented 1 month ago

Thank you!

On Tue, May 28, 2024 at 9:21 PM Nan @.***> wrote:

Hi @Mytrailpals https://github.com/Mytrailpals, thanks for reaching out to us. Since you are using Flutter, this is a misleading error message that prints from the integration of our Flutter SDK with our native iOS SDK.

I see shortly after that error log, the App ID is successfully set, so you can safely ignore the error log.

VERBOSE: setAppId called with appId: 3a8cdf44-xxxxxxxxxxx VERBOSE: launchOptions is set and appId of 3a8cdf44-xxxxxxxxxxx is set, initializing OneSignal...

— Reply to this email directly, view it on GitHub https://github.com/OneSignal/OneSignal-iOS-SDK/issues/1442#issuecomment-2136484546, or unsubscribe https://github.com/notifications/unsubscribe-auth/BADGFL64ET4BMXZ2LK6ZG53ZEVJS3AVCNFSM6AAAAABIN2J6CKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZWGQ4DINJUGY . You are receiving this because you were mentioned.Message ID: @.***>