Expose appInForeground to Java for MainActivity lifecycle updates.
All checks were successful
Build / increment-version (push) Successful in 5s
Build / build-android (push) Successful in 4m43s

This commit is contained in:
2026-07-24 15:08:55 +10:00
parent ca889f2eec
commit 86dc7f849a

View File

@@ -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 @Volatile
var appInForeground = false var appInForeground = false