File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/kotlin/io/treehouses/remote Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ def appVersionName = (System.env.GITHUB_RUN_NUMBER ? Integer.valueOf(System.env.
5
5
6
6
android {
7
7
namespace ' io.treehouses.remote'
8
- compileSdkVersion 34
8
+ compileSdk 35
9
9
defaultConfig {
10
10
applicationId " io.treehouses.remote"
11
11
minSdkVersion 21
@@ -89,7 +89,7 @@ dependencies {
89
89
androidTestImplementation ' androidx.test:runner:1.6.2'
90
90
implementation ' me.aflak.libraries:bluetooth:1.3.9'
91
91
implementation ' com.caverock:androidsvg-aar:1.4'
92
- implementation " androidx.core:core-ktx:1.13.1 "
92
+ implementation " androidx.core:core-ktx:1.15.0 "
93
93
implementation ' com.android.support:multidex:1.0.3'
94
94
implementation ' me.toptas.fancyshowcase:fancyshowcaseview:1.3.3'
95
95
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ object ParseDbService {
16
16
testObject.put(" description" , " Connected to bluetooth" )
17
17
testObject.put(" type" , " BT Connection" )
18
18
testObject.put(" versionCode" , getVersionCode(context))
19
- testObject.put(" versionName" , getVersionName(context))
19
+ testObject.put(" versionName" , getVersionName(context) ? : " " )
20
20
testObject.put(" deviceName" , Build .DEVICE )
21
21
testObject.put(" deviceManufacturer" , Build .MANUFACTURER )
22
22
testObject.put(" deviceModel" , Build .MODEL )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ object VersionUtils {
20
20
}
21
21
22
22
@JvmStatic
23
- fun getVersionName (context : Context ? ): String {
23
+ fun getVersionName (context : Context ? ): String? {
24
24
try {
25
25
return if (context != null ) {
26
26
val pInfo = context.packageManager.getPackageInfo(context.packageName, 0 )
You can’t perform that action at this time.
0 commit comments