Rocket.Chat.ReactNative/app/lib/database/appGroup.ts

12 lines
229 B
TypeScript

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