Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

How can i do work Polymer-Starter-Kit with Cordova ? #919

Closed
Naehs opened this issue Sep 15, 2016 · 5 comments
Closed

How can i do work Polymer-Starter-Kit with Cordova ? #919

Naehs opened this issue Sep 15, 2016 · 5 comments

Comments

@Naehs
Copy link

Naehs commented Sep 15, 2016

Hi !

I tried to do work Polymer-Starter-Kit with the Cordova CLI but when i run it on my phone i have a blank page.

I searched on internet but i didn't found, maybe that the answer is hide too deep !

Is there someone know how to do ?

Thanks.
Greetings Loïc.

@FluorescentHallucinogen
Copy link
Contributor

The problem is in using absolute paths instead of relative. See #905.

@robdodson
Copy link
Contributor

We did a change in #940. @SheanYu could you try the master branch and see if it helps?

@robdodson
Copy link
Contributor

Friendly ping, @SheanYu have you had a chance to try the new version with relative paths?

@Naehs
Copy link
Author

Naehs commented Nov 2, 2016

Greetings @robdodson,

Yes i tried it with the last branch with the relative paths.

I answered on it, it works ! Except that when the application starts i have the error404 page with the redirection. If i follow it then it the router work Well !

Loïc.

@robdodson
Copy link
Contributor

ok we had to back out the relative paths change because it caused other issues #940 (comment)

This also helped me uncover another bug/feature Polymer/polymer#4213

I am disinclined to make changes to PSK to support Cordova because PSK's primary goal is just to give folks an easy place to play around with Polymer. If we have to jump through hoops for Cordova then I think it would be a better strategy for someone in the community to create a Cordova generator for Polymer CLI that's based on either PSK or the Custom Build generator https://github.com/PolymerElements/generator-polymer-init-custom-build

I'm going to close this issue because I don't think we'll be switching to relative paths anytime soon and that sounds like a deal breaker for Cordova. Instead I'd recommend folks follow the linked Polymer issue from above if they want to track a workaround for this, since it's more of a general Polymer issue and not specific to PSK

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants