aboutsummaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-09-01 01:05:38 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-09-01 01:05:38 +0200
commit70912b07250e7c86ace4a0b0b16e90352df93ece (patch)
tree4609e53f86197c7706e803972537488cacb9173c /src/android
parentaa36fce8a0d1ead29709444527c2d1a4ba9491a6 (diff)
fix error in index iteration
Diffstat (limited to 'src/android')
-rw-r--r--src/android/index.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/android/index.ts b/src/android/index.ts
index e7d24c8b4..d3f5cd0d6 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -171,6 +171,16 @@ export function installAndroidWalletListener() {
httpLib.handleTunnelResponse(msg.args);
break;
}
+ case "getWithdrawalInfo": {
+ const wallet = await wp.promise;
+ result = await wallet.getWithdrawalInfo(msg.args.talerWithdrawUri);
+ break;
+ }
+ case "acceptWithdrawal": {
+ const wallet = await wp.promise;
+ result = await wallet.acceptWithdrawal(msg.args.talerWithdrawUri, msg.args.selectedExchange);
+ break;
+ }
case "reset": {
const wallet = await wp.promise;
wallet.stop();