Skip to content

Commit

Permalink
Merge branch 'localsend:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sergd88 authored Jul 28, 2024
2 parents 94a0cab + 822f429 commit 7bea930
Show file tree
Hide file tree
Showing 60 changed files with 544 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ jobs:
with:
upload_url: ${{ steps.draft_release.outputs.upload_url }}
asset_path: app-x86_64-release.apk
asset_name: LocalSend${{ needs.build.outputs.version }}-android-x64.apk
asset_name: LocalSend-${{ needs.build.outputs.version }}-android-x64.apk
asset_content_type: application/vnd.android.package-archive

# TAR.GZ (x86_64)
Expand Down
13 changes: 13 additions & 0 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,16 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

// To comply with F-Droid version code schema
// https://github.com/localsend/localsend/issues/1534
ext.abiCodes = ["x86_64": 1, "armeabi-v7a": 2, "arm64-v8a": 3]
import com.android.build.OutputFile
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
def abiVersionCode = project.ext.abiCodes.get(output.getFilter(OutputFile.ABI))
if (abiVersionCode != null) {
output.versionCodeOverride = variant.versionCode * 10 + abiVersionCode
}
}
}
4 changes: 4 additions & 0 deletions app/assets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.16.0 (unreleased)

- fix(android): properly close app on back gesture (@Tienisto)

## 1.15.2 (2024-07-25)

- feat: extract network scanning to separate threads, scanning should not cause UI lags anymore (@Tienisto)
Expand Down
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"requirePin": "@:webSharePage.requirePin"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -23,6 +29,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"discoveryTimeout": "Discovery Timeout"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -31,6 +37,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
7 changes: 7 additions & 0 deletions app/assets/i18n/_missing_translations_ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
"termsOfUse": "Terms of Use"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -58,6 +64,7 @@
],
"author": "Author",
"contributors": "Contributors",
"packagers": "Packagers",
"translators": "Translators"
},
"donationPage": {
Expand Down
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"discoveryTimeout": "Discovery Timeout"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -31,6 +37,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_da.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"discoveryTimeout": "Discovery Timeout"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -31,6 +37,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_el.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"discoveryTimeout": "Discovery Timeout"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -26,6 +32,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
11 changes: 10 additions & 1 deletion app/assets/i18n/_missing_translations_en_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
"@@info": [
"Here are translations that exist in <en> but not in <en-IN>.",
"After editing this file, you can run 'dart run slang apply --locale=en-IN' to quickly apply the newly added translations."
]
],
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"aboutPage": {
"packagers": "Packagers"
}
}
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"discoveryTimeout": "Discovery Timeout"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -26,6 +32,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
7 changes: 7 additions & 0 deletions app/assets/i18n/_missing_translations_eu.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
"termsOfUse": "Terms of Use"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -46,6 +52,7 @@
],
"author": "Author",
"contributors": "Contributors",
"packagers": "Packagers",
"translators": "Translators"
},
"donationPage": {
Expand Down
11 changes: 10 additions & 1 deletion app/assets/i18n/_missing_translations_fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
"@@info": [
"Here are translations that exist in <en> but not in <fa>.",
"After editing this file, you can run 'dart run slang apply --locale=fa' to quickly apply the newly added translations."
]
],
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"aboutPage": {
"packagers": "Packagers"
}
}
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"requirePin": "@:webSharePage.requirePin"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -23,6 +29,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_fil_PH.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"discoveryTimeout": "Discovery Timeout"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -31,6 +37,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
11 changes: 10 additions & 1 deletion app/assets/i18n/_missing_translations_fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
"@@info": [
"Here are translations that exist in <en> but not in <fr>.",
"After editing this file, you can run 'dart run slang apply --locale=fr' to quickly apply the newly added translations."
]
],
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"aboutPage": {
"packagers": "Packagers"
}
}
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"requirePin": "@:webSharePage.requirePin"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -23,6 +29,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
11 changes: 10 additions & 1 deletion app/assets/i18n/_missing_translations_he.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
"@@info": [
"Here are translations that exist in <en> but not in <he>.",
"After editing this file, you can run 'dart run slang apply --locale=he' to quickly apply the newly added translations."
]
],
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"aboutPage": {
"packagers": "Packagers"
}
}
11 changes: 10 additions & 1 deletion app/assets/i18n/_missing_translations_hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@
"@@info": [
"Here are translations that exist in <en> but not in <hu>.",
"After editing this file, you can run 'dart run slang apply --locale=hu' to quickly apply the newly added translations."
]
],
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"aboutPage": {
"packagers": "Packagers"
}
}
9 changes: 9 additions & 0 deletions app/assets/i18n/_missing_translations_id.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"requirePin": "@:webSharePage.requirePin"
}
},
"troubleshootPage": {
"noDiscovery": {
"symptom": "This device cannot discover other devices.",
"solution": "Make sure that all devices are on the same Wi-Fi network and share the same configuration (port, multicast address, encryption). You can try to type the IP address of the target device manually. If this works, consider adding this device to the favorites so it can be automatically discovered in the future."
}
},
"receiveHistoryPage": {
"entryActions": {
"showInFolder": "Show in folder"
Expand All @@ -23,6 +29,9 @@
"requirePin": "Require PIN",
"pinHint": "The PIN is \"{pin}\""
},
"aboutPage": {
"packagers": "Packagers"
},
"dialogs": {
"pin": {
"title": "Enter PIN"
Expand Down
Loading

0 comments on commit 7bea930

Please sign in to comment.