Hello,
Just tried to setup a BANano sample project (zip file: ) using BANanoRouter and it seems not working for me.
I have 2 classes "Login" and "Admin" and in the main I initialized like in the tutorial
But when running my project, there is an error:
Just tried to setup a BANano sample project (zip file: ) using BANanoRouter and it seems not working for me.
I have 2 classes "Login" and "Admin" and in the main I initialized like in the tutorial
B4X:
Sub BANano_Ready()
' Initialize your local browser database
' SQL.OpenWait("SQL", "MyDB")
' SQL.ExecuteWait("CREATE TABLE IF NOT EXISTS tTable (tblid INT, tblcode STRING, tbldesc STRING)", Null)
Router.Initialize("/vkpae", False)
Router.AddRoute("/login", "Login", Null, False)
Router.AddRoute("/admin", "Admin", Null, False)
Router.Start("/login")
End Sub
But when running my project, there is an error:
B4X:
Uncaught (in promise) ReferenceError: banano_vkpae_login is not defined
at banano_vkpae.banano_ready (app1646481295754.js:6:173)
at HTMLDocument.BANLoadChecker (app1646481295754.js:6:1596)