mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
Another beautiful day fixes and changed version again!
This commit is contained in:
parent
a4ead9c2ba
commit
7ba379f388
3 changed files with 8 additions and 11 deletions
|
@ -354,7 +354,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 16;
|
CURRENT_PROJECT_VERSION = 17;
|
||||||
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
@ -494,7 +494,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 16;
|
CURRENT_PROJECT_VERSION = 17;
|
||||||
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
@ -528,7 +528,7 @@
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
||||||
CLANG_ENABLE_MODULES = YES;
|
CLANG_ENABLE_MODULES = YES;
|
||||||
CURRENT_PROJECT_VERSION = 16;
|
CURRENT_PROJECT_VERSION = 17;
|
||||||
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
DEVELOPMENT_TEAM = 32J6BB6VUS;
|
||||||
ENABLE_BITCODE = NO;
|
ENABLE_BITCODE = NO;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
|
|
|
@ -37,7 +37,8 @@ class ElectrumClient {
|
||||||
ElectrumClient()
|
ElectrumClient()
|
||||||
: _id = 0,
|
: _id = 0,
|
||||||
_isConnected = false,
|
_isConnected = false,
|
||||||
_tasks = {};
|
_tasks = {},
|
||||||
|
unterminatedString = '';
|
||||||
|
|
||||||
static const connectionTimeout = Duration(seconds: 5);
|
static const connectionTimeout = Duration(seconds: 5);
|
||||||
static const aliveTimerDuration = Duration(seconds: 2);
|
static const aliveTimerDuration = Duration(seconds: 2);
|
||||||
|
@ -80,11 +81,7 @@ class ElectrumClient {
|
||||||
} on FormatException catch (e) {
|
} on FormatException catch (e) {
|
||||||
final msg = e.message.toLowerCase();
|
final msg = e.message.toLowerCase();
|
||||||
|
|
||||||
if (msg == 'Unterminated string'.toLowerCase()) {
|
if (e.source is String) {
|
||||||
unterminatedString = e.source as String;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (msg == 'Unexpected character'.toLowerCase()) {
|
|
||||||
unterminatedString += e.source as String;
|
unterminatedString += e.source as String;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,7 +94,7 @@ class ElectrumClient {
|
||||||
final response =
|
final response =
|
||||||
json.decode(unterminatedString) as Map<String, Object>;
|
json.decode(unterminatedString) as Map<String, Object>;
|
||||||
_handleResponse(response);
|
_handleResponse(response);
|
||||||
unterminatedString = null;
|
unterminatedString = '';
|
||||||
}
|
}
|
||||||
} on TypeError catch (e) {
|
} on TypeError catch (e) {
|
||||||
if (!e.toString().contains('Map<String, Object>')) {
|
if (!e.toString().contains('Map<String, Object>')) {
|
||||||
|
|
|
@ -11,7 +11,7 @@ description: Cake Wallet.
|
||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 4.1.0+32
|
version: 4.1.0+33
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.7.0 <3.0.0"
|
sdk: ">=2.7.0 <3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue