begin gradle support for auto play upload

pull/107/head
geeksville 2020-07-20 12:07:55 -07:00
rodzic 753393541a
commit 750855c8d4
21 zmienionych plików z 38 dodań i 4 usunięć

Wyświetl plik

@ -51,6 +51,10 @@ for verbose logging:
adb shell setprop log.tag.FA VERBOSE adb shell setprop log.tag.FA VERBOSE
``` ```
## Publishing to google play
(Only supported if you are a core developer that needs to do releases)
# Credits # Credits
This project is the work of volunteers: This project is the work of volunteers:

Wyświetl plik

@ -3,6 +3,8 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlinx-serialization' apply plugin: 'kotlinx-serialization'
apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.github.triplet.play'
// apply plugin: "app.brant.amazonappstorepublisher"
// Apply the Crashlytics Gradle plugin // Apply the Crashlytics Gradle plugin
apply plugin: 'com.google.firebase.crashlytics' apply plugin: 'com.google.firebase.crashlytics'
@ -11,14 +13,23 @@ apply plugin: 'com.google.firebase.crashlytics'
apply plugin: 'com.google.protobuf' apply plugin: 'com.google.protobuf'
android { android {
/*
signingConfigs {
release {
storeFile "$meshtasticKeystoreFile"
keyAlias 'upload'
storePassword "$meshtasticKeystorePassword"
keyPassword "$meshtasticKeyPassword"
}
} */
compileSdkVersion 29 compileSdkVersion 29
buildToolsVersion "29.0.3" buildToolsVersion "29.0.3"
defaultConfig { defaultConfig {
applicationId "com.geeksville.mesh" applicationId "com.geeksville.mesh"
minSdkVersion 21 // The oldest emulator image I have tried is 22 (though 21 probably works) minSdkVersion 21 // The oldest emulator image I have tried is 22 (though 21 probably works)
targetSdkVersion 29 targetSdkVersion 29
versionCode 10802 // format is Mmmss (where M is 1+the numeric major number versionCode 10803 // format is Mmmss (where M is 1+the numeric major number
versionName "0.8.02" versionName "0.8.03"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }
buildTypes { buildTypes {
@ -65,6 +76,12 @@ android {
} }
} }
play {
// configure per https://github.com/Triple-T/gradle-play-publisher#authenticating-gradle-play-publisher
track = 'internal'
defaultToAppBundles = true
serviceAccountCredentials = file("../../play-credentials.json")
}
androidExtensions { androidExtensions {
experimental = true experimental = true

Wyświetl plik

@ -765,7 +765,7 @@ class SafeBluetooth(private val context: Context, private val device: BluetoothD
// Cancel any notifications - because when the device comes back it might have forgotten about us // Cancel any notifications - because when the device comes back it might have forgotten about us
notifyHandlers.clear() notifyHandlers.clear()
closeGatt() closeGatt()
failAllWork(BLEException("Connection closing")) failAllWork(BLEException("Connection closing"))
@ -791,7 +791,7 @@ class SafeBluetooth(private val context: Context, private val device: BluetoothD
notifyHandlers[c.uuid] = onChanged notifyHandlers[c.uuid] = onChanged
// c.writeType = BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT // c.writeType = BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT
gatt!!.setCharacteristicNotification(c, enable) gatt!!.setCharacteristicNotification(c, enable)
// per https://stackoverflow.com/questions/27068673/subscribe-to-a-ble-gatt-notification-android // per https://stackoverflow.com/questions/27068673/subscribe-to-a-ble-gatt-notification-android
val descriptor: BluetoothGattDescriptor = c.getDescriptor(configurationDescriptorUUID) val descriptor: BluetoothGattDescriptor = c.getDescriptor(configurationDescriptorUUID)
?: throw BLEException("Notify descriptor not found for ${c.uuid}") // This can happen on buggy BLE implementations ?: throw BLEException("Notify descriptor not found for ${c.uuid}") // This can happen on buggy BLE implementations

Wyświetl plik

@ -0,0 +1 @@
kevinh@geeksville.com

Wyświetl plik

@ -0,0 +1 @@
http://www.meshtastic.org

Wyświetl plik

@ -0,0 +1 @@
en-US

Wyświetl plik

@ -0,0 +1,3 @@
This is a beta release of the meshtastic.org project. We'd love you to try it and tell us what you think. You'll need to buy an inexpensive ($30ish) radio from a variety of vendors to use this application, see our website for details. We don't make these devices.
***Please*** if you encounter problems or have questions: post on our forum at meshtastic.discourse.group and we'll work together to fix them (we are volunteer hobbyists). We would really appreciate good Google reviews if you think this is a good project.

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 67 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 23 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 81 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 82 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 1.1 MiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 86 KiB

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 152 KiB

Wyświetl plik

@ -0,0 +1 @@
An inexpensive open-source GPS mesh radio for hiking, skiing, flying, marching.

Wyświetl plik

@ -0,0 +1 @@
Meshtastic

Wyświetl plik

@ -0,0 +1 @@
https://www.youtube.com/watch?v=TY6m6fS8bxU

Wyświetl plik

@ -0,0 +1 @@
Lots of improvements - see meshtastic.discourse.group

Wyświetl plik

@ -0,0 +1 @@
Lots of improvements - see meshtastic.discourse.group

Wyświetl plik

@ -0,0 +1 @@
An internal build

Wyświetl plik

@ -0,0 +1 @@
Lots of improvements - see meshtastic.discourse.group