-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.ts
More file actions
51 lines (50 loc) · 1.63 KB
/
app.config.ts
File metadata and controls
51 lines (50 loc) · 1.63 KB
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
import { ExpoConfig, ConfigContext } from 'expo/config'
export default ({ config }: ConfigContext): ExpoConfig => ({
...config,
slug: 'document-reader',
name: 'Document',
orientation: 'portrait',
icon: 'images/icon.png',
ios: {
bundleIdentifier: 'com.regula.example.dr.react',
infoPlist: {
NSCameraUsageDescription: 'To use camera',
NSPhotoLibraryUsageDescription: 'To use gallery',
NFCReaderUsageDescription: 'To use NFC',
NSBluetoothAlwaysUsageDescription: 'To use bluetooth',
'com.apple.developer.nfc.readersession.iso7816.select-identifiers': [
'A0000002471001',
'E80704007F00070302',
'A000000167455349474E',
'A0000002480100',
'A0000002480200',
'A0000002480300',
'A0000002480400',
'A00000045645444C2D3031',
'D2760000850101',
]
},
entitlements: { 'com.apple.developer.nfc.readersession.formats': ['TAG'] },
appleTeamId: ''
},
android: {
package: 'com.regula.example.dr.react',
permissions: [
'android.permission.BLUETOOTH_CONNECT',
'android.permission.NFC'],
edgeToEdgeEnabled: true
},
plugins: [
['expo-custom-assets', { assetsPaths: ['./assets'] }],
['expo-build-properties', {
android: {
extraMavenRepos: [
{ url: 'https://maven.regulaforensics.com/RegulaDocumentReader' },
{ url: 'https://maven.regulaforensics.com/RegulaDocumentReader/Beta' },
{ url: 'https://maven.regulaforensics.com/RegulaDocumentReader/Nightly' },
{ url: 'https://maven.regulaforensics.com/RegulaDocumentReader/Stage' }
]
}
}]
]
})