Comments (9)
Well the user doesn't need to implement this at all, only the application.
scatter-js
is a replacement for the old way of catching the extension on the window.scatter
scope.
However, this is for web applications. Native mobile applications will need to interface with Scatter Mobile directly using websockets. You can see how that is done here: https://github.com/GetScatter/scatter-js/blob/master/packages/core/src/services/SocketService.js
There will be documentation for native applications soon, but it's not live yet.
For scatter-js
( single file code ) there's docs up on https://get-scatter.com/docs/dev/setting-up-for-web-apps
For the new scatterjs-core
code there's an example here: https://github.com/GetScatter/scatter-js/blob/master/mock-sites/eosjs-esm/main.js
from scatter-js.
I just added documentation for native socket connections.
See it here: https://get-scatter.com/docs/dev/setting-up-for-native-apps
from scatter-js.
@nsjames scatter iOS app is available online?
from scatter-js.
@jacktang no Scatter is not yet available for iOS.
from scatter-js.
Hey , if to support scatter with android wallet just to copy ' scatter-js/src' all file to android assets and to load that to WebView ??
Or, other any way?? Please give us an idea,. Thank you very much!
from scatter-js.
@MartinDong please see https://get-scatter.com/docs/dev/getting-started
from scatter-js.
@nsjames we've integrated scatter-js and android. And still some problems here:
- If scatter wallet app is not install in android phone, how can we know the case?
- If the wallet is locked, how can we know the case?
- We unlock the wallet, and going to execute the transaction, and 'accept/deny' UI is shown in notification center. Can we pop up in dapp UI, just like web extension?
Thanks!
from scatter-js.
@nsjames any plan to support iPhone?
from scatter-js.
@jacktang Yes, see our roadmap here: https://get-scatter.com/Vision
from scatter-js.
Related Issues (20)
- Can't call eos contract by use WalletAPI CreateTransaction HOT 1
- TypeError: c is not a constructor
- eosjs2 naming confusion HOT 1
- signing arbitrary data HOT 1
- Repeat websocket connections causes WalletAPI to utilize closed old websocket HOT 5
- README broken links HOT 3
- Add custom network globe icon is broken in v. 12.0.0 HOT 3
- TypeError: ScatterJS.scatter.eosHook is not a function at ta.html:61
- Defining "ScatterJS.scatter.eos" Cannot call related methods
- Scatter not found in Firefox HOT 1
- Cannot read property 'getRawAbi' of undefined
- Can't connect to scatter from browser
- Blocking when sendTransaction in Tron HOT 1
- ES6 Proxy is not defined in IE11 and Old Chrome
- Detecting auth
- JSON parsing error when RelaySocket connect fails HOT 2
- When calling transact(eosio.msig), Firefox and Chrome caught exception that said firewalled. HOT 2
- 404 at https://relay.get-scatter.com/app/connect/nodejs_env
- ScatterCDN failed
- Whitelisting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scatter-js.