Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/0.15.0 #121

Merged
merged 93 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
91b6ca6
refactor: Improve settings code
Myzel394 Sep 3, 2023
3c99088
feat: Add use realtime updates to SettingsService.dart
Myzel394 Sep 4, 2023
51499cb
feat: Add UseRealtimeUpdatesTile.dart to SettingsScreen.dart
Myzel394 Sep 4, 2023
f53884f
refactor: Refactoring manager service
Myzel394 Sep 5, 2023
107cd6a
fix(android): Setup AndroidManifest.xml for background locator
Myzel394 Sep 5, 2023
96fe126
fix(ios): Setup background locator for iOS
Myzel394 Sep 5, 2023
941254a
fix(android): Register on boot completed
Myzel394 Sep 5, 2023
5c84e6f
feat: Register background locator on use realtime and use background …
Myzel394 Sep 5, 2023
e14d92d
refactor: Move task_service.dart into it's own subfolder
Myzel394 Sep 5, 2023
2b095af
feat: Add outstanding location field to task
Myzel394 Sep 5, 2023
2a651bb
feat: Add location point accumulation when sending fails; Closes #109
Myzel394 Sep 5, 2023
3da849b
feat: Change simple list based outstanding location publish service t…
Myzel394 Sep 5, 2023
ac56357
refactor: Create own classes for tasks
Myzel394 Sep 6, 2023
66f5fc0
fix: Fix tasks key
Myzel394 Sep 6, 2023
407abd1
refactor: Add MapCompass.dart
Myzel394 Sep 6, 2023
d2081f6
ui: Add tooltipSpacing to MapCompass.dart
Myzel394 Sep 6, 2023
835fe82
refactor: Add GoToMyLocationMapAction.dart
Myzel394 Sep 6, 2023
e9c3fec
feat: Use zoom on location update in UI when is far zoomed in, otherw…
Myzel394 Sep 6, 2023
a7af971
refactor: Rename MapCompass.dart -> CompassMapAction.dart
Myzel394 Sep 6, 2023
b2acd0b
feat: Improve background location update minimum distance filter
Myzel394 Sep 6, 2023
cd9fddb
feat: Run background locator task
Myzel394 Sep 7, 2023
87c3674
fix: Fix l10n key
Myzel394 Sep 7, 2023
3051093
fix: Improve background location updating
Myzel394 Sep 7, 2023
b731cee
dx: Add task executions to SettingsScreen.dart
Myzel394 Sep 7, 2023
0d118f2
fix: Fix task being identified as a quick share
Myzel394 Sep 7, 2023
b9efb87
feat: Add animation to GoToMyLocationMapAction.dart
Myzel394 Sep 7, 2023
f01f5b2
feat: Improve initial map behavior
Myzel394 Sep 7, 2023
90e6cd8
fix: Fix starting background locator
Myzel394 Sep 7, 2023
b4a88de
Merge pull request #116 from Myzel394/add-realtime-update
Myzel394 Sep 8, 2023
56993ee
refactor: Use new LocationFetchers.dart to fetch locations
Myzel394 Sep 8, 2023
5c20b47
fix: Fix empty location fetcher
Myzel394 Sep 9, 2023
120482b
feat: Show last location circle when all are shown and show all when …
Myzel394 Sep 9, 2023
1dff5e0
chore: Update constraints
Myzel394 Sep 9, 2023
9dcaced
feat: Jump to correct position on location change
Myzel394 Sep 9, 2023
e272f9b
feat: Jump to correct position on location change
Myzel394 Sep 9, 2023
2aecce9
feat: Add absolute date value to ViewDetails.dart
Myzel394 Sep 9, 2023
9d035bd
feat: Remove TaskDetailScreen.dart's map
Myzel394 Sep 9, 2023
5fea95d
refactor: Make LocationFetchers.dart global
Myzel394 Sep 9, 2023
c34a2f5
feat: Improve distance bento element
Myzel394 Sep 9, 2023
797b16e
feat: Improve view details
Myzel394 Sep 9, 2023
e304053
refactor: MapActionsContainer.dart
Myzel394 Sep 9, 2023
bc2f9ba
fix: Use task name as title in TaskDetailScreen.dart
Myzel394 Sep 9, 2023
b422b5f
fix: Improve location fetchers
Myzel394 Sep 9, 2023
d5449fc
fix: Improve location circle preview
Myzel394 Sep 9, 2023
91354a1
Merge pull request #118 from Myzel394/feat/0.15/improve-maps
Myzel394 Sep 9, 2023
a966a19
refactor: Move location_alarm_service.dart into own folder
Myzel394 Sep 9, 2023
a19d055
feat: Add ProximityLocationAlarm.dart
Myzel394 Sep 9, 2023
958c5e7
refactor: Add LocationRadiusSelectorMap.dart
Myzel394 Sep 12, 2023
a98359e
fix: Fix scale mode
Myzel394 Sep 13, 2023
2a489dc
fix: Add realtime update to radius
Myzel394 Sep 13, 2023
f80825f
fix: Disable location set for alarms of proximity type
Myzel394 Sep 13, 2023
92a3f2f
feat: Add current_location_service.dart for better location fetching
Myzel394 Sep 13, 2023
9091e7b
fix: Force center update on location change for proximity based alarms
Myzel394 Sep 13, 2023
c20f4dc
current stand
Myzel394 Sep 16, 2023
44be483
fix: Fix alarm previews
Myzel394 Sep 16, 2023
b8f8e96
fix: Improve alarm previews
Myzel394 Sep 16, 2023
3b9e3cf
feat: Add delete confirmation for view alarms
Myzel394 Sep 16, 2023
0eec2cd
fix: Only check for notification access if alarm is not null
Myzel394 Sep 16, 2023
ceca7aa
chore: Update flutter_logs
Myzel394 Sep 18, 2023
abb57de
fix: Fix alarm checker
Myzel394 Sep 18, 2023
0acd946
refactor: Use OOP for nostr fetching
Myzel394 Sep 23, 2023
7b5f823
feat: Add location point decrypter & improvements
Myzel394 Sep 23, 2023
a56b4b7
test: Add nonexistent nostr fetch test
Myzel394 Sep 23, 2023
2078d4d
test: Add nostr fetch
Myzel394 Sep 23, 2023
c0e7ac0
refactor: Move view_service into its own folder
Myzel394 Sep 23, 2023
064316e
fix: Fix nostr fetching timeout
Myzel394 Sep 23, 2023
8c4a93c
test: Add fetcher test
Myzel394 Sep 23, 2023
60b49f4
refactor: Use new fetchers to fetch locations
Myzel394 Sep 23, 2023
1e97823
fix: Remove unused get-locations.dart
Myzel394 Sep 23, 2023
b5062df
fix: Fix location fetchers
Myzel394 Sep 23, 2023
e863c6f
fix: Fix location fetchers
Myzel394 Sep 24, 2023
dac3042
feat: Add missing permission notification
Myzel394 Sep 24, 2023
f51a873
feat: Add repeatedly-check.dart for RequestBatteryOptimizationsDisabl…
Myzel394 Sep 24, 2023
a498beb
fix: Fix location updates
Myzel394 Sep 24, 2023
9e433ab
refactor: Improve alarm handler
Myzel394 Sep 24, 2023
c1bd92c
chore: Update packages
Myzel394 Sep 24, 2023
006d635
fix: Improve LocationsOverviewScreen.dart for iOS
Myzel394 Sep 25, 2023
6587c0d
fix: Improve map for iOS
Myzel394 Sep 26, 2023
0938858
fix: Make action destructive on iOS
Myzel394 Sep 26, 2023
1827ff0
fix: Improve spacing
Myzel394 Sep 26, 2023
4e1432f
feat: Open maps directly if one map is only available
Myzel394 Sep 26, 2023
b38b59c
Merge pull request #119 from Myzel394/feat-0.15.0-add-proximity-alarm
Myzel394 Sep 26, 2023
23b49d3
current stand
Myzel394 Sep 26, 2023
64c874c
feat: Add get-relays-meta.dart functionality
Myzel394 Sep 26, 2023
c757d00
current stand
Myzel394 Sep 27, 2023
c210024
fix: Improve spacing for iOS
Myzel394 Sep 27, 2023
8de4b32
current stand
Myzel394 Sep 27, 2023
3279cbd
feat: Add hint to relay sheet & improve relay sheet
Myzel394 Sep 27, 2023
b521edb
fix: Improve RelaySelectSheet.dart
Myzel394 Sep 27, 2023
1c6a2a9
fix: Fix out of range
Myzel394 Sep 28, 2023
9a5c31b
Merge pull request #120 from Myzel394/feat-0.15.0-sort-relays
Myzel394 Sep 28, 2023
dfafe41
fix: Fix task / shares overview switcher for iOS
Myzel394 Sep 29, 2023
53aa60e
chore: Update version
Myzel394 Sep 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

<uses-permission android:name="android.permissions.POST_NOTIFICATIONS" />

<!-- Required for background locator -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
Expand Down Expand Up @@ -79,6 +82,22 @@
android:scheme="https" />
</intent-filter>
</activity>

<service
android:name="yukams.app.background_locator_2.IsolateHolderService"
android:permission="android.permission.FOREGROUND_SERVICE"
android:exported="true"
android:foregroundServiceType="location" />

<receiver
android:name="yukams.app.background_locator_2.BootBroadcastReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>

<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
Expand Down
Binary file removed assets/bunny.mp3
Binary file not shown.
14 changes: 7 additions & 7 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PODS:
- Alamofire (5.6.2)
- apple_maps_flutter (0.0.1):
- Flutter
- audioplayers_darwin (0.0.1):
- Flutter
- background_fetch (1.1.6):
- Flutter
- background_locator_2 (0.0.1):
- Flutter
- battery_plus (1.0.0):
- Flutter
- clipboard_watcher (0.0.1):
Expand Down Expand Up @@ -96,8 +96,8 @@ PODS:

DEPENDENCIES:
- apple_maps_flutter (from `.symlinks/plugins/apple_maps_flutter/ios`)
- audioplayers_darwin (from `.symlinks/plugins/audioplayers_darwin/ios`)
- background_fetch (from `.symlinks/plugins/background_fetch/ios`)
- background_locator_2 (from `.symlinks/plugins/background_locator_2/ios`)
- battery_plus (from `.symlinks/plugins/battery_plus/ios`)
- clipboard_watcher (from `.symlinks/plugins/clipboard_watcher/ios`)
- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)
Expand Down Expand Up @@ -135,10 +135,10 @@ SPEC REPOS:
EXTERNAL SOURCES:
apple_maps_flutter:
:path: ".symlinks/plugins/apple_maps_flutter/ios"
audioplayers_darwin:
:path: ".symlinks/plugins/audioplayers_darwin/ios"
background_fetch:
:path: ".symlinks/plugins/background_fetch/ios"
background_locator_2:
:path: ".symlinks/plugins/background_locator_2/ios"
battery_plus:
:path: ".symlinks/plugins/battery_plus/ios"
clipboard_watcher:
Expand Down Expand Up @@ -187,8 +187,8 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Alamofire: d368e1ff8a298e6dde360e35a3e68e6c610e7204
apple_maps_flutter: c59725efea39e13e703cde52a1d2b14866ad68a8
audioplayers_darwin: 877d9a4d06331c5c374595e46e16453ac7eafa40
background_fetch: bc9b44b0bf8b434e282a2ac9be8662800a0296ed
background_locator_2: bc8a422343ab656d5bd98e08694c6f89fef20418
battery_plus: 9bff772a7e5e4d5381ca3ca92a97373a3d8b2738
clipboard_watcher: 86fb70421aca6f4944e0591a8292605da7784666
device_info_plus: 7545d84d8d1b896cb16a4ff98c19f07ec4b298ea
Expand Down Expand Up @@ -221,4 +221,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 819f6e738594296500811eae0a41f3dceed5a207

COCOAPODS: 1.11.3
COCOAPODS: 1.12.1
8 changes: 8 additions & 0 deletions ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import UIKit
import Flutter
import background_locator_2

func registerPlugins(registry: FlutterPluginRegistry) -> () {
if (!registry.hasPlugin("BackgroundLocatorPlugin")) {
GeneratedPluginRegistrant.register(with: registry)
}
}

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
Expand All @@ -8,6 +15,7 @@ import Flutter
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)
BackgroundLocatorPlugin.setPluginRegistrantCallback(registerPlugins)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
2 changes: 1 addition & 1 deletion lib/App.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:locus/constants/colors.dart';
import 'package:locus/screens/BiometricsRequiredStartupScreen.dart';
import 'package:locus/screens/LocationsOverviewScreen.dart';
import 'package:locus/screens/WelcomeScreen.dart';
import 'package:locus/services/settings_service.dart';
import 'package:locus/services/settings_service/index.dart';
import 'package:locus/utils/PageRoute.dart';
import 'package:locus/utils/color.dart';
import 'package:locus/widgets/DismissKeyboard.dart';
Expand Down
103 changes: 0 additions & 103 deletions lib/api/get-locations.dart

This file was deleted.

Loading
Loading