Follow

Set Up Location Monitoring

Set Up Location Monitoring

If you want your app to monitor locations with Kahuna, follow these steps.

To set up location monitoring

  1. Set up your project with the Google Play services SDK. Follow the instructions in Google APIs for Android.
  2. Add the following permission to your manifest.

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  3. Paste the code below into your application at the point where you want to begin monitoring user locations.

    Kahuna.getInstance().enableLocationServices(Kahuna.LOCATION_REGION_MONITORING_OPTION);

Your application is now ready to start tracking locations.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments