rodrigograca31's Forum Posts

  • It only happens on my One Plus One with Android 4.4.4.... When the music loops in gets unresponsive and eventualy crashes.

    It doesn't happen on my Moto G with Android 5.1

    Since you have 6 it probably doesn't happen on 6 either....

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • newt Don't say that twice... I have 3 emoji related apps on the Play Store... (1 app 2 games)

    I could do that....

  • Problem Description

    The new Intel XDK version doesn't accept project names with spaces...

    Steps to Reproduce Bug

    • Create new project with a name with spaces for example: "New Project" (default name)
    • Export it to Intel XDK
    • Try Importing it into Intel XDK

    Observed Result

    You get this error: "Project file name contains invalid characters. The project name only accepts A-Z, a-z, 0-9, - and _ characters."

    Expected Result

    It should work....

    Operating System and Service Pack

    Windows 7 SP1

    Construct 2 Version ID

    r233

  • , download this game and let it open for 5 minutes to see if the music loops or crashes....

    https://play.google.com/store/apps/deta ... ojifriends

  • mahdi71

    What's your phone OS version? Which phone are you using?

    Mine is:

    Android 4.4.4 - CyanogenMod

    ARM

    OnePlus One

  • mahdi71 Have you solved this problem? How?

    What's your phone OS version? Which phone are you using?

  • BTW, what's the diference between "Music" and "Sounds"??? (apart from the obvious meaning of those words....)

  • I tough it was specific to that music file or something like that and since I will not to use that one I didn't care that much about the bug, but now it happen again with another music....

    I've changed it from Music to sound and back again and it doesn't happen now...

    This is either a bug exporting from Construct 2 or importing the music or exporting using Intel XDK....

    I mentioned I had CyanogenMod but I don't think that its related to that...

  • I might not be the best person to comment here since I have no apps on iOS (I will one day...)

    That said: 88% is great! With the iPhone 7 coming it will probably be 90% or 95%... That's a huge percentage!

    But you posed nice questions. Let's see if anyone has any valid points.....

  • After all it looks like the problem might be related to Construct 2 since I just noticed that the crash happens when the music is loops, 1 minute and 12 seconds after it starts.....

  • Problem Description

    App crashes after a few minutes playing song in loop.....

    Attach a Capx

    https://www.dropbox.com/s/n6oobcpawcncb ... .capx?dl=0

    Musics: (same music 2 formats)

    1. https://www.dropbox.com/s/da5ozuhc8ntvz ... p.ogg?dl=0

    2. https://www.dropbox.com/s/134md1h2g8aap ... p.m4a?dl=0

    Description of Capx

    Plays audio in loop.

    Steps to Reproduce Bug

    • Create a new Construct 2 project
    • Importa the music files as "Music"
    • Create an Audio object.
    • Go to the event sheet and add the "On start of layout" event, then -> Play the file looping (looping is important I think it doesn't crashes without looping)
    • Export it to Cordova with Intel XDK.
    • Install on phone, wait a few minutes to loop once or twice and it stops responding....

    Observed Result

    Crash after 2-3 minutes

    Expected Result

    Playing without stopping

    Affected Browsers

    • Chrome: (NO)
    • Crosswalk webview (YES) Operating System and Service Pack Android 4.4.4 - CyanogenMod ARM OnePlus One It doesn't happen on Moto G 1 gen Android 5.1(dot)something Construct 2 Version ID The latest, (not beta) r233 64bit Windows 7 (VM) I don't think that is something related to Construct, I think it's a crosswalk bug and it's because of those particular music files.... But I could be wrong, so I'm posting it here and I've left a crash report on crosswalk jira: https://crosswalk-project.org/jira/browse/XWALK-1993
  • I've found a solution....

    For those interested in rewarded videos or just using the original "cordova-admob-pro" you can add it using Intel XDK and In your Construct 2 add the Browser object then add an action: Browser -> Execute Javascript: "AdMob.prepareInterstitial( {adId: 'ca-app-YOUR-ID', autoShow: false, overlap: true})"

    and then later: "window.AdMob.showInterstitial();"

    In other words: you don't need this plugin... You can use the "original cordova functions".

    (this might sound normal to you but I'm new to construct and just found out about this...)

    You can see the entire documentation here: https://github.com/floatinghotpot/cordova-admob-pro

  • I have an idea:

    If you can't turn the minification off for your plugin maybe you can use "eval" to call the functions....

    This way i think that the strings inside eval would not get minifyed....

    This is a huge hack, but.....

    We should not be forced to disable minification to use this plugin....

  • Minification doesnt work....

    This Plugin is not working for me. Even using your .capx...

    if I edit "intelxdk.config.additions.xml" and add "<preference name="debuggable" value="true"/>" i can then debug it with chrome inspect.

    The following errors occur when clicking on all buttons on the demo .capx:

    The window.admob.* doesnt get minifyed but the plugin calls get minifyed....

    Any way you can tell Construct 2 to not minify your plugin?

    Thanks for the plugin! (as of now it's the only plugin that is able to "ask for" rewarded videos.... and it's using the "official" cordova plugin (cordova-admob-pro)

    (everyone in the cordova comunity uses that one... not sure why Scirra used "cordova-plugin-ad-admob" ......)

  • Apparently as of now changing the Crosswalk Runtime to "shared" makes apps tiny again.... (from 26MB to 3.3MB) (android .apk)

    But...... It has a bad user experience..... because it shows this pop up:

    and when Crosswalk individually updates it can break your app....

    More info: https://software.intel.com/en-us/xdk/docs/choosing-crosswalk-build-options-shared-or-embedded