We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3ff210 commit a0a3b0dCopy full SHA for a0a3b0d
packages/core/src/flushPolicies/background-flush-policy.ts
@@ -18,7 +18,7 @@ export class BackgroundFlushPolicy extends FlushPolicyBase {
18
'change',
19
(nextAppState) => {
20
if (
21
- this.appState === 'active' &&
+ (this.appState === 'active' || this.appState === 'unknown') &&
22
['inactive', 'background'].includes(nextAppState)
23
) {
24
// When the app goes into the background we will trigger a flush
0 commit comments