Add support to AppTrackingTransparency permission on iOS
complete
Charlie Cruzan
complete
Available in the most recent patch release for SDK 41- https://docs.expo.io/versions/latest/sdk/tracking-transparency/
Brent Vatne
planned
Brent Vatne
for now you can use the permissions requester from expo-facebook (https://docs.expo.io/versions/v41.0.0/sdk/facebook/#facebookgetpermissionsasync) or expo-ads-admob or expo-ads-facebook. we'll add a specific api for this in a separate module soon. that said, adding a library like expo-facebook doesn't have a significant impact in the managed workflow, because you're really only including the related js code, the native code is already bundled if you use
expo build
(read more about that here: https://blog.expo.io/expo-managed-workflow-in-2021-5b887bbf7dbb)Nyasha (Nash) Nziramasanga
Brent Vatne: Cheers for the update looking forward to the final implementation
Arkady Sladkoff
Brent Vatne: Sorry I can't found getPermissionsAsync() method in expo-facebook 9.0.0 Looks like solution doesn't work.
Could you provide some information on when Expo plan to support AppTrackingTransparency in managed workflow? In fact, I think a lot of people are waiting for this now. If this does not happen, in the near future, then all of them will have to abandon the Expo.
Brent Vatne
Arkady Sladkoff: you need to be on sdk 41. as i said, you can use this right now, today, so we do support it. we already have a pr open to split into a separate module, but the only difference is to satisfy people's aesthetic preferences: https://github.com/expo/expo/pull/12857
Babafemi Adigun
Brent Vatne: will this work without ejecting the app? cos its not working for me at all.
Wodin
Babafemi Adigun: Yes, I believe it's intended to work in these three environments:
* Apps built with
expo build
(use iso.infoPlist and android.permissions in app.json)* Bare workflow (follow the instructions for the Bare workflow in the tracking transparency docs)
* Apps built with EAS Build (Add the config plugin to app.json as shown here)
FitCalc
There is requestPermissionsAsync() function in expo ads admob, but it causes crashes in my case in build version :(
Václav Ryska
As of today (26.4.2021), all apps that use custom user generated content (name, email, phone) are required to use AppTrackingTransparency framework in order to get approved to AppStore. I'm surprised Expo didn't introduce it in expo-permissions already, since it's just a standard permission popup. Any ideas how to use this in managed workflow?
Hayden Bleasel
Václav Ryska: You can use the Admob library temporarily. Have written a short description here: https://dev.to/haydenbleasel/implementing-ios-14-5-tracking-transparency-in-expo-sdk41-34id