diff --git a/Makefile b/Makefile index 8919aba..c7e35a9 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,9 @@ build: cd cyberwow && \ flutter build apk --target-platform android-arm64 +install: build + cd cyberwow && \ + flutter install # build wownero android binary @@ -109,3 +112,9 @@ collect-wownero: wownero collect-wownero-fake: $(script)/collect-fake.sh + +# etc + +remove-exif: + exiftool -all= `find fastlane/ -name '*.jp*g' -o -name '*.png'` + diff --git a/cyberwow/android/app/build.gradle b/cyberwow/android/app/build.gradle index a7c9d75..f8723f1 100644 --- a/cyberwow/android/app/build.gradle +++ b/cyberwow/android/app/build.gradle @@ -36,8 +36,8 @@ android { applicationId "org.wownero.cyberwow" minSdkVersion 23 targetSdkVersion 28 - versionCode 21 - versionName "0.7.0.0-h" + versionCode 22 + versionName "0.7.0.0-i" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } diff --git a/cyberwow/lib/controller/process/run.dart b/cyberwow/lib/controller/process/run.dart index 3a68d27..c0072bc 100644 --- a/cyberwow/lib/controller/process/run.dart +++ b/cyberwow/lib/controller/process/run.dart @@ -53,7 +53,6 @@ Stream runBinary ]; const List releaseArgs = [ - "--restricted-rpc" ]; const extraArgs = kReleaseMode ? releaseArgs : debugArgs; diff --git a/cyberwow/lib/controller/rpc/rpc.dart b/cyberwow/lib/controller/rpc/rpc.dart index 4888e65..b1e01d9 100644 --- a/cyberwow/lib/controller/rpc/rpc.dart +++ b/cyberwow/lib/controller/rpc/rpc.dart @@ -69,7 +69,7 @@ Future rpc(final String method, {final String field}) async { return null; } else { final _body = await compute(jsonDecode, response.body); - final _result = _body['result']; + final _result = _body['result'] ?? const {}; final _field = field == null ? _result : _result[field]; return _field; diff --git a/cyberwow/pubspec.yaml b/cyberwow/pubspec.yaml index 0ab3e3a..c578543 100644 --- a/cyberwow/pubspec.yaml +++ b/cyberwow/pubspec.yaml @@ -12,7 +12,7 @@ description: A new Flutter project. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.7.0+21 +version: 0.7.0+22 environment: sdk: ">=2.1.0 <3.0.0" diff --git a/fastlane/metadata/android/en-US/changelogs/22.txt b/fastlane/metadata/android/en-US/changelogs/22.txt new file mode 100644 index 0000000..bb8a2d5 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/22.txt @@ -0,0 +1,3 @@ +* Fix an RPC error caused by null result +* Add fastlane metadata +* Enable UI in release mode diff --git a/fastlane/metadata/android/en-US/full_description.txt b/fastlane/metadata/android/en-US/full_description.txt new file mode 100644 index 0000000..d3a8c54 --- /dev/null +++ b/fastlane/metadata/android/en-US/full_description.txt @@ -0,0 +1,8 @@ +CyberWOW is a pruned full node for Wownero. + +Wownero is a privacy-centric memecoin that was fairly launched on April 1, 2018 +with no pre-mine, stealth-mine or ICO. Wownero has a maximum supply of around +184 million WOW with a slow and steady emission over 50 years. It is a fork of +Monero, but with its own genesis block, so there is no degradation of privacy +due to ring signatures using different participants for the same tx outputs on +opposing forks. diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png new file mode 100644 index 0000000..8fc5db9 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/1.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png new file mode 100644 index 0000000..9e32e50 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/2.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png new file mode 100644 index 0000000..2c35a05 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/3.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png new file mode 100644 index 0000000..9b2863b Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/4.png differ diff --git a/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png b/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png new file mode 100644 index 0000000..b576745 Binary files /dev/null and b/fastlane/metadata/android/en-US/images/phoneScreenshots/5.png differ diff --git a/fastlane/metadata/android/en-US/short_description.txt b/fastlane/metadata/android/en-US/short_description.txt new file mode 100644 index 0000000..1672841 --- /dev/null +++ b/fastlane/metadata/android/en-US/short_description.txt @@ -0,0 +1 @@ +A Wownero mobile daemon diff --git a/fastlane/metadata/android/en-US/title.txt b/fastlane/metadata/android/en-US/title.txt new file mode 100644 index 0000000..f1d6a3f --- /dev/null +++ b/fastlane/metadata/android/en-US/title.txt @@ -0,0 +1 @@ +CyberWOW