-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcapacitor.config.js
More file actions
60 lines (53 loc) · 1.58 KB
/
Copy pathcapacitor.config.js
File metadata and controls
60 lines (53 loc) · 1.58 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
// ============================================================
// CAPACITOR CONFIG — Android .apk এবং iOS .ipa তৈরির জন্য
// ============================================================
const { CapacitorConfig } = require('@capacitor/cli');
/** @type {CapacitorConfig} */
const config = {
appId: 'com.sentinelshield.app',
appName: 'SentinelShield',
webDir: 'out', // Next.js static export output folder
bundledWebRuntime: false,
server: {
// Development-এ live reload চালু করতে uncomment করো:
// url: 'http://YOUR_LOCAL_IP:3000',
// cleartext: true,
androidScheme: 'https',
},
android: {
buildOptions: {
keystorePath: 'android/release.keystore', // তোমার keystore path
keystoreAlias: 'sentinelshield',
releaseType: 'APK',
},
// Android permissions (AndroidManifest.xml-এ যাবে)
permissions: [
'android.permission.INTERNET',
'android.permission.ACCESS_NETWORK_STATE',
'android.permission.CAMERA',
],
},
ios: {
contentInset: 'automatic',
},
plugins: {
SplashScreen: {
launchShowDuration: 2000,
launchAutoHide: true,
backgroundColor: '#050810',
androidSplashResourceName: 'splash',
androidScaleType: 'CENTER_CROP',
showSpinner: false,
splashFullScreen: true,
splashImmersive: true,
},
StatusBar: {
style: 'Dark',
backgroundColor: '#050810',
},
PushNotifications: {
presentationOptions: ['badge', 'sound', 'alert'],
},
},
};
module.exports = config;