Files
21/react-native-device-info.js
2026-04-06 02:32:46 +02:00

6 lines
238 B
JavaScript

import Constants from 'expo-constants';
export const getBundleId = () => Constants.expoConfig?.android?.package ?? '';
export const getVersion = () => Constants.expoConfig?.version ?? '0.0.0';
export default { getBundleId, getVersion };