Can I use webcomponents ontop of Cordova-Phonegap?

1,241 views
Skip to first unread message

green spand

unread,
May 13, 2014, 9:55:13 AM5/13/14
to webcom...@googlegroups.com
Hi guys. 
I know you are all very busy with making the web a better place and I really apreciate what you have done so far.
By the way, Polymer WebComponents meetup was really awesome.
I hope you have some moments for some questions.
For Mobile App dev, I've mostly tried till now Brick and X-tag on Firefox OS. 
But because, for the time being, many of our customers are mostly Android and iOS interested my only chance is a hybrid App built ontop of Cordova. 
Will there be Polymer Support for Cordova-Phonegap?
And when the time comes, will there be the native Web Components support ontop of Cordova?
Thank you.

Eric Bidelman

unread,
May 13, 2014, 11:31:17 AM5/13/14
to webcom...@googlegroups.com

It's my understanding the Polymer should just work in a Cordova app. If the web view is chrome for Android, that will eventually use the native stuff. IOS and the legacy Android webview will need/use the polyfills. When webkit gets the native APIs, the webview will hopefully pick them up.

--
You received this message because you are subscribed to the Google Groups "Web Components Organisation" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webcomponent...@googlegroups.com.
To post to this group, send email to webcom...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/webcomponents/cd09f251-7669-4ca4-afd2-3dc7cb852af0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

green spand

unread,
May 13, 2014, 12:59:27 PM5/13/14
to webcom...@googlegroups.com
Awesome.Thanks allot.


--
You received this message because you are subscribed to a topic in the Google Groups "Web Components Organisation" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/webcomponents/MfvMez_hfsA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to webcomponent...@googlegroups.com.

To post to this group, send email to webcom...@googlegroups.com.

Martin Kleinschrodt

unread,
May 13, 2014, 3:14:02 PM5/13/14
to webcom...@googlegroups.com
FYI: As far as I know, the legacy Android web view is not supported by the polyfills nor are there any plans to support it. This means that if you want to use Cordova to deploy your app, you'll have to target a minimum Android SDK version of 19 aka KitKat. On iOS 7 and in the Chromium-based Android web view everything works great. I have successfully deployed a Polymer app with Cordova on both iOS and Android and so far everything seems to work as expected.

Eric Bidelman

unread,
May 13, 2014, 4:02:20 PM5/13/14
to webcom...@googlegroups.com

Correct. Sorry for the confusion. Polymer does not support the old Android webview. Things may work, but it's luck :)

green spand

unread,
May 13, 2014, 4:12:38 PM5/13/14
to webcom...@googlegroups.com
I understand. No worries. I guessed that based on the announcement made at the Chrome Dev Summit , and I focus mainly on 4.4 and iOS7. Thx for the thorough input guys.


Earl Ferguson

unread,
Aug 29, 2014, 12:24:02 AM8/29/14
to webcom...@googlegroups.com
You can also use Crosswalk by Intel to get older version Androids WebView. It should provide you with all the pieces needed to run Polymer on older version of android. 
https://crosswalk-project.org/

Nelson Omuto

unread,
Oct 2, 2014, 12:23:15 PM10/2/14
to webcom...@googlegroups.com
Hey can you attach a link to the source for this and any information that would be helpful. I am attempting to do the same in a current project.
Reply all
Reply to author
Forward
0 new messages