cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BeTop (JIRA)" <>
Subject [jira] [Commented] (CB-5848) Support for Android expansion files
Date Tue, 28 Mar 2017 15:53:41 GMT


BeTop commented on CB-5848:

Hello, How are you doing?
Today I got problem to play audio file of obb file.

It works <audio controls  src="content://com.flinklearning.marshalladult.expansion/common/Languages/English/LoginHelp/help_team.mp3"></audio>

But Media plugin is not working. so we need solution.

var url = "content://com.flinklearning.marshalladult.expansion/common/Languages/English/LoginHelp/help_team.mp3";

                var my_media = new Media(url,
                    // success callback
                    function() {
                        console.log("playAudio():Audio Success");
                    // error callback
                    function(err) {
                        console.log("playAudio():Audio Error: ",  err);
                // Play audio

I got error code=1.

> Support for Android expansion files
> -----------------------------------
>                 Key: CB-5848
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 3.3.0
>            Reporter: Valerio Santinelli
>            Assignee: jcesarmobile
>            Priority: Minor
> As you might already know, Android .APK files cannot exceed 50Mb if you want to make
them available on Google Play Store.
> For bigger apps, you can add one or more expansion files (.obb)
> The request would be to have Cordova automatically put the content of the www folder
into an obb file so that all the assets won't be bundled with the app itself. 
> That way, even if the assets are huge, you can still publish on Google Play Store.
> Right now there is no way to publish any app that exceeds 50Mb. I have seen some OS projects
trying to deal with this, but right now there's no working solution.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message