[android mobile] stuck at splash screen and in console asset.txt is not found

I git cloned repo of frappe mobile framework and did cordova run android so that apk is launched in usb connected android mobile. On login screen i am giving my local server URL, it passes authentication but after that it stucks at splash screen. On debug console it gives

Uncaught ReferenceError: LocalFileSystem is not defined
at Channel. (common.js:108)
at Channel.subscribe (cordova.js:775)
at document.addEventListener (cordova.js:133)
at HTMLDocument.document.addEventListener (cordova.js:1703)
at Object.read_file (common.js:106)
at Object. (desk.js:43)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at x (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)
Screenshot is below

any help or pointer is appreciated. thanks

What is your cordova version?

hi @netchampfaris the cordova version is 7.0.1

(a) When i download app from playstore and give my local URL or cloud hosted demo URL it works
(b) When i build the app from git repo and on give my local or cloud hosted URL it gets stuck at splash screen

Any clue or help will be appreciated. thanks

I have found the solution to go beyond splash screen

Since i am building app through CLI i need to add
cordova plugin add cordova-plugin-file

Can some one please update

under Install Plugins:
cordova plugin add cordova-plugin-file

I took help from stackoverflow post

Please close this thread. Thanks @netchampfaris for your time.

1 Like

Sorry for the trouble caused. I will update the readme