davide-scalzo / react-native-mixpanel

A React Native wrapper for Mixpanel tracking
MIT License
455 stars 195 forks source link

Disable IP address Geolocalizaiton for GDPR related issues on iOS #145

Closed racingDeveloper closed 6 years ago

racingDeveloper commented 6 years ago

On iOS: if (Platform.OS === "ios") { Mixpanel.disableIpAddressGeolocalization(); }

On Android you just need to add to the AndroidManifest file:
<meta-data android:name="com.mixpanel.android.MPConfig.UseIpAddressForGeolocation" android:value="false" />

ghost commented 6 years ago

DeepCode found the following issues:

Critical: 0 Warning: 0 Info: 0

Priority breakdown:

Security Defect API Anomaly Rename Lint Info
Critical 0 0 0 0 0 0 0
Warning 0 0 0 0 0 0 0
Info 0 0 0 0 0 0 0

Most affected files:

File Critical Warning Info

See detailed analysis.