Skip to content

Commit

Permalink
Set AndroidInsecureFileModeEnabled to enable use of file: protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisekelley committed Dec 29, 2022
1 parent 102b91d commit 15776e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ RUN apt-get update && apt-get -y install \
git-core \
apt-transport-https

# Doing this in a separate stage due to cdn errors.
# python2 can be used to build cordova-hot-code-push-cli
#RUN apt-get update && apt-get -y install python2
#RUN npm config set python /usr/bin/python2

RUN apt-get update && apt-get -y install \
openjdk-11-jdk

Expand Down
1 change: 1 addition & 0 deletions cordova/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<icon background="@color/background" density="xhdpi" foreground="res/icon/android/xhdpi-foreground.png" />
<icon background="@color/background" density="xxhdpi" foreground="res/icon/android/xxhdpi-foreground.png" />
<icon background="@color/background" density="xxxhdpi" foreground="res/icon/android/xxxhdpi-foreground.png" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
</platform>
<allow-navigation href="tangerinecentral.org" />
<allow-intent href="*" />
Expand Down

0 comments on commit 15776e4

Please sign in to comment.