c2ca84c636
* Temporarily remove Bitdrift * Rm plugin
28 lines
862 B
TypeScript
28 lines
862 B
TypeScript
// import {init} from '@bitdrift/react-native'
|
|
// import {Statsig} from 'statsig-react-native-expo'
|
|
// export {debug, error, info, warn} from '@bitdrift/react-native'
|
|
|
|
// import {initPromise} from './statsig/statsig'
|
|
|
|
// const BITDRIFT_API_KEY = process.env.BITDRIFT_API_KEY
|
|
|
|
// initPromise.then(() => {
|
|
// let isEnabled = false
|
|
// try {
|
|
// if (Statsig.checkGate('enable_bitdrift')) {
|
|
// isEnabled = true
|
|
// }
|
|
// } catch (e) {
|
|
// // Statsig may complain about it being called too early.
|
|
// }
|
|
// if (isEnabled && BITDRIFT_API_KEY) {
|
|
// init(BITDRIFT_API_KEY, {url: 'https://api-bsky.bitdrift.io'})
|
|
// }
|
|
// })
|
|
|
|
// TODO: Reenable when the build issue is fixed.
|
|
export function debug(_message: string) {}
|
|
export function error(_message: string) {}
|
|
export function info(_message: string) {}
|
|
export function warn(_message: string) {}
|