Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Certificate VC with a web-based one on certificate-web-component #25

Open
bedinotti opened this issue Apr 3, 2017 · 1 comment

Comments

@bedinotti
Copy link
Contributor

This will enable all 3 of our environments: iOS, Android, and web, to render exactly the same. It will also allow us to add support for various customizations without reimplementing the same rendering code in all 3 places.

@bedinotti bedinotti self-assigned this Apr 3, 2017
@bedinotti
Copy link
Contributor Author

I did some work on this, but got blocked. We can't host a file locally and have it request cross-domain resources. https://groups.google.com/forum/#!topic/polymer-dev/K50FqO4R_TY

So our options are:

  1. Rewrite blockchain-certificate web component to remove its dependency on some Google Polymer web components
  2. Provide a hosted website which would allow cross-domain requests (although the user would have to have internet access to view a certificate)
  3. Fire up a local webserver on-device to serve local files as if they were coming from the internet. Apparently, this is something that Cordova does, as mentioned in that forum.
  4. Maintain our iOS implementation separate from the web component.

4 is the de-facto choice.

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

No branches or pull requests

1 participant