Baseflow / Baseflow/flutter-permission-handler
[app-to-app] add-to-app always returning `disabled` on iOS
- Dominant language
- Dart
- Stars
- 2.2k
- Forks
- 970
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 2
Description
## 🐛 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
Contributor guide
Assessment
This issue has not been assessed yet.