File size: 3,576 Bytes
f0ccdab | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | {
"expo": {
"name": "Mentra SDK RN",
"slug": "mentra-sdk-rn-example",
"version": "1.0.0",
"orientation": "portrait",
"userInterfaceStyle": "light",
"icon": "./assets/app-icon.png",
"splash": {
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"ios": {
"supportsTablet": false,
"bundleIdentifier": "com.mentra.bluetoothsdk.example.reactnative",
"entitlements": {
"com.apple.developer.networking.HotspotConfiguration": true,
"com.apple.developer.networking.wifi-info": true
},
"infoPlist": {
"UIBackgroundModes": [
"audio"
],
"NSBluetoothAlwaysUsageDescription": "This example app uses Bluetooth to connect to smart glasses.",
"NSBluetoothPeripheralUsageDescription": "This example app uses Bluetooth to connect to smart glasses.",
"NSCameraUsageDescription": "This example app can trigger camera capture on connected smart glasses.",
"NSLocalNetworkUsageDescription": "This example app can talk to local media upload and streaming preview servers.",
"NSMicrophoneUsageDescription": "This example app can stream microphone audio from connected smart glasses.",
"NSPhotoLibraryUsageDescription": "This example app can save photos from connected smart glasses to your photo library."
}
},
"android": {
"package": "com.mentra.bluetoothsdk.example.reactnative",
"softwareKeyboardLayoutMode": "pan",
"blockedPermissions": [
"android.permission.FOREGROUND_SERVICE_DATA_SYNC",
"android.permission.FOREGROUND_SERVICE_LOCATION",
"android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK",
"android.permission.FOREGROUND_SERVICE_MICROPHONE"
],
"permissions": [
"android.permission.BLUETOOTH",
"android.permission.BLUETOOTH_ADMIN",
"android.permission.BLUETOOTH_SCAN",
"android.permission.BLUETOOTH_CONNECT",
"android.permission.ACCESS_FINE_LOCATION",
"android.permission.ACCESS_COARSE_LOCATION",
"android.permission.NEARBY_WIFI_DEVICES",
"android.permission.CAMERA",
"android.permission.RECORD_AUDIO",
"android.permission.INTERNET",
"android.permission.POST_NOTIFICATIONS"
]
},
"plugins": [
"./plugins/withAndroid16KbPageSize",
[
"@mentra/bluetooth-sdk",
{
"node": true
}
],
[
"expo-build-properties",
{
"ios": {
"deploymentTarget": "15.5"
},
"android": {
"minSdkVersion": 33,
"usesCleartextTraffic": true,
"packagingOptions": {
"exclude": [
"**/libcoder.so"
],
"pickFirst": [
"**/libc++_shared.so",
"**/libonnxruntime.so",
"**/libonnxruntime4j_jni.so"
]
}
}
}
],
[
"expo-audio",
{
"enableBackgroundPlayback": false,
"enableBackgroundRecording": false
}
],
[
"expo-splash-screen",
{
"backgroundColor": "#ffffff",
"image": "./assets/glasses/mentra_live.png",
"imageWidth": 200
}
],
"expo-video",
"react-native-wifi-reborn",
"./plugins/withConnectedDeviceForegroundService"
]
}
}
|