summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-27 09:48:49 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-27 09:48:49 -0500
commita7c288b10f197818b2ad233a852268c0f160d8e3 (patch)
treeff1bd87d0f3a032f35626497a8cc835bbc82e153
parent29a01ab9542da89eeedaa2bdf966243b4738564a (diff)
Fix permissions for accessing external resources
-rw-r--r--Makefile4
-rw-r--r--config.xml2
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 17b38e4..1799f2f 100644
--- a/Makefile
+++ b/Makefile
@@ -68,12 +68,12 @@ upload: PHONY build
DEP_DIR = $1 $(shell find $1)
-platforms/browser/build/package.zip: platforms/browser $(sources) $(call DEP_DIR,www)
+platforms/browser/build/package.zip: platforms/browser config.xml $(sources) $(call DEP_DIR,www)
rm -f -- $@
$(CORDOVA) build browser
test -f $@
-platforms/android/ant-build/CordovaApp-debug.apk: platforms/android $(sources) $(call DEP_DIR,www)
+platforms/android/ant-build/CordovaApp-debug.apk: platforms/android config.xml $(sources) $(call DEP_DIR,www)
rm -f -- $@
$(CORDOVA) build android
test -f $@
diff --git a/config.xml b/config.xml
index aaba61f..1b5892d 100644
--- a/config.xml
+++ b/config.xml
@@ -9,4 +9,6 @@
</author>
<content src="index.html" />
<access origin="*" />
+ <access origin="https://lukeshu.com/frc4272/app/" />
+ <access origin="tel:*" launch-external="yes" />
</widget>