From 7839d7c4b9d204997e7e92ab159c53b923377525 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Thu, 18 Feb 2021 18:19:57 -0700 Subject: [PATCH] Remove powermanagement plugin when building for iOS --- config.xml | 5 ++++- scripts/remove_powermanagement.sh | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 scripts/remove_powermanagement.sh diff --git a/config.xml b/config.xml index 25d167c..8d0effd 100644 --- a/config.xml +++ b/config.xml @@ -22,6 +22,8 @@ + + @@ -34,6 +36,8 @@ + + @@ -54,5 +58,4 @@ Your location is used to provide proximity alerts and other app features. It is only transmitted when you submit a map calibration. - diff --git a/scripts/remove_powermanagement.sh b/scripts/remove_powermanagement.sh new file mode 100755 index 0000000..f68d26f --- /dev/null +++ b/scripts/remove_powermanagement.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +npm uninstall cordova-plugin-powermanagement-netsyms +cordova plugin rm cordova-plugin-powermanagement-netsyms \ No newline at end of file