File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 33using Android . Content ;
44using Android . Locations ;
55using Android . OS ;
6+ using Android . Runtime ;
67using Android . Support . V4 . App ;
78using Shared . Dtos ;
89
910namespace Tracked . Droid . Location {
10- [ Service ( Enabled = true ) ]
11+ [ Register ( "com.samorme.tracked.LocationService" ) ]
1112 public class LocationService : Service , ILocationListener {
1213 private const string channelId = "default" ;
1314 public static string MainActivityAction = "OpenedFromLocationServiceNotification" ;
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<manifest xmlns : android =" http://schemas.android.com/apk/res/android" android : versionCode =" 9" android : versionName =" 1.3.5" package =" com.samorme.tracked" android : installLocation =" internalOnly" >
3- <uses-sdk android : minSdkVersion =" 29" android : targetSdkVersion =" 30" />
4- <application />
3+ <uses-sdk android : minSdkVersion =" 29" android : targetSdkVersion =" 30" />
4+ <application >
5+ <service android : enabled =" true" android : foregroundServiceType =" location" android : exported =" false" android : name =" com.samorme.tracked.LocationService" />
6+ </application >
57</manifest >
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ public bool IsUploading {
4343 OnPropertyChanged ( nameof ( UploadText ) ) ;
4444 OnPropertyChanged ( nameof ( ShowUploadCount ) ) ;
4545 OnPropertyChanged ( nameof ( PendingUploudCount ) ) ;
46+ OnPropertyChanged ( nameof ( IsRefreshing ) ) ;
4647 }
4748 }
4849 }
You can’t perform that action at this time.
0 commit comments