Premature Request for Notification Permissions

When I have push notifications enables in the Flutter Flow settings, I get a premature notification permission request when a user download my and and is authenticated. I don't want the permission request to show up immediately after the user is authenticated. I want to guide the user through an onboarding flow and initiate the permission request through a later action.

They only way I have been able to get around this is be disabling push notifications in Flutter Flow and simply enabling permissions for notifications. This restricts my ability to produce push notifications within the Flutter Flow dashboard, but it also holds off on making the permission request until I initiate it with an action.

The other thing is that I get this error when I have push notifications turned off in the Flutter Flow dashboard ...

Dear Developer, We identified one or more issues with a recent delivery for your app. Your delivery was successful, but you may wish to correct the following issues in your next delivery: ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement.

Has anyone else had this problem? This seems like a bug. Solutions appreciated!

8
5 replies