diff --git a/android/build.sh b/android/build.sh index 111389d45..1d9ff39fd 100644 --- a/android/build.sh +++ b/android/build.sh @@ -48,13 +48,13 @@ checkOK echo "${OpenColor}${Green}* Copying all app files...${CloseColor}" sed "s/APP_VERSION/$VERSION/g" manifest.json > $APPDIR/manifest.json cd $BUILDDIR/.. -cp -af {css,font,img,js,lib,sound,config.js,version.js,index.html,./android/icon.png} $APPDIR +cp -af {css,font,img,js,lib,sound,config.js,version.js,index.html,./android/icon.png,./android/logo.png} $APPDIR checkOK # Building the APK echo "${OpenColor}${Green}* Building APK file...${CloseColor}" cd $CROSSWALK -python make_apk.py --manifest=$APPDIR/manifest.json --target-dir=$BUILDDIR --arch=arm $DEBUG +python make_apk.py --manifest=$APPDIR/manifest.json --target-dir=$BUILDDIR $DEBUG checkOK cd $BUILDDIR diff --git a/android/icon.png b/android/icon.png index 2a2a9bda9..84f38c3b6 100644 Binary files a/android/icon.png and b/android/icon.png differ diff --git a/android/logo.png b/android/logo.png new file mode 100644 index 000000000..1a324a9af Binary files /dev/null and b/android/logo.png differ diff --git a/android/manifest.json b/android/manifest.json index 88f9b2025..1db3a57a2 100644 --- a/android/manifest.json +++ b/android/manifest.json @@ -1,10 +1,16 @@ { "name": "Copay", "version": "APP_VERSION", - "app": { - "launch":{ - "local_path": "index.html" - } + "start_url": "index.html", + "permissions": [ + "Vibration" + ], + "xwalk_launch_screen": { + "ready_when": "complete", + "default": { + "background_color": "#2C3E50", + "image": "logo.png" + } }, "icons": { "128": "icon.png"