I got some question regarding the docs on ATT
1st question?
Is it mandatory that requestTrackingPermissionsAsync
is called within a useEffect
?
Or would it be okay to do something like
App.tsx
...
requestTrackingPermissionsAsync()
export default function App() {
const { appIsReady, onLayoutRootView, skipLandingScreen } = useCachedResources()
if (!appIsReady) return null
return (
<View>
....
</View>
2nd question
Would it be a problem if the requestTrackingPermissionsAsync
is called when the app is in the background?