Skip to content

Releases: mobilecoinofficial/android-sdk

v1.2.2.2

12 Aug 02:53
Compare
Choose a tag to compare

Fixes

  • GRPCFogKeyImageService properly converts StatusRuntimeException to NetworkException

Upgrading

No code changes are required to upgrade from 1.2.2.1 to 1.2.2.2

v1.2.2.1

22 Jul 05:13
f84e161
Compare
Choose a tag to compare

Added

  • Added AccountActivity.getAllTokenTxOuts(TokenId)

Changed

  • Changed visibility of OwnedTxOut.getAmount() to public

Upgrading

No code changes are required to upgrade from 1.2.2 to 1.2.2.1

v1.2.2

22 Jul 01:22
593be6d
Compare
Choose a tag to compare

Added

  • Added a ProposeTxResult field to InvalidTransactionException. This field indicates why the
    Transaction was not accepted.
  • MobileCoinTransactionClient.submitTransaction now returns Consensus block count at submission time.

Changed

  • Updated bindings to version 1.2.2

Fixes

  • OwnedTxOuts returned through the public API are copied from internal OwnedTxOuts. This fixes
    some issues caused by OwnedTxOuts being updated after being fetched from the public API.
  • Fixed default HttpRequester authentication
  • Fixed a dependency issue introduced by some project structure changes

Upgrading

No code changes are required to upgrade from 1.2.1 to 1.2.2

  • To easily handle various types of transaction failure differently, code such as the following
    can be used: switch(invalidTransactionException.getResult())
  • To obtain the Consensus block index at the time of Transaction submission, check the return
    value of MobileCoinTransactionClient.submitTransaction

v1.2.1

07 Jun 21:24
c9664fc
Compare
Choose a tag to compare

Added

  • Added Amount.ofMOB(BigInteger value) to create an Amount with MOB token ID

Changed

  • Updated bindings to version 1.2.1

Upgrading

No code changes are required to upgrade from 1.2.0 to 1.2.1

  • Calls to new Amount(value, TokenId.MOB) may be replaced with Amount.ofMOB(value).

v1.2.0

05 Jun 03:12
455fa53
Compare
Choose a tag to compare

Added

Changed

  • Change TxOuts are now sent to a dedicated change subaddress
  • Internal block info cache invalidated on submit transaction error, causing fees and block version to be re-fetched

Fixes

  • Fixed API level 24 support
  • FogSyncException will be thrown if Fog View and Ledger are out of sync with each other or Consensus.
    This signifies that balances may temporarily be out of date or incorrect.

Upgrading

  • The constructor for MobileCoinClient now requires one additional parameter, a TransportProtocol
    This can either be TransportProtocol.forGRPC() or TransportProtocol.forHTTP(Requester).
  • Some methods that interact with network services now throw a FogSyncException. This signifies
    that the information gathered from the network may be temporarily out of date.
  • With support for multiple token types, various account and transaction related methods have been
    deprecated. Many of these deprecated methods have simply been parameterized for a TokenId. Refer
    to the Javadoc of deprecated methods for instructions on what to use instead. Until they are removed,
    deprecated API methods will continue to function identically to how they did in 1.1.
  • For sending transactions, a TxOutMemoBuilder will be required to create TxOutMemos. These can
    be used to reconstruct
    Recoverable Transaction History (RTH).
    This will be required on network version 1.2.0. TxOutMemoBuilder.createSenderAndDestinationRTHMemoBuilder()
    can be used to satisfy this requirement and is reverse compatible with network version 1.1.

v1.2.0-pre0

15 Sep 21:51
6e58a26
Compare
Choose a tag to compare
v1.2.0-pre0 Pre-release
Pre-release

Added

  • Network Robustness. Host applications now have the ability to choose which transport protocols (HTTPS or GRPC) the SDK uses when communicating with MobileCoin services.

Changed

  • Decommissioned RNGs. The SDK no longer generates search keys from Random Number Generator (RNG) seeds that have been "decommissioned," which are RNGS that are associated with an outdated enclave.

Fixes

  • Reset attestation state on errors.

v1.1.0

10 Jun 01:37
2a0cc11
Compare
Choose a tag to compare

Added

  • minimumFeeCacheTTL parameter to ClientConfig to control the duration of the minimum transaction fee caching period. The default value is set to 30 minutes.

v1.1.0-pre2

09 May 01:35
43ea894
Compare
Choose a tag to compare
v1.1.0-pre2 Pre-release
Pre-release

Added

  • Dynamic Fees

Changed

  • Root entropy for TransferPayload has been replaced with bip39 entropy
  • Added final modifiers to the classes that should not be extended

v1.0.0

06 Apr 01:50
676ec38
Compare
Choose a tag to compare

[1.0.0] - 2020-05-04

Changed

  • setAuthorization method has been split into setFogBasicAuthorization and setConsensusBasicAuthorization
  • Report URIs in the AccountKey and PublicAddress are no loger normalized by default

Fixes

  • Incorrect balance in certain situations

v1.0.1-pre4

02 Apr 03:43
a6a2a1d
Compare
Choose a tag to compare
v1.0.1-pre4 Pre-release
Pre-release

Added

  • Estimate total fee in AccountSnapshot
  • SLIP-10 AccountKey derivation
  • New AccountKey constructors: fromBip39Entropy and fromMnemonicPhrase
  • Build on Apple Silicon
  • Hash and Equal performance improvements
  • Environments switching for Tests

Removed

  • fromRootEntropy constructor of AccountKey (use fromBip39Entropy instead)

Fixes