diff --git a/LIBCWTCH-GO.version b/LIBCWTCH-GO.version index fc6ed486..1df52e42 100644 --- a/LIBCWTCH-GO.version +++ b/LIBCWTCH-GO.version @@ -1 +1 @@ -v1.3.0-2021-09-30-20-24 \ No newline at end of file +v1.3.0-3-gfcc9d71-2021-09-30-23-09 \ No newline at end of file diff --git a/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt b/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt index d18bb0d9..f4ef3152 100644 --- a/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt +++ b/android/app/src/main/kotlin/im/cwtch/flwtch/FlwtchWorker.kt @@ -231,8 +231,10 @@ class FlwtchWorker(context: Context, parameters: WorkerParameters) : val filepath = (a.get("filepath") as? String) ?: "" val manifestpath = (a.get("manifestpath") as? String) ?: "" val filekey = (a.get("filekey") as? String) ?: "" - Log.i("FlwtchWorker::DownloadFile", "DownloadFile("+filepath+", "+manifestpath+")") - Cwtch.downloadFile(profile, handle, filepath, manifestpath, filekey) + // FIXME: Prevent spurious calls by Intent + if (profile != "") { + Cwtch.downloadFile(profile, handle, filepath, manifestpath, filekey) + } } "CheckDownloadStatus" -> { val profile = (a.get("ProfileOnion") as? String) ?: "" diff --git a/pubspec.yaml b/pubspec.yaml index d0ffcee0..daeb24ea 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # 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: 1.2.0+19 +version: 1.3.0+20 environment: sdk: ">=2.12.0 <3.0.0"