Bug fixes & improvements on Flutter plugin example app (#359)

* Remove unneeded resource files from iOS Project

* Remove breez_liquid_sdk.h
* Remove outdated method to enforce bundling on AppDelegate

* Add NSCameraUsageDescription to be able to scan QR codes on example app

* Do not show "No Balance" text when balance is 0

* Wait for reconnect attempt on startup

* Add a cancel button to mobile scanner

* Bound size of QR image view

* Reverse the payment list
This commit is contained in:
Erdem Yerebasmaz
2024-07-08 12:38:38 +03:00
committed by GitHub
parent 1a539d3de0
commit 015fb1f307
11 changed files with 172 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ void main() async {
final credentialsManager = CredentialsManager(keyChain: KeyChain());
final mnemonic = await credentialsManager.restoreMnemonic();
if (mnemonic.isNotEmpty) {
reconnect(liquidSDK: liquidSDK, mnemonic: mnemonic);
await reconnect(liquidSDK: liquidSDK, mnemonic: mnemonic);
}
runApp(App(credentialsManager: credentialsManager, liquidSDK: liquidSDK));
}