Article sections

    Having a local HTML folder, you can use the fallback mode of WebViewGold. This mode uses an HTML folder if the user is offline and uses a remote URL he/she is online. Set “offlinelocalhtmlswitch” to “true” in Config.swift (iOS) and/or “FALLBACK_USE_LOCAL_HTML_FOLDER_IF_OFFLINE” to “true” in Config.java (Android). However, on iOS, you may need to eliminate the subfolders in your “local-www” folder (e.g., “js” and “CSS”) and put all the files they contain into the main folder (“local-www”). A search & replace program can help adjust the HTML file path references fast and uncomplicatedly.

    in WebViewGold for AndroidWebViewGold for iOS