deniza / app_tracking_transparency

A Flutter plugin to show ios 14+ tracking authorization dialog.
https://pub.dev/packages/app_tracking_transparency/
MIT License
83 stars 28 forks source link

Tap popup when running an integration test #18

Closed ryujignh closed 1 year ago

ryujignh commented 3 years ago

Hello there. Is there a way to tap either the "Allow" or "Ask App Not to Track" button on the popup when testing Flutter integration?

deniza commented 1 year ago

FlutterDriver can be used to test both Flutter and native iOS UI components inside a Flutter application. To interact with the native iOS UI components, you can use the driver.requestData method to send data to the native side and driver.waitFor method to wait for the results.