Giter Club home page Giter Club logo

Comments (7)

wl05 avatar wl05 commented on August 19, 2024

I forgot to install the scatter chrome plugin

from scatter-js.

nsjames avatar nsjames commented on August 19, 2024

For others who are wondering, these errors are normal if the user doesn't have Scatter Desktop installed. There's nothing we can do about removing them from the browser's console as those misconnection errors are served by the browsers themselves, and not this library.

from scatter-js.

edwardfxiao avatar edwardfxiao commented on August 19, 2024

@nsjames Hi, we already have the chrome scatter extension installed, and still got these error. We previously were using document.addEventListener('scatterLoaded', scatterExtension => {}) way and it worked. Got SocketService.js:6 WebSocket connection to ... error when trying to use

import ScatterJS from 'scatterjs-core';
import ScatterEOS from 'scatterjs-plugin-eosjs';

const connectionOptions = {initTimeout:10000}

ScatterJS.scatter.connect("Put_Your_App_Name_Here", connectionOptions).then(connected => {
    if(!connected) {
        // User does not have Scatter installed/unlocked.
        return false;
    }
...

Anything we did wrong?

from scatter-js.

nsjames avatar nsjames commented on August 19, 2024

These errors are normal if you only have the extension. The error is signifying that it can't make a connection to desktop.

from scatter-js.

edwardfxiao avatar edwardfxiao commented on August 19, 2024

in the docs
This library catches Scatter Desktop, Scatter Mobile and Scatter Classic ( extension )...
I thought it means scatterjs-core could work with any of those versions.

scatterjs-core doesnt work without desktop version, correct?

from scatter-js.

nsjames avatar nsjames commented on August 19, 2024

It does. The error message is irrelevant.

There is no way to stop them from being issued as they come from the browser and not the library. You can ignore them.

from scatter-js.

edwardfxiao avatar edwardfxiao commented on August 19, 2024

@nsjames Thanks, it worked. Its all good now.

from scatter-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.