ComposerShield
Lurker
Please go easy on me, I'm very new at this
So I'm using Capacitor to create an Android wrapper of a pre-existing Javascript app (which apparently displays the app in a webview). The thing runs on the simulator, all is well. However, I've discovered a few error messages that all went away when I added webview.getSettings().setDomStorageEnabled(true) which is a fix I found in some forum.
The problem is that I realized I was adding the code to a file inside the npm capacitor module. So even though it works, I need to somehow move that code inside the /android folder somewhere I'm sure. But when I search through it, even for the keyword "webview," I can't find where to access it to change that setting. Has anybody worked with Capacitor or have any idea? I'm clueless how this all comes together.
Thanks!
So I'm using Capacitor to create an Android wrapper of a pre-existing Javascript app (which apparently displays the app in a webview). The thing runs on the simulator, all is well. However, I've discovered a few error messages that all went away when I added webview.getSettings().setDomStorageEnabled(true) which is a fix I found in some forum.
The problem is that I realized I was adding the code to a file inside the npm capacitor module. So even though it works, I need to somehow move that code inside the /android folder somewhere I'm sure. But when I search through it, even for the keyword "webview," I can't find where to access it to change that setting. Has anybody worked with Capacitor or have any idea? I'm clueless how this all comes together.
Thanks!