ibb671 1 Posted July 16, 2016 Report Share Posted July 16, 2016 Hello I was wondering if anyone can help. I'm learning Phaser and javascript and I have finally finished a project. I have made a story book app and was able to publish it in the google play store with cocoon here is the link https://play.google.com/store/apps/details?id=com.sirenaStory.c1467975884137. It works fine on my samsung galaxy tab 3. And on one of my friend's phone. Although a few of my friends was not able to even launch the app to get to the main menu and was stuck on the preloading bar. I have uploaded a screen shot. I also used cordova and have sent them the apk file and they had the same issue. Could it be how i coded the application? Any help is greatly appreciated thank you. Quote Link to post Share on other sites
TickleMeElmo 18 Posted July 17, 2016 Report Share Posted July 17, 2016 I personally would say that remote debugging is the way to go(without knowing what causes it, it's really hard to fix it ). Also it might help if you included more info like what phones your friends have, and did you use any native plugins etc. but still, can't say anything sure without knowing exactly what is the cause Quote Link to post Share on other sites
ibb671 1 Posted July 17, 2016 Author Report Share Posted July 17, 2016 hi Thank you for your reply. After reviewing I had discovered most of the phones was android version 4.0 that wan't able to get it to work and the phones that were able to run was on android version 5.0 or greater. Is there any way to make older versions run the app? Also how do i go about remote debugging? This is something i haven't learned about yet. Also i haven't used any native plugins. I'm very new to phaser and programming in general so i'm not sure what that is. Here is a link of the app that works on the browser http://islandbodybuilding.com/wp-content/game/ibbsirena/ Quote Link to post Share on other sites
Fatalist 49 Posted July 18, 2016 Report Share Posted July 18, 2016 Does your app use WebGL? If it does, you should use Webview+ or canvas+ engine in Cocoon. Quote Link to post Share on other sites
ibb671 1 Posted July 18, 2016 Author Report Share Posted July 18, 2016 @fatalist hi i took your advice and used webview+ and that made the app work (i used bluestacks to run the apk) but i noticed that there is no audio and the tilesprite stopped working . Instead of using Phaser.tileSprite I just used a normal image. But im having trouble making the audio to work. I'm using mp3 and ogg files for my audio. Any help? Thank You Quote Link to post Share on other sites
VitaZheltyakov 32 Posted July 18, 2016 Report Share Posted July 18, 2016 It is possible that a problem in audio decoding Quote Link to post Share on other sites
ibb671 1 Posted July 18, 2016 Author Report Share Posted July 18, 2016 is the audio decoding due to how i coded my app? Or is there a setting in cocoon that I may have missed before compiling? Sorry I'm such a noob Quote Link to post Share on other sites
ibb671 1 Posted July 19, 2016 Author Report Share Posted July 19, 2016 Hey guys thanks for all your help. I think I figured it out. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.