-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.config.js
More file actions
156 lines (156 loc) · 4.25 KB
/
Copy pathapp.config.js
File metadata and controls
156 lines (156 loc) · 4.25 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
module.exports = {
name: 'Keysoft',
slug: 'keysoft',
version: '3.1.0',
scheme: 'keysoft',
orientation: 'default', // Supports both portrait and landscape
userInterfaceStyle: 'automatic',
updates: {
url: 'https://u.expo.dev/9d2d2679-63b2-47d7-bd9d-e620a2231f60',
},
runtimeVersion: {
policy: 'appVersion',
},
icon: './assets/icon.png', // Original Keysoft shield icon
splash: {
image: './assets/splash-icon.png',
resizeMode: 'contain',
backgroundColor: '#FFFFFF',
dark: {
image: './assets/splash-icon.png',
backgroundColor: '#161826',
},
},
assetBundlePatterns: ['**/*'],
// ios: {
// supportsTablet: true,
// bundleIdentifier: "it.mikesoft.keysoft",
// buildNumber: "1",
// infoPlist: {
// NSFaceIDUsageDescription: "This app uses Face ID to protect access to your passwords",
// },
// },
ios: {
supportsTablet: true, // Explicit iPad support
bundleIdentifier: 'it.mikesoft.keysoft',
buildNumber: '1',
infoPlist: {
NSFaceIDUsageDescription: 'This app uses Face ID to protect access to your passwords',
UIRequiresFullScreen: false, // Allows Split View and Slide Over on iPad
},
privacyManifests: {
NSPrivacyTracking: false,
NSPrivacyCollectedDataTypes: [],
NSPrivacyAccessedAPITypes: [
{
NSPrivacyAccessedAPIType: 'NSPrivacyAccessedAPICategoryUserDefaults',
NSPrivacyAccessedAPITypeReasons: ['CA92.1'],
},
],
},
},
android: {
adaptiveIcon: {
foregroundImage: './assets/adaptive-icon.png',
backgroundColor: '#FFFFFF',
},
package: 'it.mikesoft.keysoft',
versionCode: 127,
permissions: [
'INTERNET',
'USE_BIOMETRIC',
'USE_FINGERPRINT',
'CAMERA',
'POST_NOTIFICATIONS',
'VIBRATE',
],
// Block unnecessary permissions that may be added automatically
blockedPermissions: [
'android.permission.RECORD_AUDIO',
'android.permission.READ_MEDIA_IMAGES',
'android.permission.READ_MEDIA_VIDEO',
],
allowBackup: false,
// Support multiple screen sizes
resizeableActivity: true, // Supporta multi-window mode su Android
// Explicit tablet and TV support
supportsTablet: true,
// Android TV configuration
isTVExperiment: false, // Not a TV-first app, but compatible
// Intent filters per deep linking
intentFilters: [
{
action: 'VIEW',
data: {
scheme: 'keysoft',
},
category: ['BROWSABLE', 'DEFAULT'],
},
],
// Android 15+: the app uses Expo system UI modules and safe-area layouts.
// React Native may retain compatibility references to deprecated bar-color APIs.
softwareKeyboardLayoutMode: 'pan',
// 16 KB page size support (Android 15)
// Required for compatibility with newer devices
// enableNativePageSize16KB: true,
},
web: {
favicon: './assets/favicon.png',
bundler: 'metro',
eas: {
projectId: '9d2d2679-63b2-47d7-bd9d-e620a2231f60',
},
},
plugins: [
'expo-asset',
'expo-status-bar',
'expo-font',
[
'expo-build-properties',
{
android: {
// Target Android 16 (API 36) stable.
compileSdkVersion: 36,
targetSdkVersion: 36,
enableMinifyInReleaseBuilds: true,
enableShrinkResourcesInReleaseBuilds: true,
useLegacyPackaging: false,
},
},
],
[
'expo-local-authentication',
{
faceIDPermission:
"Consenti a Keysoft di utilizzare Face ID per proteggere l'accesso alle tue password.",
},
],
[
'expo-image-picker',
{
photosPermission:
"L'app accede alle foto solo per permetterti di scegliere un'immagine del profilo personale.",
},
],
'expo-localization',
'expo-system-ui',
[
'expo-navigation-bar',
{
enforceContrast: false,
},
],
'expo-secure-store',
'expo-sharing',
'./plugins/withOptionalAndroidFeatures.js',
'./plugins/withArgon2ProGuard.js',
'./plugins/withAndroidReleaseOptimization.js',
],
extra: {
eas: {
projectId: '9d2d2679-63b2-47d7-bd9d-e620a2231f60',
},
},
platforms: ['ios', 'android', 'web'],
// scheme: "keysoft"
};