@guidelytech/react-native 0.8.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -150,4 +150,15 @@ the foreground; guides keep working offline. Events are queued, batched and retr
150
150
  session starts after the project's inactivity timeout. The SDK never throws into your app — errors
151
151
  go to `onError` and, with `debug`, the console.
152
152
 
153
+ ## Outages
154
+
155
+ If Guidely is slow or down, your app keeps working. With a cached config the SDK waits at most
156
+ 1.5 s for the server at launch (config, then identify), starts from the cache, and applies the
157
+ fresh answer when it arrives. Events, survey answers, guide completions/dismissals and checklist
158
+ progress are queued and retried until the server takes them. After repeated failures the SDK backs
159
+ off (5 s up to 5 min, or the server's `Retry-After`) and skips config refreshes until the API
160
+ answers again. Scout replies give up when nothing arrives for 30 s, or when the stream goes quiet
161
+ for 60 s. Pass `storage` (AsyncStorage) so queued events and answers survive an app restart;
162
+ without it they are lost if the app is closed during an outage.
163
+
153
164
  Full guide: [docs/mobile.md](../../docs/mobile.md). Example app: `mobile/react-native/example`.