Article sections

    As WebViewGold is an app template, not software, so it is a bit tricky to upgrade. Therefore, we recommend only upgrading if you need one of the new features provided in a new version and skip updates not required for your app. You can see what changes are included in new updates by checking these pages:

     

    The methods required for updating to a new version of WebViewGold depends on the changes made. Most updates contain changes to 1-3 main files, which you can easily update manually whilst preserving the rest of your codebase. However, if it has been some time since you last updated (a few months) it is more likely that there will be more extensive changes that will require using the new codebase and only transferring over the main things like your app icon images. When using a new codebase/project, make sure to use the same bundle ID/package name and a higher version number than the previous version.

     

    Once you have downloaded the new WebViewGold version, there are two ways to see what changes have been made to inform how you upgrade:

    • If you know how to use Git
      • Use Git to compare the new version to the old version.
    • If you don’t know how to use Git
      • Reach out to our support team 🙂  We can tell you the changes made and provide some advice. Make sure to say what versions you are upgrading from and to so we can check that for you!

     

    Here are some suggestions on folders to target if transferring assets like icon images to a new codebase. Please take care to copy and paste into the correct folders!

    • iOS:
      • WebView-Swift/WebView/Assets.xcassets
        • This folder contains the image assets used by the app. You can open each subfolder to see what kind of icons you want to transfer over. The most relevant one for most users is the subfolder that contains your app icon images. It is called “AppIcon.appiconset“.
    • Android:
      • Folders to transfer for your app icon image:
        • AndroidStudioSourceCode/app/src/main/res/mipmap-anydpi-v26
        • AndroidStudioSourceCode/app/src/main/res/mipmap-hdpi
        • AndroidStudioSourceCode/app/src/main/res/mipmap-mdpi
        • AndroidStudioSourceCode/app/src/main/res/mipmap-xhdpi
        • AndroidStudioSourceCode/app/src/main/res/mipmap-xxhdpi
        • AndroidStudioSourceCode/app/src/main/res/mipmap-xxxhdpi
      • Folder for splash gif and offline image:
        • AndroidStudioSourceCode/app/src/main/res/drawable
      • Documents for string and color values:
        • AndroidStudioSourceCode/app/src/main/res/values/strings.xml
        • AndroidStudioSourceCode/app/src/main/res/values/colors.xml