Spaces:
Running
Running
import { CapacitorConfig } from '@capacitor/cli'; | |
const config: CapacitorConfig = { | |
appId: 'com.almada.unifiedwallet', | |
appName: 'محفظتي الموحدة', | |
webDir: 'www', | |
server: { | |
androidScheme: 'https' | |
}, | |
plugins: { | |
SplashScreen: { | |
launchShowDuration: 3000, | |
launchAutoHide: true, | |
backgroundColor: "#4361ee", | |
androidSplashResourceName: "splash", | |
androidScaleType: "CENTER_CROP", | |
showSpinner: false, | |
androidSpinnerStyle: "large", | |
iosSpinnerStyle: "small", | |
spinnerColor: "#ffffff", | |
splashFullScreen: true, | |
splashImmersive: true, | |
layoutName: "launch_screen", | |
useDialog: true, | |
}, | |
StatusBar: { | |
style: "LIGHT", | |
backgroundColor: "#4361ee" | |
}, | |
Keyboard: { | |
resize: "body", | |
style: "dark", | |
resizeOnFullScreen: true | |
}, | |
LocalNotifications: { | |
smallIcon: "ic_stat_icon_config_sample", | |
iconColor: "#4361ee", | |
sound: "beep.wav" | |
}, | |
PushNotifications: { | |
presentationOptions: ["badge", "sound", "alert"] | |
}, | |
Camera: { | |
permissions: { | |
camera: "تحتاج هذه الميزة للوصول إلى الكاميرا لمسح رموز QR", | |
photos: "تحتاج هذه الميزة للوصول إلى الصور لحفظ الإيصالات" | |
} | |
}, | |
Device: { | |
permissions: { | |
device: "تحتاج هذه الميزة لتحديد هوية الجهاز للأمان" | |
} | |
} | |
}, | |
android: { | |
allowMixedContent: true, | |
captureInput: true, | |
webContentsDebuggingEnabled: false | |
}, | |
ios: { | |
contentInset: "automatic", | |
scrollEnabled: true, | |
allowsLinkPreview: false | |
} | |
}; | |
export default config; | |