Closed jermaine-uome closed 1 month ago
Any news on this? I need to send the "onBehalfOf" parameter. Thanks
@jermaine-uome Can you format dart files with 100 page width? Also for commits follow the convention: https://www.conventionalcommits.org/en/v1.0.0/
Closed in favour of #74
Description
This pull request contains the fix for the following related issue raised a couple of weeks ago: https://github.com/BreX900/mek-packages/issues/50
It appears that the reason why tap to pay wasn't working for connected accounts was due to not being able to set the connected account id when instantiating
LocalMobileConnectionConfigurationBuilder
in theonConnectMobileReader
method in Terminal.swift.The
onConnectMobileReader
method not accepts anonBehalfOf
field which is sent to the configuration builder:On the Flutter side the platform api method now looks like this:
To confirm I did run the following command for generating the code to communicate between Flutter and Android/iOS platforms: