taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit cc137c87394ec34d2f54d69fe896dfdf3feec5ea
parent f05788f59d2872b52410e1689b2c7e896541dff9
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 10 Dec 2019 23:38:40 +0100

android fix

Diffstat:
Msrc/crypto/workers/nodeThreadWorker.ts | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/crypto/workers/nodeThreadWorker.ts b/src/crypto/workers/nodeThreadWorker.ts @@ -27,6 +27,12 @@ import { CryptoImplementation } from "./cryptoImplementation"; const f = __filename; const workerCode = ` + // Try loading the glue library for Android + try { + require("akono"); + } catch (e) { + // Probably we're not on Android ... + } const worker_threads = require('worker_threads'); const parentPort = worker_threads.parentPort; let tw;