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
,appDetails
forBlockstackSignIn
Context.getBlockstackSharedPreferences
to be used forSessionStore
ConnectActivty
andConnectHowItWorksActivity
to show user on-boardingBlockstackConnect
for simplified integration
- use app.blockstack.org (connect) instead of browser.blockstack.org for sign in.
- A
ResultError
type and enumErrorCode
to better represent errors from Blockstack
- Replaced J2V8 with kotlin implementation of auth and storage protocol
- Removed callbacks from all method calls
- Replaced
Result.error
type String with typeResultError
loadUserData
throws an error if user not logged inNetwork
methods return results, no callback used anymoreNetwork.getNamePrice
is 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
putFile
andgetFile
added.
- Errors on network calls are reported back
BlockstackSession.deleteFile
added.
BlockstackSession.getFileUrl
added, 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
betaMode
flag in constructor ofBlockstackSession
to enable auth with beta.browser.blockstack.org
Network
added, providing API methods for the blockstack networkBlockstackSession.network
added, giving access to the blockstack network used in this sessionBlockstackSession.listFiles
iterates through the user's app filesBlockstackSession.generateAndStoreTransitKey
, and.redirectToSignInWithAuthRequest
to allow custom auth flowScope.fromJSName
createsScope
from its javascript name as used in blockstack.jscontentType
property 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
Executor
API:.onWorkerThread
renamed to.onNetworkThread
, added:.onV8Thread
- removed the requirement for
singleTask
launch mode on sign in
BlockstackSession.validateProofs
method andProof
object to verify social acounts.BlockstackSession.getAppBucketUrl
method to retrieve the user's bucket url of the app.BlockstackSession.getUserAppFileUrl
method to retrieve a user's file of an app with a given path.UserData.hubUrl
property for use withgetUserAppFileUrl
- Parameter
sessionStore
,executor
andscriptRepo
toBlockstackSession
constructor - New example for using
Blockstack
in a background service
- Improved integration tests
- Updated
blockstack.js
to branchstorage-strategies
BlockstackConfig.redirectUrl
and.manifestUrl
take a relative path instead of fully-qualified URL- Switched javascript engine from
WebView
toj2v8
which enables usage of SDK as a background service and improved execution speed
Blockstack.makeAuthRequest
- callback parameter from
BlockstackSession.isUserSignedIn
,.loadUserData
,encryptContent
,decryptContent
and.signUserOut
- A
BlockstackConfig
object to make it easier to use across several activities. Thanks to @friedger. BlockstackSession.encryptContent
,BlockstackSession.decryptContent
methodsBlockstackSession.lookupProfile
method which allows lookup of the profile of an arbitrary userUserData.Profile
object 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.js
to v18.0.0 - Renamed
UserData.did
toUserData.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
IllegalStateException
if the Blockstack session has not fully initialized. You should wait foronLoadedCallback
to fire before using other API methods. - Properly set version in grade
- Initial release.