flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

[app-to-app] add-to-app always returning `disabled` on iOS

Open vanlooverenkoen opened this issue 2 years ago • 4 comments

🐛 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
image

Other platform channels are working perfectly.

Linked issues: https://github.com/Baseflow/flutter-permission-handler/issues/682

vanlooverenkoen avatar Nov 17 '22 09:11 vanlooverenkoen

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 avatar Aug 23 '23 07:08 TimHoogstrate

@TimHoogstrate isn't this more like a bug? We have not yet figured this issue out since November.

vanlooverenkoen avatar Aug 23 '23 07:08 vanlooverenkoen

@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.

TimHoogstrate avatar Aug 23 '23 07:08 TimHoogstrate

The problem is that I have no idea where the issue would be. So filing a PR would be hard.

vanlooverenkoen avatar Aug 23 '23 07:08 vanlooverenkoen