mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.33k stars 559 forks source link

app not uploaded on apple store error comes #540

Open WaseemAhmed645 opened 3 years ago

WaseemAhmed645 commented 3 years ago

Your Environment

Include as many relevant details about the environment you experienced the bug in Please specify exact version numbers and don't use terms like "latest", as such reference to numeric version changes over the time

Context

when we upload our app on apple its show the unresolved related background tracking in our application i jus developer ordering system where user can place the order and rider will get the order come to the customer location and user can see the rider location on every point using your library

Expected Behavior

App publish on apple store

Actual Behavior

Rejected due to tracking transparency issue

Possible Fix

No Success

Context

Error i am getting from a apple store.

Regarding 5.1.1, we still found that your app requests the user’s consent to access the location, but doesn’t sufficiently explain the use of the location in the purpose string. To resolve this issue, it would be appropriate to revise the relevant purpose string in your app’s Info.plist file to specify why your app needs access to the user's location.

Additionally, we need more information to continue. Specifically, we noticed that your app uses the AppTrackingTransparency framework, but we haven’t been able to locate the App Tracking Transparency permission request.

Next Steps

Please indicate where in your app we can find the AppTrackingTransparency permission request. The request should appear before any data is collected that could be used to track the user.

Apps that track user’s activity must implement App Tracking Transparency and request permission before collecting data used to track.

chhornponleu commented 3 years ago

It seems like you will need to provide extra config in the Info.plist https://github.com/mauron85/react-native-background-geolocation#ios-setup