Initial feature gating and A/B testing integration (#3122)
* Add statsig dependency * Add SDK provider * Move to separate file, add tier and hashing * Disable local storage for now * Add initial gate testing fixture * Fork for web just in case * More WIP * wip * Rm test gate * Add shim on native * Clarify
This commit is contained in:
parent
26fc0cf66d
commit
eb298d2e60
6 changed files with 259 additions and 33 deletions
11
src/lib/statsig/statsig.tsx
Normal file
11
src/lib/statsig/statsig.tsx
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import React from 'react'
|
||||
|
||||
export function useGate(_gateName: string) {
|
||||
// Not enabled for native yet.
|
||||
return false
|
||||
}
|
||||
|
||||
export function Provider({children}: {children: React.ReactNode}) {
|
||||
// Not enabled for native yet.
|
||||
return children
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue