Home:ALL Converter>Android, is there a way to update a Fabric Beta distributed app within the app?

Android, is there a way to update a Fabric Beta distributed app within the app?

Ask Time:2018-09-04T17:32:21         Author:alice

Json Formatter

I have successfully distributed the app via fabric beta, but after the new version of the app was distributed, there is no window for updates in the old app.

Is there a way to update a Fabric Beta distributed app within the app?

I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this.

In the project, I have integrated the fabric, like this:

build: 1:

apply plugin: 'io.fabric'

2:

buildscript {
repositories {
    google()
    maven { url 'https://maven.fabric.io/public' }
}

dependencies {
    classpath 'io.fabric.tools:gradle:1.25.4'
}
}

3:

dependencies {
implementation('com.crashlytics.sdk.android:crashlytics:2.9.5@aar') {
    transitive = true
}

Fastfile:

fastlane_version "2.68.0"

generated_fastfile_id "1111"

default_platform :android

lane :beta do
   build_android_app(task: "assembleRelease")
   emails = ["xxxxx"]

   sh("touch changelog.txt")
   File.write("./changelog.txt","Distributed with fastlane")

   # upload to Beta by Crashlytics
   crashlytics(
       notes_path:"fastlane/changelog.txt",
       api_token: "xxxx",
       build_secret:"xxxx",
       emails: emails,
       groups:[], 
       notifications: true
  )end

Fabric.properties

apiSecret=xxxx
apiKey=xxxx

Author:alice,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/52163176/android-is-there-a-way-to-update-a-fabric-beta-distributed-app-within-the-app
yy