Download examples/bluetooth/react-native/app.config.js from Anirudh1950/MentraOS: direct link, hf CLI and curl.
- Browser
- Download file 964 Bytes
-
https://huggingface.co/Anirudh1950/MentraOS/resolve/main/examples/bluetooth/react-native/app.config.js
- Command line
-
hf download hf://Anirudh1950/MentraOS/examples/bluetooth/react-native/app.config.js
-
curl -L -o app.config.js https://huggingface.co/Anirudh1950/MentraOS/resolve/main/examples/bluetooth/react-native/app.config.js
964 Bytes
| const {createRequire} = require('node:module') | |
| module.exports = ({config}) => { | |
| // Set a team-owned identifier before prebuild when signing outside Mentra. | |
| // Leaving this unset preserves the committed TestFlight and CI identifier. | |
| const bundleIdentifier = (process.env.MENTRA_IOS_BUNDLE_ID || '').trim() | |
| if (bundleIdentifier) { | |
| config = {...config, ios: {...config.ios, bundleIdentifier}} | |
| } | |
| const engineManifest = require.resolve('@mentra/engine/package.json') | |
| const engineRequire = createRequire(engineManifest) | |
| const engine = engineRequire(engineManifest) | |
| // Older release families do not include ACS. When Engine owns it, resolve | |
| // its plugin from that same dependency tree, including non-hoisted installs. | |
| if (!engine.dependencies?.['@mentra/acs-meeting']) return config | |
| return { | |
| ...config, | |
| plugins: [...(config.plugins ?? []), engineRequire.resolve('@mentra/acs-meeting/app.plugin.js')], | |
| } | |
| } | |