diff --git a/package.cordovabuild.json b/package.cordovabuild.json index 7e1c05d56..f2ad5fc16 100644 --- a/package.cordovabuild.json +++ b/package.cordovabuild.json @@ -98,8 +98,7 @@ }, "cordova-plugin-bluetooth-classic-serial-port": {}, "cordova-custom-config": {}, - "com.unarin.cordova.beacon": {}, - "cordova-plugin-statusbar": {} + "com.unarin.cordova.beacon": {} } }, "dependencies": { @@ -137,7 +136,6 @@ "cordova-plugin-bluetooth-classic-serial-port": "git+https://github.com/e-mission/cordova-plugin-bluetooth-classic-serial-port.git", "cordova-custom-config": "^5.1.1", "com.unarin.cordova.beacon": "github:e-mission/cordova-plugin-ibeacon", - "cordova-plugin-statusbar": "^4.0.0", "core-js": "^2.5.7", "e-mission-common": "github:JGreenlee/e-mission-common#semver:0.6.1", "enketo-core": "^6.1.7", diff --git a/setup/setup_native.sh b/setup/setup_native.sh index a7c396ab2..05624a693 100644 --- a/setup/setup_native.sh +++ b/setup/setup_native.sh @@ -121,7 +121,7 @@ sed -i -e "s|/usr/bin/env node|/usr/bin/env node --unhandled-rejections=strict|" npx cordova prepare$PLATFORMS -EXPECTED_COUNT=26 +EXPECTED_COUNT=25 INSTALLED_COUNT=`npx cordova plugin list | wc -l` echo "Found $INSTALLED_COUNT plugins, expected $EXPECTED_COUNT" if [ $INSTALLED_COUNT -lt $EXPECTED_COUNT ]; diff --git a/www/index.js b/www/index.js index 4ea9e93ac..3b7c86a0b 100644 --- a/www/index.js +++ b/www/index.js @@ -24,7 +24,7 @@ window.skipLocalNotificationReady = true; deviceReady.then(() => { logDebug('deviceReady'); // On init, use 'default' status bar (black text) - window['StatusBar']?.styleDefault(); + // window['StatusBar']?.styleDefault(); cordova.plugin.http.setDataSerializer('json'); const rootEl = document.getElementById('appRoot'); const reactRoot = createRoot(rootEl); diff --git a/www/js/onboarding/OnboardingStack.tsx b/www/js/onboarding/OnboardingStack.tsx index 38def9cc3..c84f484ac 100644 --- a/www/js/onboarding/OnboardingStack.tsx +++ b/www/js/onboarding/OnboardingStack.tsx @@ -14,11 +14,11 @@ const OnboardingStack = () => { if (onboardingState.route == OnboardingRoute.WELCOME) { // This page needs 'light content' status bar (white text) due to blue header at the top - window['StatusBar']?.styleLightContent(); + // window['StatusBar']?.styleLightContent(); return ; } // All other pages go back to 'default' (black text) - window['StatusBar']?.styleDefault(); + // window['StatusBar']?.styleDefault(); if (onboardingState.route == OnboardingRoute.SUMMARY) { return ; } else if (onboardingState.route == OnboardingRoute.PROTOCOL) {