We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25752a1 + 301257e commit 091667dCopy full SHA for 091667d
1 file changed
CrowdHandlerProvider.tsx
@@ -4,9 +4,9 @@ import CHReactNativeGatekeeper from './CHReactNativeGatekeeper';
4
5
const CrowdHandlerContext = createContext(null)
6
7
-export const CrowdHandlerProvider = ({apiKey, chEvents, children, debug=false}) => {
+export const CrowdHandlerProvider = ({apiKey, chEvents, children, timeout, debug=false}) => {
8
const CH_CONFIG = { CH_KEY : apiKey }
9
- const gatekeeper = new CHReactNativeGatekeeper(CH_CONFIG, chEvents, debug);
+ const gatekeeper = new CHReactNativeGatekeeper(CH_CONFIG, chEvents, timeout, debug);
10
return <CrowdHandlerContext.Provider value={gatekeeper}>{children}</CrowdHandlerContext.Provider>
11
}
12
0 commit comments