diff --git a/ios/Runner/InfoBase.plist b/ios/Runner/InfoBase.plist index 2292d0b66..dde5dc3e2 100644 --- a/ios/Runner/InfoBase.plist +++ b/ios/Runner/InfoBase.plist @@ -60,6 +60,26 @@ bitcoin-wallet + + CFBundleTypeRole + Editor + CFBundleURLName + lightning + CFBundleURLSchemes + + lightning + + + + CFBundleTypeRole + Editor + CFBundleURLName + lightning-wallet + CFBundleURLSchemes + + lightning-wallet + + CFBundleTypeRole Editor diff --git a/lib/lightning/lightning.dart b/lib/lightning/lightning.dart index ed27f6645..0fd0af788 100644 --- a/lib/lightning/lightning.dart +++ b/lib/lightning/lightning.dart @@ -1,3 +1,4 @@ +import 'package:cake_wallet/bitcoin/bitcoin.dart'; import 'package:cw_core/unspent_transaction_output.dart'; import 'package:cw_core/wallet_credentials.dart'; import 'package:cw_core/wallet_info.dart'; @@ -7,8 +8,6 @@ import 'package:cw_core/unspent_coins_info.dart'; import 'package:cw_core/wallet_service.dart'; import 'package:cake_wallet/view_model/send/output.dart'; import 'package:hive/hive.dart'; -import 'package:mobx/mobx.dart'; - Lightning? lightning; diff --git a/tool/configure.dart b/tool/configure.dart index b28a7c054..0d7cd53fd 100644 --- a/tool/configure.dart +++ b/tool/configure.dart @@ -704,6 +704,7 @@ abstract class Polygon { Future generateLightning(bool hasImplementation) async { final outputFile = File(lightningOutputPath); const lightningCommonHeaders = """ +import 'package:cake_wallet/bitcoin/bitcoin.dart'; import 'package:cw_core/unspent_transaction_output.dart'; import 'package:cw_core/wallet_credentials.dart'; import 'package:cw_core/wallet_info.dart'; @@ -713,7 +714,6 @@ import 'package:cw_core/unspent_coins_info.dart'; import 'package:cw_core/wallet_service.dart'; import 'package:cake_wallet/view_model/send/output.dart'; import 'package:hive/hive.dart'; -import 'package:mobx/mobx.dart'; """; const lightningCWHeaders = """ import 'package:cw_bitcoin/electrum_wallet.dart';