It doesn’t show anything, just a blank page.
(please share the FULL error message you see, if applicable)
Other Information
I’m trying to make a mobile app and I’m using an integrated browser just to display my domain and it always shows a blank page.
(other information and details relevant to your question)
What do you mean by “integrated browser”? Can you give us more details about that?
Maybe you’re referring to the “webview” application. I am not an expert, but from my experience, viewing a website inside a webview usually works without encountering any problems. It acts like a normal web “browser”. It really works well with the security system as long as the webview can support Javascript and can handle the cookies from the site very well.
It’s difficult to figure out the exact main cause of the problem without providing any helpful information such as logs. But one thing is sure — without the cookies generated from the script tag that has been injected by the security system and without the help of the aes.js script that facilitates the generation of the cookie hashes, the assets from your website and the website itself cannot be viewed by everyone.
There are multiple possible reasons why it happened. But these are the most common reasons for the said failure:
The webview failed to store, handle, and manage the site’s cookies.
The webview does not support Javascript or has limited support for the Javascript language.
3. The Android System Webview implementation is faulty
I don’t know how you develop your mobile app, but embedded webviews usually depend on the built-in “Android System Webview” implementation. Depending on the device used to develop and test your mobile app, the “Android System Webview” application might become outdated. Using an outdated webview implementation can hinder the functionality of the aes.js script (although the aes.js script has wide browser support since it was written in ES5 Javascript syntax).
Visit your website in any webview application aside from your application to check whether the system’s webview implementation itself is faulty or not. I typically use the so-called “Via browser”, a browser that depends on the Android System Webview implementation for my daily browsing needs. One thing is sure – your website works fine on this browser.
4. You have picked the wrong webview library
Some of the Android webview libraries are problematic in terms of cookie handling and javascript execution. Use the correct webview library.