Regardless that I imagine I’ve all the things configured correctly utilizing expo-tracking-transparency 3.0.3
to immediate the person to just accept or deny monitoring, for some cause the Apple reviewer can’t see the immediate. However once I set up the app on my cellphone, I can see it. I am utilizing the most recent iOS 16.6.1 on our work iPhone.
That is Apple evaluate response:
We're trying ahead to finishing our evaluate, however we want extra data to proceed. Your app makes use of the AppTrackingTransparency framework, however we're unable to find the App Monitoring Transparency permission request when reviewed on iOS 16.6.1.
Subsequent Steps
Please clarify the place we are able to discover the App Monitoring Transparency permission request in your app. The request ought to seem earlier than any knowledge is collected that might be used to trace the person.
When you've carried out App Monitoring Transparency however the permission request isn't showing on units working the most recent OS, please evaluate the obtainable documentation and make sure App Monitoring Transparency has been appropriately carried out.
In case your app doesn't observe customers, replace your app privateness data in App Retailer Connect with not declare monitoring. You have to have the Account Holder or Admin function to replace app privateness data.
I’ve carried out Google Google AdMob in my app utilizing react-native-admob-native-ads 0.6.6
My app is construct totally as an Expo SDK 48 managed challenge, so my complete app configuration is in app.config.js
and app.json
.
That is my configuration:
app.config.js
file is the place all of the app configuration is:
expo: {
plugins: [
"expo-localization",
[
"expo-build-properties",
{
ios: {
useFrameworks: "static",
},
},
],
[
"expo-tracking-transparency",
{
userTrackingPermission:
"This identifier will be used to deliver personalized ads to you.",
},
],
],
},
And I even have app.json
file solely with react-native-google-mobile-ads
configuration, as a result of this sort of configuration wasn’t accepted in app.config.js
file:
{
"react-native-google-mobile-ads": {
"android_app_id": "id-string",
"ios_app_id": "id-string",
"user_tracking_usage_description": "This identifier might be used to ship personalised adverts to you."
}
}
Within the app.tsx
file I’ve an useEffect
hook that initialize the immediate:
React.useEffect(() => {
;(async () => {
strive {
await TrackingTransparency.requestTrackingPermissionsAsync()
} catch (error) {
console.error({
msg: "Error requesting monitoring permissions",
error,
})
}
})()
}, [])
The advert is served utilizing the NativeAdView
element from react-native-admob-native-ads
package deal:
const nativeAdId = Platform.OS === "ios" ? Config.NATIVE_AD_ID_IOS : Config.NATIVE_AD_ID_ANDROID
<NativeAdView
fashion={$cardItem}
ref={nativeAdViewRef}
adUnitID={nativeAdId}
targetingOptions={{ key phrases }}
onNativeAdLoaded={onAdLoaded}
adChoicesPlacement="topRight"
requestNonPersonalizedAdsOnly={true}
>
<NativeMediaView
muted={true}
paused={false}
onVideoPlay={() => console.log("enjoying")}
fashion={$mediaContent}
/>
</NativeAdView>
I actually do not perceive why the immediate would not present for the Apple reviewers. I am undecided how the Apple is reviewing the apps, however for instance I’ve seen that if I set up my app through TestFlight, this immediate does not present, but when I construct the app for preview
with Expo, and obtain it to my cellphone, the immediate present each time when the app is freshly put in.
I additionally despatched a video to the reviewer to point out how the immediate is confirmed on my system, however that did not assist.
I am utterly clueless how you can remedy this situation, and I am going to admire assist. Simply, I haven’t got any iOS nor Android configuration in my challenge, all the things is Expo managed.