* chore: update Flutter dependencies to latest
Use Flutter version 3.27.4 on CI workflows
* chore: update flutter_rust_bridge to 2.8.0 and generate bindings
chore: update dependencies to latest
* Use Flutter 3.29.0 on CI workflows
* Update dependencies
* Use discount-ct when building txs
* Broadcast using the electrum client
* Fix CI
* Remove use of esplora url
* Address PR feedback
* Fix dart/flutter
* Update zero-conf fee rate check
* Fix clippy
* Suppress no-nullability-completeness errors
* Use 'dart run' instead of the deprecated 'flutter pub run' cmd
* Update flutter_rust_bridge to version 2.7.0
Set flutter_rust_bridge range to ">=2.4.0 <=2.7.0" on Dart plugin.
* Generate Dart bindings
* Update Flutter to latest version
* Update melos to latest version
* Make Flutter plugin compatible with AGP 8.+
- Declare 'namespace' property on module-level build script
- Change default namespace
- Remove package name from AndroidManifest
- Bump compileSdkVersion to latest
- Update source and target compatibility
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
* feat(rt-sync): add persistency layer (#555)
* feat(rt-sync): add pull and merge (#556)
* feat(rt-sync): add push logic and run method (#568)
* feat(rt-sync): integrate rt-sync with the sdk
fix: add formatting command to build
feat: add secondary trigger to sync
deps: add tonic tls-webpki-roots
feat: prevent double claiming on status stream handlers
fix: add tx commit to chain swap update (#588)
fix: ensure we pull records before prepare_send
fix: fmt and tests
* fix: set initial pulled state to `Recoverable`
* feat(rt-sync): add `last_derivation_index` to sync service
* Single chain source
* Handle Recoverable state
* fix(rt-sync): chain recovery integration (#590)
Co-authored-by: yse <hydra_yse@proton.me>
* feat(rt-sync): add `pair_fees_json`
* fix(rt-sync): clean already persisted incoming records
* feat: cache wallet info (#591)
* log: add status-stream logging for non-local swaps
* Sync improvements (#598)
* Full sync on new Bitcoin block
* Track the last unconfirmed refund tx
* Trigger synced event on partial sync
* fix: remove `REPLACE` clause from swap insert/update
* fix(rt-sync): update chain swap payer/receiver amount (#604)
* Fix syncing last derivation index
* fix: update bindings and lockfile
* remove logs
* fix(rt-sync): avoid reuse of derivation index update logic (#608)
* Add 5 index buffer to full scan
* Fix storing claim_address (#609)
* Filter incoming MRH txs by swap timestamp
* fix liquid panding timestamp
* persist tx data timestamp
* Update unconfirmed transactions
* feat: add API key (#618)
* Use configured lazy connect channel in sync service
* fix: set lower-case header (#624)
* fix error message
* Store & Sync LNURL info (#617)
* Persist and decrypt LNURL info
* Update Notification Plugin
* Sync payment details
* Update list payments to include chain swaps with only user lockup (#620)
* Update payments query to include chain swaps without txs
* Allow emitting a payment event without tx_id
* fix: bindings
---------
Co-authored-by: Ross Savage <hello@satimoto.com>
Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
Co-authored-by: Roei Erez <roeierez@gmail.com>
* Re-add convenience Flutter gen command
* Decouple building ios framework step from bindings-swift script
* Add comments to uniffi build scripts.
* Make init-sdk part of init recipe
* Reorder recipes
* generate ios framework by default on gen recipe
* softlink C headers as part of their generator recipes
* Add convenience build recipe to generate everything needed for Flutter when developing the SDK
* Update Check Dart/Flutter bindings CI step
---------
Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
* Flutter uniffi
* Set on-demand resources
* Do not build non-uniffi libraries
* Change iosLibName
* Add BreezSDKLiquid as on demand resources
* Use downloaded framework
* Add Sources to published flutter package
* Set OTHER_LDFLAGS
* Add logging
* Refactor library initialization logic and throw an error if initialization fails
* Do not statically link framework on production
* Use uniFFI headers to generate FlutterBreezLiquidBindings
* Re add frb header
* Correct the library name
* Remove static_framework
* Move source header files
* Copy iOS podspecs to macOS folder
* Update version of macOS podspecs
* Remove Windows & Linux support
* Remove CMake scripts
* Remove breez_sdk_liquid.podspec from version script
* Cleanup older build scripts used by melos & just recipes
* Remove softlink & copy recipes
Add recipe descriptions
* Rename link-uniffi recipe to link-headers
Make sure headers are linked after uniffi is built
- Remove just gen recipe
Add recipe descriptions
* Set package versions on production files as well when publishing
* Include bindings project on melos script hooks
* Flutter uniffi
* Set on-demand resources
* Do not build non-uniffi libraries
* Change iosLibName
* Add BreezSDKLiquid as on demand resources
* Use downloaded framework
* Add Sources to published flutter package
* Set OTHER_LDFLAGS
* Add logging
* Refactor library initialization logic and throw an error if initialization fails
* Do not statically link framework on production
* Use uniFFI headers to generate FlutterBreezLiquidBindings
* Re add frb header
* Correct the library name
* Remove static_framework
* Move source header files
* Copy iOS podspecs to macOS folder
* Update version of macOS podspecs
* Remove Windows & Linux support
* Remove CMake scripts
* Remove breez_sdk_liquid.podspec from version script
* Cleanup older build scripts used by melos & just recipes
* Remove softlink & copy recipes
Add recipe descriptions
* Rename link-uniffi recipe to link-headers
Make sure headers are linked after uniffi is built
- Remove just gen recipe
Add recipe descriptions
* Set package versions on production files as well when publishing
* Include bindings project on melos script hooks
* chore: just version
* fix: remove unused files on "Set package version" step
* copy FFI header files
* [WIP] Add macOS support
* remove example app on Flutter plugin
* Link headers before running ffigen on CI workflow
* macOS: add macos/Sources folder to .gitignore
.
* macOS: Copy iOS sources to macOS sources after downloading bindings
* macOS: copy sources & framework file to macos folder on build-uniffi-swift script
* import breez_sdk_liquidFFI header on plugin file
Update flutter_breez_liquid.c
* cleanup header file artifacts
---------
Co-authored-by: Ross Savage <hello@satimoto.com>
* Add Swift notification plugin
* Hash the metadata
* Validate min sendable amount
* Remove initializer as base class, UNNotificationServiceExtension, has no default initializer
* Set the PaymentMethod
* Handle PaymentDetails in SwapUpdated
* Improve payment text
* Add just recipe to update version number on podspec files & Cmake scripts
* Resolve relative path of root from script directory
* fix: Update production podpsec's version with version script
* Run 'just version'
* Update melos dependency
* Check if versions on podspec & cmake scripts were updated properly on CI
* Update versions on podspec & cmake scripts on publish
* Declare license type on podspec
* Add platform-specific link recipes
* Add copy recipes to be used in CI workflows
* Downgrade Flutter to 3.22.3
Downgrade Flutter to 3.22.3 until resource linking issue is resolved on Android release builds with 3.24
* Update pubspec.lock
* 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
* Publish flutter artifacts and package
* Publish dart package
* Add LICENCE
* Force rm
* Don't copy lock files
* Fix output directory
* Fix podspec name
* Pass SWIFT_RELEASE_TOKEN
* Fix overrides indentation
* Update package version on CMake script
Update example dependencies
* Depend on dart & flutter packages from git on pubspec files
* Correct repository links & add publish_to: 'none'
* run just clean && just init
* Update README.md
* Download framework as part of prepare_command
* Use wget, then fallback to curl
* Remove redundant .zip suffix on the url
* Fix release tag
* Add v to tag replacement
* Fix podspec version
* Copy header file
* Downgrade vm_service
---------
Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
* Fix relative path on melos.yaml
* Mention current version on CHANGELOG.md
* Remove symlink for apache license
* Address typos & relative path issues on README.md
* Ignore Flutter example app on Melos.yaml
* Remove obsolete param from Config on example app
* Do not treat info messages as critical
* Update README of Dart/Flutter packages
Revert changes on topmost README
* Update pubspec.lock
* Make dart output directory if it does not exists
* Replace continue-on-error
Resume even if previous step fails, this approach displays errors on CI summary.
* Install Protoc as part of CI workflow
* Added init-sdk as part of just bootstrap recipe which installs protobuf
* Pinned freezed to <=2.5.2
- Add static analysis step for Dart & Flutter packages
- Ignore warning for unused element on build scrips for Windows targets
- Continue if there are any errors with generating bindings