ios12 background location service stopping
This seems to be a bug since iOS 12 that apps will get terminated in background for no decent reason. I've filled in a bug report.
See for more information and a demo project to demonstrate the problem here: iOS 12 terminates apps in the background for no reason
Bug is fixed in iOS 12.2 beta 2 (16E5191d)