restore android button

This commit is contained in:
erinn 2021-10-01 12:39:33 -07:00
commit 368515423b
3 changed files with 6 additions and 4 deletions

View File

@ -1 +1 @@
v1.3.0-2021-09-30-20-24
v1.3.0-3-gfcc9d71-2021-09-30-23-09

View File

@ -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) ?: ""

View File

@ -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"