flutter-permission-handler
flutter-permission-handler copied to clipboard
[app-to-app] add-to-app always returning `disabled` on iOS
🐛 Bug Report
When using add-to-app. The permissions status always returns disabled.
I already added the GCC_PREPROCESSOR_DEFINITIONS configuration.
Service Status
2022-11-17 10:57:37.716985+0100 MyApp[38873:2355034] flutter: serviceStatus: ServiceStatus.disabled
When checking the permission status it returns denied after requesting permission the settings are opened directly. And permanentlyDenied is returned after that. I never saw the native popup
Expected behavior
Return the correct status.
Reproduction steps
SETUP: https://docs.flutter.dev/development/add-to-app/ios/project-setup SCREEN: https://docs.flutter.dev/development/add-to-app/ios/add-flutter-screen?tab=vc-swift-tab#using-the-flutterappdelegate
Configuration
Version: 10.2.0
Platform:
- [X] :iphone: iOS
- [ ] :robot: Android
Other platform channels are working perfectly.
Linked issues: https://github.com/Baseflow/flutter-permission-handler/issues/682
I've labeled this as an enhancement. Related to https://github.com/Baseflow/flutter-permission-handler/issues/1032 and https://github.com/Baseflow/flutter-permission-handler/issues/682
@TimHoogstrate isn't this more like a bug? We have not yet figured this issue out since November.
@vanlooverenkoen,
There are multiple issues regarding this subject that are not yet Triaged, the oldest was labeled as an Enhancement. I've bundled them and we have to discuss this in the Team first. You are welcome help file a PR that resolves the issue or investigate a solution.
The problem is that I have no idea where the issue would be. So filing a PR would be hard.