Is Android 6.0 (Marshmallow Level 23) supported yet?

  • 2
  • Question
  • Updated 5 years ago
  • Doesn't Need an Answer
Hey guys,
quick question. I see from Wikipedia Android 6.0 (Marshmallow Level23) was released on October 5, 2015? Is it supported by Cordova yet?

TIA
Jesse
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes

Posted 5 years ago

  • 2
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
As you ask for cordova and not phonegap build, you should ask on the google group or slack (android channel)

current apps should work on android 6, but some plugins might break if the user disables the permissions

plugins has been updated but not released yet
the official support for android 6.0 will arrive on cordova android 5.0, it's in process of being released
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@jcesarmobile,

I presume that the Official Cordova support will arrive before Phonegap CLI or Phonegap Build support.

So my answer appears to be *NO*, but currently Phonegap Build works, except if user disables certain *permission*.
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
yes, once cordova android 5 is released with android 6 support, phonegap and phonegap build will include cordova android 5 and will support android 6 too (they both work on top of cordova) but I don't know how much time does it take. I suppose phonegap build will take more time than phonegap CLI. I think they will have to wait for a cordova CLI release that includes cordova ios 3.9.2 and cordova android 5 pinned as default platform versions, as I don't think you can choose the platform version on phonegap build, just the cli version.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
REMINDER: Android verison can be set via <preferences (...)> with android-targetSdkVersion
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
I mean cordova android (platform) version, not android SDK version, I think you can't set the cordova version for each platform, just the CLI version
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Individual Android platform version can be set at the command line

cordova platform add ios@3.7.0

http://devgirl.org/2014/11/07/cordovaphonegap-version-confusion/

To be clear on this, you cannot change the pinned version
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
can be set on cordova, not on phonegap build (as far as i know)

on cordova, when you add the plugin you can use the --save param

cordova platform add ios —save

this will add this on your config.xml

<engine name="ios" spec="~3.9.2" />

I don't think that tag works on phonegap build

Right now, the latest cordova CLI will pick the latest platform available when you add the platform, not the version that had pinned when it was released, not sure if this will affect phonegap build in the future.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Gheezzz. make up your mind.. 5 days ago you said one thing, 4 days ago the opposite.
Photo of jcesarmobile

jcesarmobile

  • 283 Posts
  • 40 Reply Likes
Gheezzz, can you read again my answers and tell me where I said the opposite? I've said, since the begining, that it's possible on cordova, not on phonegap build, and that setting the "cordova android" version is not the same that setting the android SDK version.

BTW, cordova android 5 is out.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
LOL. Whatever. I just saw that Cordova for Android is out as well. I'm getting some sleep. It is 12:20 Mountain Time.