import { Platform } from 'react-native' ; import type { Config } from '.' ; export const batchApi = Platform . select ( { ios : 'http://localhost:9091' , android : 'http://10.0.2.2:9091' , } ) ; export const defaultApiHost = 'api.segment.io/v1' ; export const defaultConfig = { writeKey : '' , flushAt : 20 , flushInterval : 30 , retryInterval : 60 , maxBatchSize : 1000 , maxEventsToRetry : 1000 , trackDeepLinks : false , trackAppLifecycleEvents : false , autoAddSegmentDestination : true , } ;