A question related to performance of Polymer mobile Apps

191 views
Skip to first unread message

Sharma, Saurabh

unread,
Aug 22, 2015, 2:42:13 AM8/22/15
to polymer-dev
Hi Guys - 

A question about Polymer & "Chrome Apps for Mobile” - 

Is polymer based App in near future going to be ready to compete with a similar native app or ‘thin abstraction’ based app (like one built with xamarin, appcelator or react-native)  

Can someone suggest some good resources on this topic ?

I believe concepts like service worker, offline first handling and other newer features may be giving mobile web a +1 v/s the native app scene, but want to stay corrected. 

I really would like to build my mobile Apps with Polymer , but am worried about the performance lags (which I have observed in other cordova based apps in the past built)

Is Polymer gonna be any different ?

--

Eric Bidelman

unread,
Aug 25, 2015, 7:41:38 PM8/25/15
to Sharma, Saurabh, polymer-dev
I wrote an article on using Polymer in a webview/wrapper app:

It's based on 0.5, but most of the interesting bits are version agnostic. All that said, I haven't tried 1.0 in a cordova based app. Might be worth experimenting with.

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CALu-crXRYqu9zk0vLX5y%2BPmTKNiWFQJT3QNL6nT04DnL81Sy3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Sharma, Saurabh

unread,
Aug 26, 2015, 2:08:10 AM8/26/15
to Eric Bidelman, polymer-dev
Thanks for this Eric.  Though I already had gone through that.

Maybe I was not clear, My question was more towards the promise of overall 'mobile web' being able to compete with going native(via Xamarin/titanium/react-native or directly)

"Is polymer based App in near future going to be ready to compete with a similar native app or ‘thin abstraction’ based app (like one built with xamarin, appcelator or react-native) "

 and

"I believe concepts like service worker, offline first handling and other newer features may be giving mobile web a +1 v/s the native app scene, but want to stay corrected. "

I did discuss this with Matt barney in the slack channel the other ay, and he did mention Lollypop onwards android performance improvements in the webview. want to gather something that I have missed until now.

Will create a simple polymer 1.0 + webview sample and share anyways. :-)

   

Eric Bidelman

unread,
Aug 26, 2015, 2:15:37 AM8/26/15
to Sharma, Saurabh, polymer-dev
We'd like to think so :)

The web is seeing many new capabilities come along at an increasing rate: service worker, offline, push notifications, background, install to homescreen, app  install banner, blue tooth, presentation api, battery status, vibration, to name a few.

Apart from features, it really depends what you're building and the target devices. Some of these APIs are a ways off in other (non-Chrome) browsers.

Sharma, Saurabh

unread,
Aug 26, 2015, 2:19:10 AM8/26/15
to Eric Bidelman, polymer-dev

>> background, app  install banner, blue tooth, presentation api, battery status, vibration, to name a few.
Goes to my reading list. Thanks for the prompt reply Eric.

>>  Some of these APIs are a ways off in other (non-Chrome) browsers
That's a downer for a 'standard' web. :-(

 

Sharma, Saurabh

unread,
Aug 26, 2015, 5:16:02 AM8/26/15
to Eric Bidelman, polymer-dev
Did a superbly trivial PoC for App with PSK(polymer 1.1) and cordova for the mobile part

Code at - https://github.com/saurshaz/polymer-one-cordova

Big thanks Matt gaunt.


Reply all
Reply to author
Forward
0 new messages