facebook

Music play in background

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #344948 Reply

    Well this is a serious problem for me as most of the apps im doing is about streaming music on the apps.

    Before the 2.5 update music playing in background while the screen went off or screen is lock was working perfectly on my android apps. But now as soon the the screen is lock the audio stops. why?

    I bought mobione just to build those kind of apps but now its not working as before :/ how shall I proceed to get that working again?

    Thanks

    #345112

    support-michael
    Keymaster

    >Before the 2.5 update music playing in background while the screen went off or screen is lock was working perfectly on my android apps. But now as soon the the screen is lock the audio stops. why?

    I escalated this topic to our developer that implemented the recent audio widget and api changes.

    What android device(s) and os versions are you seeing this behavior?

    I’m not certain there is much that we can do regarding background audio at this time as it has never been officially supported. In MobiOne 2.5 we reimplemented the audio player functionality and api to work more reliably across platforms and we upgrade to a much more recent version of the Cordova/PhoneGap SDK. Since we have never supported any level of services (audio, gps, …) for the non-active app we don’t test for such differences.

    #345229

    Hi thanks for the reply,

    I test my app on a Samsung S3 mini : V 4.1.2

    Something weird is if I build the app as a web version and compress to build the apk in Phonegap the background audio works great! but I can’t publish to google play as its says the apk is in debug format and I dunno how to change that. :/

    #345230

    support-michael
    Keymaster

    @xavioslonghorn

    Interesting. Are you using MobiOne’s App Center Builder service to create the app that google play complains about? Also, can you verify that google play actually prohibits apk upload and is not just a warning? Lastly can you post an screenshot of any error msg(s)

    #345285

    Actually no,

    if I build in mobione and upload on google play without errors but no background music

    If i build in phone gap and upload on google play I have an error message that I can’t upload a debug apk but with the apk i get background music

    #345311

    Brandon
    Member

    PhoneGap Build has an option for a debug build, make sure that is not selected.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Music play in background

You must be logged in to post in the forum log in