iOS Push Notification Issue with OneSignal + Supabase in FlutterFlow (Works Locally but Fails in TestFlight)

Integrations

I'm facing issues getting iOS push notifications to work in a FlutterFlow project using Supabase and OneSignal. When I build the app locally in Xcode and run it on a physical device, push notifications work fine. But after uploading the same build to App Store Connect and testing via TestFlight, push notifications fail.

In TestFlight:

  • Sometimes it shows “Push capability missing.”

  • Sometimes I receive the prompt but notifications still don’t arrive even after granting permission.

  • OneSignal dashboard shows the device as unsubscribed or not registered correctly.

This inconsistency is blocking production testing.

What have you tried so far?
  • Added the following in Runner.entitlements

    <key>aps-environment</key> <string>production</string>

  • Enabled Push Notification and Background Modes > Remote notifications capabilities in Xcode.

  • Verified correct OneSignal App ID in FlutterFlow settings.

  • Configured Apple Push Services certificate in the Apple Developer portal.

  • Used correct provisioning profile with push entitlement enabled.

  • Followed OneSignal iOS setup docs and FlutterFlow push setup guide.

  • Deleted and reinstalled the TestFlight app multiple times to re-trigger the permission prompt.

Still, notifications do not arrive in TestFlight builds, though they work fine in locally installed builds via Xcode.

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