Solved problem of background service crashing - it is a 'feature' of Android 8 where background services are shutdown when the main activity stops. Solution is to make the service a 'Foreground Service' instead (I think - testing now....)

This commit is contained in:
Graham Jones
2019-01-14 23:31:02 +00:00
parent 77c3f9d48e
commit 4308e90f26
4 changed files with 25 additions and 10 deletions

View File

@@ -6,9 +6,10 @@ buildscript {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.android.tools.build:gradle:3.3.0'
}
}
allprojects {