All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- dynamic context in the main suspend methods
- error code for missing read url
- updated okhttp dependency from 3.13 to 4.9
- additional parameters
sendToSignIn,appDetailsforBlockstackSignIn Context.getBlockstackSharedPreferencesto be used forSessionStoreConnectActivtyandConnectHowItWorksActivityto show user on-boardingBlockstackConnectfor simplified integration
- use app.blockstack.org (connect) instead of browser.blockstack.org for sign in.
- A
ResultErrortype and enumErrorCodeto better represent errors from Blockstack
- Replaced J2V8 with kotlin implementation of auth and storage protocol
- Removed callbacks from all method calls
- Replaced
Result.errortype String with typeResultError loadUserDatathrows an error if user not logged inNetworkmethods return results, no callback used anymoreNetwork.getNamePriceis using v2 API (expecting amounts in decimals, not hex format)
- Add getPublicKeyFromPrivate, publicKeyToAddress, makeECPrivateKey
- Support for multiple fingerprints for app link verification added.
- Parameters for signature and its verification for
putFileandgetFileadded.
- Errors on network calls are reported back
BlockstackSession.deleteFileadded.
BlockstackSession.getFileUrladded, giving access to the read url for a file.- Support for 64bit-apks
- Upgraded to blockstack.js 19.1.0
- Upgraded android tools and plugins
- Replace custom scheme in example with verified app links
betaModeflag in constructor ofBlockstackSessionto enable auth with beta.browser.blockstack.org
Networkadded, providing API methods for the blockstack networkBlockstackSession.networkadded, giving access to the blockstack network used in this sessionBlockstackSession.listFilesiterates through the user's app filesBlockstackSession.generateAndStoreTransitKey, and.redirectToSignInWithAuthRequestto allow custom auth flowScope.fromJSNamecreatesScopefrom its javascript name as used in blockstack.jscontentTypeproperty inPutFileOptions
- Use current blockstack.js version from feature/session-storage (18.2.1 with user session handling)
- removed params from appConfig of
makeAuthRequest
- fixed issues #117 and #118 for putFile and getFile
- Uses custom tabs instead of normal browser view for auth
ExecutorAPI:.onWorkerThreadrenamed to.onNetworkThread, added:.onV8Thread- removed the requirement for
singleTasklaunch mode on sign in
BlockstackSession.validateProofsmethod andProofobject to verify social acounts.BlockstackSession.getAppBucketUrlmethod to retrieve the user's bucket url of the app.BlockstackSession.getUserAppFileUrlmethod to retrieve a user's file of an app with a given path.UserData.hubUrlproperty for use withgetUserAppFileUrl- Parameter
sessionStore,executorandscriptRepotoBlockstackSessionconstructor - New example for using
Blockstackin a background service
- Improved integration tests
- Updated
blockstack.jsto branchstorage-strategies BlockstackConfig.redirectUrland.manifestUrltake a relative path instead of fully-qualified URL- Switched javascript engine from
WebViewtoj2v8which enables usage of SDK as a background service and improved execution speed
Blockstack.makeAuthRequest- callback parameter from
BlockstackSession.isUserSignedIn,.loadUserData,encryptContent,decryptContentand.signUserOut
- A
BlockstackConfigobject to make it easier to use across several activities. Thanks to @friedger. BlockstackSession.encryptContent,BlockstackSession.decryptContentmethodsBlockstackSession.lookupProfilemethod which allows lookup of the profile of an arbitrary userUserData.Profileobject that contains avatar image and email as wellResult<T>object that can have a value of type T or errors, used for callbacks
- Fixed a bug where loadUserData would throw an exception if the user is not logged in. Thanks to @friedger.
- Updated
blockstack.jsto v18.0.0 - Renamed
UserData.didtoUserData.decentralizedID - All method callbacks (except
isUserSignedIn,lookupProfile) now take a `Result`` object as parameter.
- This change log.
- A themed "Sign in with Blockstack" button that supports English, German, French, and Chinese. Thanks to @friedger for this.
- Start using "changelog" over "change log" since it's the common usage.
- API operations will now throw an
IllegalStateExceptionif the Blockstack session has not fully initialized. You should wait foronLoadedCallbackto fire before using other API methods. - Properly set version in grade
- Initial release.