diff options
Diffstat (limited to 'wallet/src/main/java/net/taler')
-rw-r--r-- | wallet/src/main/java/net/taler/wallet/backend/WalletBackendService.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/backend/WalletBackendService.kt b/wallet/src/main/java/net/taler/wallet/backend/WalletBackendService.kt index ccb995a..8312d9b 100644 --- a/wallet/src/main/java/net/taler/wallet/backend/WalletBackendService.kt +++ b/wallet/src/main/java/net/taler/wallet/backend/WalletBackendService.kt @@ -57,14 +57,14 @@ class WalletBackendService : Service() { override fun onCreate() { val talerWalletAndroidCode = - assets.open("taler-wallet-android-$WALLET_CORE_VERSION.js").use { + assets.open("taler-wallet-embedded-$WALLET_CORE_VERSION.js").use { it.readBytes().toString(Charsets.UTF_8) } Log.i(TAG, "onCreate in wallet backend service") akono = AkonoJni() - akono.putModuleCode("@gnu-taler/taler-wallet-android", talerWalletAndroidCode) + akono.putModuleCode("@gnu-taler/taler-wallet-embedded", talerWalletAndroidCode) akono.setMessageHandler(object : AkonoJni.MessageHandler { override fun handleMessage(message: String) { this@WalletBackendService.handleAkonoMessage(message) @@ -72,8 +72,8 @@ class WalletBackendService : Service() { }) //akono.evalNodeCode("require('source-map-support').install();") akono.evalNodeCode("require('akono');") - akono.evalNodeCode("tw = require('@gnu-taler/taler-wallet-android');") - akono.evalNodeCode("tw.installAndroidWalletListener();") + akono.evalNodeCode("tw = require('@gnu-taler/taler-wallet-embedded');") + akono.evalNodeCode("tw.installNativeWalletListener();") sendInitMessage() initialized = true super.onCreate() |