These are chat archives for angular/angular-2-ionic-2
Hi guys, I'm trying to use SiriWavejs. Everything work flawlessly even on my Android device with adb (in
canvas (that's my guess here, since there is nothing shown) doesn't display at all when I'm building the
APK and installing it on Android.
By looking at the SiriWave script, it use
(window.requestAnimationFrame. I was wondering if the variable exist when its built for Android?
That's the only hint I have toward it not rendering...
siriwave.jsfile in the assets (when I inspect the app from chrome remote device inspect). The things is that when I build the app, it successfully add it to the
www. I don't know how it doesn't get serve in the final build...
@UncertaintyP thats is my android file structure. Seems its also got copied there also when building.
The thing is when I remote debug the APK from chrome I can see that the files aren't really there (as youve seen in the first picture I posted)
Is it normal that its
android/app/src/main/assets/www/assets instead of: (like you wrote)
"build:www": "rm -rf www && ionic-app-scripts build --prod"or
"ionic:build": "ionic-app-scripts build"or
"build-apk": "ionic cordova build android --test"and to serve to my device with
"android:run": "cordova run android"