Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CrowdHandlerProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import CHReactNativeGatekeeper from './CHReactNativeGatekeeper';

const CrowdHandlerContext = createContext(null)

export const CrowdHandlerProvider = ({apiKey, chEvents, children, debug=false}) => {
export const CrowdHandlerProvider = ({apiKey, chEvents, children, timeout, debug=false}) => {
const CH_CONFIG = { CH_KEY : apiKey }
const gatekeeper = new CHReactNativeGatekeeper(CH_CONFIG, chEvents, debug);
const gatekeeper = new CHReactNativeGatekeeper(CH_CONFIG, chEvents, timeout, debug);
return <CrowdHandlerContext.Provider value={gatekeeper}>{children}</CrowdHandlerContext.Provider>
}

Expand Down