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

Can't resume login in a chrome extension #108

Open
mrpspring opened this issue Oct 29, 2016 · 0 comments
Open

Can't resume login in a chrome extension #108

mrpspring opened this issue Oct 29, 2016 · 0 comments

Comments

@mrpspring
Copy link

When I try to run resumeLogin in my background.js on a chrome extension I get the error: ?d41d:51 Uncaught (in promise) TypeError: asteroid.resumeLogin is not a function

The code that I am using is:

  const Asteroid = createClass();
  const asteroid = new Asteroid({
    endpoint: 'ws://localhost:3000/websocket'
  });
  asteroid.resumeLogin().then(userId => {
    console.log(userId);
  });

Any suggestions on how to do this?

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

No branches or pull requests

1 participant