refactor: migrate all cordova plugins to capacitor

This commit is contained in:
Thea Schöbl
2022-02-17 08:37:32 +00:00
committed by Rainer Killinger
parent cdb6ac4084
commit 75f4644940
36 changed files with 677 additions and 1118 deletions

View File

@@ -8,17 +8,25 @@ const config: CapacitorConfig = {
cordova: {
preferences: {
'AndroidXEnabled': 'true',
'ScrollEnabled': 'false',
'android-minSdkVersion': '22',
'BackupWebStorage': 'none',
'SplashMaintainAspectRatio': 'true',
'FadeSplashScreenDuration': '300',
'SplashShowOnlyFirstTime': 'false',
'SplashScreen': 'screen',
'SplashScreenDelay': '3000',
},
},
plugins: {
SplashScreen: {
launchShowDuration: 6000,
launchAutoHide: false,
backgroundColor: '#ffffff',
androidSplashResourceName: 'splash',
androidScaleType: 'FIT_CENTER',
showSpinner: false,
androidSpinnerStyle: 'large',
iosSpinnerStyle: 'small',
spinnerColor: '#999999',
splashFullScreen: false,
splashImmersive: false,
useDialog: false,
},
LocalNotifications: {
// TODO
},