gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: android: use akono module


From: gnunet
Subject: [taler-wallet-core] branch master updated: android: use akono module
Date: Thu, 14 Nov 2019 18:52:00 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 87aa0f65 android: use akono module
87aa0f65 is described below

commit 87aa0f65c358773392d0c33c82fa040d466845a9
Author: Florian Dold <address@hidden>
AuthorDate: Thu Nov 14 18:51:54 2019 +0100

    android: use akono module
---
 src/android/index.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/android/index.ts b/src/android/index.ts
index b8bb77e0..ab0d3f7b 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -30,6 +30,9 @@ import axios from "axios";
 import { HttpRequestLibrary, HttpResponse } from "../http";
 import querystring = require("querystring");
 
+// @ts-ignore: special built-in module
+import akono = require("akono");
+
 export class AndroidHttpLib implements HttpRequestLibrary {
   useNfcTunnel: boolean = false;
 
@@ -99,7 +102,7 @@ export class AndroidHttpLib implements HttpRequestLibrary {
 
 export function installAndroidWalletListener() {
   // @ts-ignore
-  const sendMessage: (m: string) => void = global.__akono_sendMessage;
+  const sendMessage: (m: string) => void = akono.sendMessage;
   if (typeof sendMessage !== "function") {
     const errMsg =
       "FATAL: cannot install android wallet listener: akono functions missing";

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]