Skip to content

Commit

Permalink
Merge pull request #218 from LezdCS/develop
Browse files Browse the repository at this point in the history
2.4.5
  • Loading branch information
LezdCS authored Jul 22, 2024
2 parents cd58186 + 27d2c41 commit 93740f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="dev.lezd.www.irllink">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />
<!-- REQUEST_IGNORE_BATTERY_OPTIMIZATIONS for wakelock -->
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<!-- <uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" /> -->
<!-- <uses-permission android:name="android.permission.USE_EXACT_ALARM" /> -->
<uses-permission android:name="android.permission.USE_EXACT_ALARM" tools:node="remove"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" /> -->
<!-- ACCESS_FINE_LOCATION and ACCESS_BACKGROUND_LOCATION for Geolocator -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ class RealtimeIrlViewController extends GetxController {

Future start() async {
realtimeIrl.status.value = RtIrlStatus.updating;
DataState<Position> p = await determinePosition();

timerRtIrl = Timer.periodic(const Duration(seconds: 4), (Timer t) async {
DataState<Position> p = await determinePosition();
if (p is DataSuccess &&
realtimeIrl.status.value == RtIrlStatus.updating) {
DataState updateResult = await realtimeIrl.updatePosition(p.data!);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.4.4+62
version: 2.4.5+63

environment:
sdk: '>=2.19.0-0 <4.0.0'
Expand Down

0 comments on commit 93740f4

Please sign in to comment.