bitmark-inc / feralfile-app

Feral File: the way to collect art
https://app.feralfile.com
Other
43 stars 7 forks source link

App <> Canvas - Improve connectivity #1911

Open longbmk opened 6 months ago

longbmk commented 6 months ago

There are some known issue about connection need to fix:

anhnguyenbitmark commented 6 months ago

Connection list at the init time takes too long time to scan devices

For this issue, let's cache the list of local devices after scanning the first time, by using HiveBox with the key as the network BSSID. See how to get the network BSSID here: https://pub.dev/packages/network_info_plus.

anhnguyenbitmark commented 6 months ago

Connection between FFapp and TV app lost in FFapp if user kill the FFapp and reopen it

For this issue, resetting the connection state is appropriate if the user deliberately terminates the app. But the app should cache the current connection in a HiveBox and restore it when the user resumes the app from the background. It is important to ensure that the connection resumes seamlessly when the app is reopened, even under conditions of low memory where some local or in-memory variables may be purged.

phuocbitmark commented 5 months ago

@Anais-bitmark Canvas feature can only be used if the phone is on wifi network. Please design a popup ask user to switch to wifi (same network canvas devices connecting to) when user is using cellular network and trying to cast canvas

Anais-bitmark commented 5 months ago

@Anais-bitmark Canvas feature can only be used if the phone is on wifi network. Please design a popup ask user to switch to wifi (same network canvas devices connecting to) when user is using cellular network and trying to cast canvas

@phuocbitmark Can it be treated as a UI improvement?

phuocbitmark commented 5 months ago

@Anais-bitmark i would say so Cc @anhnguyenbitmark @longbmk