Missing Push Notification Entitlement on iOS / App store (with Supabase Auth / OneSignal Notifications)

I kept on getting the 'ITMS-90078: Missing Push Notification Entitlement' error from Apple after deploying to the app store. I set up the right identifiers and gave the permissions.

I downloaded the FlutterFlow code and saw that the Runner.entitlements file is empty.

I need to specify an array for the UIBackgroundModes permission in our Info.plist. Also I need to add the aps-environment variable to our Runner.entitlements file (both in the ios directory).

I've noticed that these variables are set correctly when enabling the native Push Notifications from Flutterflow. However these push notifications don't work in our case (we work with Supabase auth instead of Firebase auth) so we can't use this one.

We'd like to add these variables directly with the native Push notification switch disabled.
Does anyone know if and how this is possible?

9
9 replies