From 2 years I was using BrowserComponent to display html code and Browser Navigation Callback to catch url changes. In the past, all things worked fine but currently, there are some issues that I'm facing.
First one: isuess during redirect to a url from html page:
The webpage at
http://yallagym.herokuapp.com/payment/callback/accepted could not be loaded because:
net::ERR_CLEARTEXT_NOT_PERMITTED
Second issue: Unable to load html page and white page appears:
[EDT] 0:0:23,863 - Codename One revisions: 7dd4e7d08b3442d90959477ee52a5ae8c4361b29
[EDT] 0:0:23,864 - Attempting to create browser component
[AWT-EventQueue-0] 0:0:23,868 - Attempting to create browser component
Using:
JCEF Version = 83.4.0.260
CEF Version = 83.4.0
Chromium Version = 83.0.4103.106
initialize on Thread[AWT-EventQueue-0,6,main] with library path C:\Users\fuad-\.codenameone\cef\lib\win64
Added scheme search://
Added scheme client://
Added scheme cn1stream://
DevTools listening on ws://127.0.0.1:56645/devtools/browser/0f082d24-9bc9-4a81-b652-7960d4b4e947
AppHandler.stateHasChanged: NEW
AppHandler.stateHasChanged: INITIALIZING
AppHandler.stateHasChanged: INITIALIZED
url:https://cn1app/streams/1
Stream was closed
for first issue I found this build hint could be help
android.xapplication_attr=android:usesCleartextTraffic="true"
For the secound issue I did not find any solution.