Outblock / fcl-swift

MIT License
12 stars 7 forks source link

Call fcl.mutate always fail #16

Open qhccthanh opened 2 years ago

qhccthanh commented 2 years ago

Hi,

I just started learning Flow blockchain and building an iOS dApp refer to this article https://dev.to/theagilemonkeys/how-to-buid-a-native-ios-dapp-that-uses-the-flow-blockchain-as-the-backend-n9k

I run FCLDemo(0.0.3) and try to trigger SendTransaction but it always returns the error(decode failed). I debug and found out the error return from AccountsResolver when it tried to call executePost request pre_authz(https://flow-wallet-testnet.blocto.app/api/flow/pre-authz) service API and got the response Invalid domain - HTTP status code: 400

It's happened on both testnet and mainnet (blockto wallet)

The fcl.config is same as what the FCLDemo setup

lmcmz commented 2 years ago

I will look into that, it seem blocto update their API on their end.