aboutsummaryrefslogtreecommitdiff
path: root/src/android/index.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-23 12:50:36 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-23 12:50:36 +0200
commit98c15905ea687c873ec54cfba2f68820f01c65f1 (patch)
treee927b8b454343353b46cb118ddde2f1b9f4c2c9e /src/android/index.ts
parent0032ff9f3680782d4d8f287e58627c6ec97fca27 (diff)
downloadwallet-core-98c15905ea687c873ec54cfba2f68820f01c65f1.tar.xz
we don't need postForm in the wallet httplib
Diffstat (limited to 'src/android/index.ts')
-rw-r--r--src/android/index.ts19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/android/index.ts b/src/android/index.ts
index 7ff9b21d1..485663a41 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -82,25 +82,6 @@ export class AndroidHttpLib implements HttpRequestLibrary {
}
}
- postForm(url: string, form: any): Promise<import("../http").HttpResponse> {
- if (this.useNfcTunnel) {
- const myId = this.requestId++;
- const p = openPromise<HttpResponse>();
- this.requestMap[myId] = p;
- const request = {
- method: "postForm",
- url,
- form,
- };
- this.sendMessage(
- JSON.stringify({ type: "tunnelHttp", request, id: myId }),
- );
- return p.promise;
- } else {
- return this.nodeHttpLib.postForm(url, form);
- }
- }
-
handleTunnelResponse(msg: any) {
const myId = msg.id;
const p = this.requestMap[myId];