setReportLocation static method

void setReportLocation(
  1. bool reportLocation
)

Sets user's preference to allow Flurry to record location via GPS.

Location reporting depends on reportLocation value for Android whereas iOS decides based on user permissions of the app.

Implementation

static void setReportLocation(bool reportLocation) {
  flurryAgent?.setReportLocation(reportLocation);
}