verdnatura-chat/app/utils/appGroup.ts

12 lines
223 B
TypeScript
Raw Normal View History

import { NativeModules } from 'react-native';
import { isIOS } from './deviceInfo';
const { AppGroup } = NativeModules;
const appGroup: { path: string } = {
path: isIOS ? AppGroup.path : ''
};
export default appGroup;