logs & version bump
This commit is contained in:
parent
283800aafd
commit
3547412dc4
2 changed files with 9 additions and 3 deletions
|
@ -209,11 +209,17 @@ Future<void> _killBGTask([String taskId]) async {
|
|||
if (taskId != null) {
|
||||
BackgroundFetch.finish(taskId);
|
||||
}
|
||||
Isolate.current.kill(priority: Isolate.immediate);
|
||||
if (Platform.isIOS) {
|
||||
_logger.info('avoid killing current isolate');
|
||||
}
|
||||
else {
|
||||
_logger.info('kill current isolate');
|
||||
Isolate.current.kill(priority: Isolate.immediate);
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {
|
||||
bool isRunningInFG = await _isRunningInForeground();
|
||||
bool isRunningInFG = await _isRunningInForeground(); // hb
|
||||
bool isInForeground = AppLifecycleService.instance.isForeground;
|
||||
if (_isProcessRunning) {
|
||||
_logger.info(
|
||||
|
|
|
@ -11,7 +11,7 @@ description: ente photos application
|
|||
# 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: 0.5.7+286
|
||||
version: 0.5.8+287
|
||||
|
||||
environment:
|
||||
sdk: ">=2.10.0 <3.0.0"
|
||||
|
|
Loading…
Reference in a new issue