archethic-foundation / archethic-wallet

Archethic Wallet
GNU Affero General Public License v3.0
58 stars 25 forks source link

Issue with Android and access to aeSwap #1081

Closed redDwarf03 closed 1 month ago

redDwarf03 commented 3 months ago

Describe the problem you discovered

I try some tests on testnet

i hardcoded aeSwap url

With swap.testnet.archethic.net i have this issue with android 14

[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: [AWC] Init webmessage}
[AWS-StreamChannel-Webview] Wallet Init WebMessage PortStreamchannel
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 1, message: [AWC] Init webmessage Done}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 0, message: Injecting <script> tag. Using callback.}
[AndroidInAppWebViewController] (android) WebView ID 0 calling "onConsoleMessage" using {messageLevel: 2, message: Exception while loading service worker: SecurityError: Failed to register a ServiceWorker for scope ('https://swap.testnet.archethic.net/') with script ('https://swap.testnet.archethic.net/flutter_service_worker.js?v=%223431019299%22'): An SSL certificate error occurred when fetching the script.}

NB: i change in mainnet the url "swap.testnet.archethic.net" -> "swap.testnet.archethic.net/swap" and it works

redDwarf03 commented 1 month ago

close this issue because aeSwap in native in wallet V3