Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

getProvider() method now prompts to choose a provider #281

Open
maliiiith opened this issue Jun 6, 2019 · 5 comments
Open

getProvider() method now prompts to choose a provider #281

maliiiith opened this issue Jun 6, 2019 · 5 comments
Labels

Comments

@maliiiith
Copy link

maliiiith commented Jun 6, 2019

This is not entirely a bug but a concern I have regarding the new functionality of getProvider() method.

getProvider() now prompts to choose a provider if you have any injected providers. I'm wondering why does uport-connect lets you pick any injected provider instead of uport-connect's?

I'm trying to see if I can get the default provider without prompting user.

  • OS: MacOS 10.14.5
  • Browser: Firefox 67.0.1
  • Version: 1.1.11
@vongohren
Copy link

Screenshot 2019-10-08 at 11 13 45

@maliiiith
Copy link
Author

Is there a way to set uPort as the default provider and skip the prompt?

@vongohren
Copy link

Some updates on this:
The documentation on resolving for did and ethr did is a bit off. After updating things are not working as expected.
We have this code right here: https://codesandbox.io/embed/goofy-leaf-lrnyv
Also see comments from last developer
Screenshot 2019-10-21 at 09 15 42

@vongohren
Copy link

Since everybody is so active here, I just want to update on this.
We have changed the code so it uses new libs. All is good.
But the newest version of ethr-did-resolver builds .ejs files in dist, which breakes the frontend usage of this package. See picture for log of conversation with mircea.

Screenshot 2019-11-07 at 13 53 17

Screenshot 2019-11-07 at 13 52 59

@vongohren
Copy link

This way and resolving like this, we dont need uport-connect in the app afterall. We have been doing backend creation of the nessercary app connections

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

No branches or pull requests

3 participants