FlutterFlow iOS: App Stuck on Splash Screen After OneSignal Integration

Troubleshooting

Hi everyone,

I need help with an issue in my FlutterFlow app.

I developed the app using FlutterFlow Pro, and successfully published it on the App Store and Play Store. The app was working well, except that push notifications (configured with OneSignal) only worked on Android, not on iOS.

To fix this, I exported the project and opened it in Xcode, carefully following OneSignal's documentation. After many attempts, I finally got notifications working on iOS.

However, a new issue appeared: when opening a notification or launching the app, it gets stuck on the splash screen (configured in FlutterFlow). If I minimize the app without closing it and then reopen it, the app loads properly.

Iโ€™d really appreciate any ideas or guidance on what might be causing this!

Thanks in advance! ๐Ÿš€

What have you tried so far?

Iโ€™ve tried several solutions I found in forums, but nothing has worked. One of the things I tested was adding a delay to the OneSignal initialization in main.dart, but the splash screen issue persists.

I checked the logs, and although some errors appear, none seem directly related to the app's startup or splash screen.

Did you check FlutterFlow's Documentation for this topic?
Yes
1