Expose appInForeground to Java for MainActivity lifecycle updates.
This commit is contained in:
@@ -948,7 +948,8 @@ class MatrixSyncService : Service() {
|
||||
}
|
||||
}
|
||||
|
||||
/** Set by [SyncServicePlugin] — true when the Capacitor WebView UI is visible. */
|
||||
/** Set by [SyncServicePlugin] / [MainActivity] — true when the Capacitor UI is visible. */
|
||||
@JvmField
|
||||
@Volatile
|
||||
var appInForeground = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user