You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ type Config = {
76
76
pingServerUrl?: string ='https://google.com',
77
77
withExtraHeadRequest?: boolean =true,
78
78
checkConnectionInterval?: number =0,
79
+
checkInBackground?: boolean =false,
79
80
}
80
81
```
81
82
@@ -90,6 +91,8 @@ type Config = {
90
91
91
92
`checkConnectionInterval`: the interval (in ms) you want to ping the server at. The default is 0, and that means it is not going to regularly check connectivity.
92
93
94
+
`checkInBackground`: whether or not to check connectivity when app isn't active. Default is `false`.
0 commit comments