From ba5f3f457fa6eb63b1b0e73561b767ade1473e44 Mon Sep 17 00:00:00 2001
From: Bel LaPointe <153096461+breel-render@users.noreply.github.com>
Date: Sun, 16 Nov 2025 18:54:30 -0700
Subject: [PATCH] stub
---
.gitignore | 1 +
cmd/app/main.dart | 26 ++++++++++++++++++++++++++
mise.toml | 2 ++
permissions.android.todo | 2 ++
pubspec.yaml.todo | 2 ++
5 files changed, 33 insertions(+)
create mode 100644 .gitignore
create mode 100644 cmd/app/main.dart
create mode 100644 mise.toml
create mode 100644 permissions.android.todo
create mode 100644 pubspec.yaml.todo
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..78fd378
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+**/*.sw*
diff --git a/cmd/app/main.dart b/cmd/app/main.dart
new file mode 100644
index 0000000..26fe10a
--- /dev/null
+++ b/cmd/app/main.dart
@@ -0,0 +1,26 @@
+import 'package:location/location.dart';
+
+Location location = Location();
+location.enableBackgroundMode(enable: true)
+
+bool serviceEnabled;
+PermissionStatus permissionGranted;
+LocationData locationData;
+
+serviceEnabled = await location.serviceEnabled();
+if (!serviceEnabled) {
+ serviceEnabled = await location.requestService();
+ if (!serviceEnabled) {
+ return;
+ }
+}
+
+permissionGranted = await location.hasPermission();
+if (permissionGranted == PermissionStatus.denied) {
+ permissionGranted = await location.requestPermission();
+ if (permissionGranted != PermissionStatus.granted) {
+ return;
+ }
+}
+
+locationData = await location.getLocation();
diff --git a/mise.toml b/mise.toml
new file mode 100644
index 0000000..24f7780
--- /dev/null
+++ b/mise.toml
@@ -0,0 +1,2 @@
+[tools]
+flutter = "latest"
diff --git a/permissions.android.todo b/permissions.android.todo
new file mode 100644
index 0000000..eb0c7ae
--- /dev/null
+++ b/permissions.android.todo
@@ -0,0 +1,2 @@
+
+
diff --git a/pubspec.yaml.todo b/pubspec.yaml.todo
new file mode 100644
index 0000000..980f0a9
--- /dev/null
+++ b/pubspec.yaml.todo
@@ -0,0 +1,2 @@
+dependencies:
+ location: ^5.0.0