Release 2.1.6
This commit is contained in:
@@ -18,8 +18,8 @@ android {
|
|||||||
applicationId "in.sminnovations.hpostesting"
|
applicationId "in.sminnovations.hpostesting"
|
||||||
minSdk 21
|
minSdk 21
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 5
|
versionCode 6
|
||||||
versionName "2.1.5"
|
versionName "2.1.6"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,24 +31,6 @@ class DashboardActivity : AppCompatActivity() {
|
|||||||
|
|
||||||
binding = ActivityDashboardBinding.inflate(layoutInflater)
|
binding = ActivityDashboardBinding.inflate(layoutInflater)
|
||||||
setContentView(binding.root)
|
setContentView(binding.root)
|
||||||
val firebaseAppDistribution = FirebaseAppDistribution.getInstance()
|
|
||||||
firebaseAppDistribution.updateIfNewReleaseAvailable()
|
|
||||||
.addOnProgressListener { updateProgress ->
|
|
||||||
Toast.makeText(this, "Please wait, app is getting downloaded", Toast.LENGTH_SHORT).show()
|
|
||||||
}
|
|
||||||
.addOnFailureListener { e ->
|
|
||||||
// (Optional) Handle errors.
|
|
||||||
if (e is FirebaseAppDistributionException) {
|
|
||||||
when (e.errorCode) {
|
|
||||||
FirebaseAppDistributionException.Status.NOT_IMPLEMENTED -> {
|
|
||||||
// SDK did nothing. This is expected when building for Play.
|
|
||||||
}
|
|
||||||
else -> {
|
|
||||||
// Handle other errors.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
setSupportActionBar(binding.appBarDashboard.toolbar)
|
setSupportActionBar(binding.appBarDashboard.toolbar)
|
||||||
|
|
||||||
val drawerLayout: DrawerLayout = binding.drawerLayout
|
val drawerLayout: DrawerLayout = binding.drawerLayout
|
||||||
|
|||||||
Reference in New Issue
Block a user