Allow working with local library on iOS (#434)

* Update SDK range and update dependencies to latest

* Correct the output folder creation on codegen just recipe

* Create a podspec for local development

* Use production podspec when publishing

* Remove spec.platform as deployment targets are already set
This commit is contained in:
Erdem Yerebasmaz
2024-08-07 14:59:00 +03:00
committed by GitHub
parent 6373ac2be3
commit 3703fd3477
8 changed files with 70 additions and 27 deletions

View File

@@ -90,7 +90,7 @@ class _HomePageState extends State<HomePage> {
} on Exception catch (e) {
final errMsg = "Failed to sync wallet. $e";
debugPrint(errMsg);
if (context.mounted) {
if (mounted) {
final snackBar = SnackBar(behavior: SnackBarBehavior.floating, content: Text(errMsg));
ScaffoldMessenger.of(context).showSnackBar(snackBar);
}