Skip to content

Replace currently used custom Bluetooth wrapper with WebBluetooth polyfill #6

@tladesignz

Description

@tladesignz

Currently:

https://github.com/wwWallet/wallet-ios-wrapper/blob/main/Funke%20Wallet/Web/NativeWrapper.js
https://github.com/wwWallet/wallet-ios-wrapper/blob/main/Funke%20Wallet/Bluetooth/BLEServer.swift
https://github.com/wwWallet/wallet-ios-wrapper/blob/main/Funke%20Wallet/Bluetooth/BLEClient.swift

Wanted:

https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API

cnh:

Wrappers should mimic the necessary parts of WebBluetooth via "polyfill" (instead of the current proprietary APIs) so that the wwWallet frontend only uses the webBluetooth API and will work in the wrapper or in chrome/desktop without needing to know which is in use

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions