H hzchrisfang Member Licensed User Longtime User Nov 21, 2014 #1 I wrote a app which will load html file from File.DirAssets with Webview controller, code is: B4X: webview1.LoadUrl("file://" & File.Combine(File.DirAssets, FileName)) When I use debug mode, program runs correctly. But when I build release version and run it, the webview cannot show the html page, what's wrong? I think the problem is the folder, but it works in B4A and B4i debug mode, so it is a bug or not?
I wrote a app which will load html file from File.DirAssets with Webview controller, code is: B4X: webview1.LoadUrl("file://" & File.Combine(File.DirAssets, FileName)) When I use debug mode, program runs correctly. But when I build release version and run it, the webview cannot show the html page, what's wrong? I think the problem is the folder, but it works in B4A and B4i debug mode, so it is a bug or not?
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2014 #2 Can you upload your project (File - Export as zip)? Upvote 0