[CHANGEME] this app collects location data for feature x and feature y getting this issue
Closed this issue · 3 comments
siddhantunico commented
Your Environment
- Plugin version:
- Platform: iOS or Android
- OS version:
- Device manufacturer / model:
- Flutter info (
flutter doctor
): - Plugin config:
PASTE_YOUR_CODE_HERE
Expected Behavior
Actual Behavior
Context
Trying to ask permission of geolocation
-->
Logs
await bg.BackgroundGeolocation.ready(
bg.Config(
reset:
true, // <-- lets the Settings screen drive the config rather than re-applying each boot.
// Convenience option to automatically configure the SDK to post to Transistor Demo server.
// Logging & Debug
debug: false,
logLevel: bg.Config.LOG_LEVEL_VERBOSE,
// Geolocation options
desiredAccuracy: bg.Config.DESIRED_ACCURACY_HIGH,
distanceFilter: 10.0,
// Activity recognition options
stopTimeout: 5,
backgroundPermissionRationale: bg.PermissionRationale(
title:
"Allow {applicationName} to access this device's location even when the app is closed or not in use.",
message: SizeConfig().isTablet(Get.context!)
? "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tThis app collects location data to enable recording your campus location"
: "This app collects location data to enable recording your campus location",
positiveAction: 'Change to "{backgroundPermissionOptionLabel}"',
negativeAction: 'Cancel'),
// HTTP & Persistence
autoSync: true,
disableLocationAuthorizationAlert: true,
// Application options
stopOnTerminate: false,
startOnBoot: true,
enableHeadless: true,
heartbeatInterval: 60,
activityRecognitionInterval: 0,
disableMotionActivityUpdates: true, // Ensure this is set as true
isMoving: true, // Ensure tracking starts immediately
),
)
christocracy commented
The issue template is not optional, it’s required.
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
github-actions commented
This issue was closed because it has been inactive for 14 days since being marked as stale.