Polymer with Phonegap

920 views
Skip to first unread message

Paolo Penitente

unread,
Jan 7, 2015, 10:17:32 AM1/7/15
to polym...@googlegroups.com
Hi guys,
I'm new here.

I have a question about Polymer and Phonegap.
When I run my "App" in Chrome works really fast but when I run it in Phonegap is really slow, as well the drower-panel stay like 5 second to open.

There are same performance solution?
I run it in a Asus Nexus 7

Thanks

cayte...@gmail.com

unread,
Jan 8, 2015, 12:20:43 AM1/8/15
to polym...@googlegroups.com
Hi there,

I strongly suggest that you use this to build your phonegap app. The project allows you to utilize cross-walk(only on android) as the webview instead of the system's default which is being outperformed by cross-walk a lot.

Paolo Penitente

unread,
Jan 8, 2015, 5:40:45 AM1/8/15
to cayte...@gmail.com, polym...@googlegroups.com
Hi there,

thank you so much for your help.
I just finish to follow the link and the app work much much better with cordova and cross walk.

Thanks





- --- --- --- - --- --- --- -
Paolo Penitente
 
Web/Graphic Designer

m: 0744 9162825
skype: plapnt87  

-------------------------------------------------------------------------------------------
Please consider the environment before printing this email

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to a topic in the Google Groups "Polymer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/polymer-dev/fCL3oZl_EcE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/ae35e851-0f76-4e9f-ac51-990269ac3d93%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Cayter Goh

unread,
Jan 8, 2015, 5:43:18 AM1/8/15
to polym...@googlegroups.com, cayte...@gmail.com
No problem. There's a thing to note: the app itself is much bigger than a normal build due to it's bundling the cross-walk binary in the .apk which is around 20MB more.

Paolo Penitente

unread,
Jan 13, 2015, 7:45:44 AM1/13/15
to Cayter Goh, polym...@googlegroups.com, Cayter Goh
Hi, sorry I have other question.

I manage all the staff but now I have a big problem. The app don't work in  my iPad mini. I mean I can open but I cannot play with the guys.
I follow the guide online but doesn't work.

I need to do same particular step for IOS?

Thank you so much for your help.





- --- --- --- - --- --- --- -
Paolo Penitente
 
Web/Graphic Designer

m: 0744 9162825
skype: plapnt87  

-------------------------------------------------------------------------------------------
Please consider the environment before printing this email

Cayter Goh

unread,
Jan 13, 2015, 7:48:38 AM1/13/15
to polym...@googlegroups.com
Hi,

Try running it in emulator and then use Safari developer to check the console to see whether there's any error.


Best Regards,
Cayter

Paolo Penitente

unread,
Jan 13, 2015, 8:47:22 AM1/13/15
to Cayter Goh, polym...@googlegroups.com
thanks.. :)

Now I can open my app but I don't understand this error.
The problem is that don't work the track event (so the drawer doesn't work)

I attached a screenshot so you can see.





- --- --- --- - --- --- --- -
Paolo Penitente
 
Web/Graphic Designer

m: 0744 9162825
skype: plapnt87  

-------------------------------------------------------------------------------------------
Please consider the environment before printing this email

Follow Polymer on Google+: plus.google.com/107187849809354688692

---
You received this message because you are subscribed to a topic in the Google Groups "Polymer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/polymer-dev/fCL3oZl_EcE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to polymer-dev...@googlegroups.com.
Screen Shot 2015-01-13 at 13.44.23.png

Cayter Goh

unread,
Jan 13, 2015, 10:22:12 AM1/13/15
to polym...@googlegroups.com
Hi there,

May I know what polymer version are you using? 'Cause the error message seems new to me. If you don't mind, please copy and paste your `index.html` on CodePen or JSFiddle. Thanks.


Best Regards,
Cayter

Cayter Goh

unread,
Jan 14, 2015, 2:36:51 AM1/14/15
to polym...@googlegroups.com
Now I see. Actually, if you're thinking of integrating web-components-like technology into frameworks like AngularJS, I'd personally recommend ReactJS as for now. Polymer isn't currently quite suitable for your use case according to my previous project with AngularJS due to Polymer is based on cutting edge technology like web components, shadowdom that requires support from browsers and if browsers don't support it, there are polyfills to fill the gap. This also means your app will end up loading a lot more dependencies compared to ReactJS. Thanks


Best Regards,
Cayter

nag...@codewave.in

unread,
May 1, 2015, 1:05:58 PM5/1/15
to polym...@googlegroups.com
Frist time am running phonegap app with polymer. In chrome its working fine and copied same thing in my phonegap project. But showing 

"Imported resource from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Received an invalid response. Origin 'null' is therefore not allowed access."

this error

Eric Bidelman

unread,
May 1, 2015, 1:24:54 PM5/1/15
to nag...@codewave.in, polym...@googlegroups.com

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/0df92437-edce-4adb-9146-e2e80621ccd5%40googlegroups.com.

Nagesh Acharya

unread,
May 1, 2015, 1:31:10 PM5/1/15
to Eric Bidelman, polym...@googlegroups.com
sorry am not getting in which page and all I need to change. If you send me some test source code that will be great for me to start.

Thanks
Reply all
Reply to author
Forward
0 new messages