setIsLocationCollectionEnabled

This boolean sets whether Braze should automatically collect location (if the user permits). If set to true, location data will be collected once at the start of each session. If not specified or set to false, all location collection will be disabled and location will never be set for the user unless integrating apps manually call BrazeUser.setLastKnownLocation.

Defaults to false.

Parameters

isLocationCollectionEnabled

flag for enabling automatic location collection