Closed nowitz closed 2 years ago
Thanks for reporting @nowitz, will be looking into it today.
In the meantime, could you check if this demo app (https://github.com/mahnuh/capacitor-plugin-app-tracking-transparency-demo-app) has the same issue on iOS 16.1 @nowitz? I have to update macOS and Xcode frist, which might take a while...
I tried your @mahnuh demo on a real device iPhone 11 Pro with iOS 16.1 and it has the same problem. :-/
I am not able to reproduce this issue, works fine with the demo app, tested on simulator and iPhone, both iOS 16.1. @nowitz can you please provide the log output for the demo app from Xcode? See mine below. I first tapped the GET STATUS button, then REQUEST PERMISSIN and allowed tracking.
For emulator iphone 14 pro is everything ok. I have the same log how you. But this is log on real device iphone 11 pro.
That looks right an denied in this case means that you have denied tracking system wide. Please check the privacy settings on your iPhone @nowitz.
Do you know, where is it pls.? I can't find it :-/ @mahnuh
Settings > Privacy & Security > Tracking
👍 Ok I found it a it work ok. @mahnuh 👎 But then i don't know what apple means report from release review?
Guideline 2.1 - Information Needed
We're looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 16.1.
Next Steps
Please explain where we can find the App Tracking Transparency permission request in your app. The request should appear before any data is collected that could be used to track the user.
If you've implemented App Tracking Transparency but the permission request is not appearing on devices running the latest OS, please review the available documentation and confirm App Tracking Transparency has been correctly implemented.
If your app does not track users, update your app privacy information in App Store Connect to not declare tracking. You must have the Account Holder or Admin role to update app privacy information.
Resources
Tracking is linking data collected from your app with third-party data for advertising purposes, or sharing the collected data with a data broker. Learn more about tracking.
See Frequently Asked Questions about the requirements for apps that track users.
Review developer documentation for App Tracking Transparency.
Does it work with your app as well? I can only recommend to make a video of the working request in your app and provide it to the Apple review team.
Yes, after enable tracking everything ok in my app. Thank you for your time and I will try some create video for apple. I'm guessing that Apple has tracking enabled during testing.
Bug Report
The plugin worked good with iOS version < 16.0, bud then I install my app on device with iOS 16.1, the confirm dialog "Asking Permission to Track" did not show.
Plugin version: [x] 2.0.3
Capacitor version: [x] 4.2.0
Current behavior: Confirm dialog "Asking Permission to Track" did not show.
Expected behavior: Confirm dialog"Asking Permission to Track" will show.
Related code: I have the code as shown (readme). https://github.com/mahnuh/capacitor-plugin-app-tracking-transparency/blob/main/README.md
Other information: Response from Apple review:
Ionic info: