I got someone to spend the 2020 lockdown documenting my system in Gitbook, then added a Webview in my B4A App to allow users to see it. This is a great way to include professional live documentation in the App. It worked brilliantly for a while then a few months ago it stopped. The webview just whirls without ever loading, but I did not get any error logs. I've now started getting some logs which look like they might help but I don't understand them.
The code is pretty simple
The new logs (on loading the App) are as follows:
The code is pretty simple
App code:
Dim WebViewExtras1 As WebViewExtras
WebViewExtras1.addJavascriptInterface(wv_HelpPopup, "B4A")
WebViewExtras1.addWebChromeClient(wv_HelpPopup, "")
Private wv_HelpPopup As WebView
wv_HelpPopup.LoadUrl(GitbookURL)
The new logs (on loading the App) are as follows:
Logs:
Load URL: https://help.liteip.com/liteip-documentation/-MZHzbCzgiXb-jxxPGYZ
It looks like you're using the development build of the Firebase JS SDK.
When deploying Firebase apps to production, it is advisable to only import
the individual SDK components you intend to use.
For the module builds, these are available in the following manner
(replace <PACKAGE> with the name of a component - i.e. auth, database, etc):
CommonJS Modules:
const firebase = require('firebase/app');
require('firebase/<PACKAGE>');
ES Modules:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';
Typescript:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';
in https://gstatic.gitbook.com/js/326.f9997185.js (Line: 1)
Timer 5s: wv_HelpPopup.url = https://app.gitbook.com/@liteip/s/liteip-documentation/
Uncaught (in promise) Error: The current environment does not support the specified persistence type. in https://gstatic.gitbook.com/js/326.f9997185.js (Line: 1)
PageFinished: wv_HelpPopup.url = https://app.gitbook.com/@liteip/s/liteip-documentation/
url = https://app.gitbook.com/@liteip/s/liteip-documentation/
Application ready in https://gstatic.gitbook.com/js/326.f9997185.js (Line: 1)
LogRocket: Session quota exceeded. Please upgrade your plan. Disabling ... in https://gstatic.gitbook.com/js/326.f9997185.js (Line: 1)