I am learning Rust and Wasm. I made a simple memory game. It is more a tutorial how things work.
I tried to build it as a phonegap or cordova app for android.
But it does not work.
The code is here: https://github.com/LucianoBestia/mem1_phonegap
I found the problem and solved it.
The wasm file is opened in javascript in an ajax call.
Modern browsers don't alow ajax on local files.
PhoneGap app works with local files.
I changed the location of the wasm file to an URL on github and now it works.