CleverTap / clevertap-react-native

CleverTap React Native SDK
Other
59 stars 71 forks source link

User location shows up as "Unknown, Unknown" on clevertap dashboard #107

Closed mohsinulhaq closed 4 years ago

mohsinulhaq commented 4 years ago

image

As you can see, the latitude and longitude are correctly populating as a result of calling setLocation function. But how do we set the Location? Can't find anything in the docs.

darshanclevertap commented 4 years ago

@mohsinulhaq Ensure that you're calling our enableDeviceNetworkInfoReporting method. This notifies our systems to track the requests to get city-level information as per GDPR laws. You can find the method here.

If the problem persists after using the above method, I would suggest raising a support ticket from the dashboard so that the concerned team can help you resolve the issue at the earliest. Thanks!

mohsinulhaq commented 4 years ago

@darshanclevertap thanks, so do we have to enable only if we don't have our apps distributed outside the EU? Or does it store the location in compliance with GPDR?

darshanclevertap commented 4 years ago

@mohsinulhaq If GDPR laws apply to your app, then you should ask the user's consent before setting this method to true. By default, CleverTap doesn't track the location of a user from the SDK requests.

mohsinulhaq commented 4 years ago

ok, got it, thanks a lot! @darshanclevertap