InAppUpdater v1.0.5 Release Notes

Release Date: 2020-05-13 // almost 4 years ago
    • ➕ Add progress Listener to Flexible Update
    • ➕ Add listener to return the number of staleness days after an update is notified Above features were added with the new play core library update 1.7.2
    • ⚡️ Use Lifecycle observer to resume updates. No need to call continueUpdate in your activities
    • ⚡️ You need to use UpdateInfoListener instead of onVersionCheckListener

      mUpdateManager.addUpdateInfoListener(new UpdateInfoListener() {
      @Override
      public void onReceiveVersionCode(final int code) {
          // You can get the available version code of the apk in Google Play
          // Do something here
      }
      
      @Override
      public void onReceiveStalenessDays(final int days) {
          // Number of days passed since the user was notified of an update through the Google Play
          // If the user hasn't notified this will return -1 as days
          // You can decide the type of update you want to call
      }
      });
      

Previous changes from v1.0.5-alpha.1

    • ➕ Add Lifecycle observer to unregister the update state listener