Skip to content

Releases: microsoft/appcenter-sdk-android

3.1.0

17 Mar 09:44
af4f0ee
Compare
Choose a tag to compare

Version 3.1.0

App Center Distribute

  • [Feature] Add a disableAutomaticCheckForUpdate API that needs to be called before SDK start in order to turn off automatic check for update.
  • [Feature] Add a checkForUpdate API to manually check for update.
  • [Fix] Fix not checking updates on public track if it was ignored on error while initializing in-app update for private track.

3.0.0

18 Feb 00:55
0bb44ae
Compare
Choose a tag to compare

Version 3.0.0

App Center Auth

App Center Auth is retired and has been removed from the SDK.

App Center Data

App Center Data is retired and has been removed from the SDK.

App Center

  • [Fix] Fix infinite recursion when handling encryption errors.

App Center Crashes

  • [Fix] Fix incorrect app version when an NDK crash is sent after updating the app.
  • [Behavior change] Change the path to the minidump directory to use a subfolder in which the current contextual data (device information, etc.) is saved along with the .dmp file.

App Center Distribute

  • [Feature] Add setUpdateTrack(and getUpdateTrack) method to be able to explicitly set either UpdateTrack.PRIVATE or UpdateTrack.PUBLIC update track. By default, a public distribution group is used. Breaking change: To allow users to access releases of private groups you now need to migrate your application to call Distribute.setUpdateTrack(UpdateTrack.PRIVATE) before the SDK start. Please read the documentation for more details.
  • [Fix] Avoid opening browser to check for sign-in information after receiving an SSL error while checking for app updates (which often happens when using a public WIFI).
  • [Fix] When in-app update permissions become invalid and need to open browser again, updates are no longer postponed after sign-in (if user previously selected the action to postpone for a day).
  • [Fix] Fix a possible deadlock when activity resumes during background operation for some Distribute public APIs like Distribute.isEnabled().

2.5.1

06 Dec 10:48
a172bee
Compare
Choose a tag to compare

Version 2.5.1

App Center Crashes

  • [Fix] Validate error attachment size to avoid server error or out of memory issues (using the documented limit which is 7MB).

2.5.0

06 Nov 01:27
1e2fc83
Compare
Choose a tag to compare

Version 2.5.0

App Center Crashes

  • [Feature] Add the Crash.trackError method to send handled errors (with optional properties and attachments).

App Center Distribute

  • [Fix] Fix an in-app update caching issue, where the same version was installed constantly after the 1st successful update (or also if the download was canceled).

2.4.1

23 Oct 06:18
6840b09
Compare
Choose a tag to compare

Version 2.4.1

App Center Distribute

  • [Fix] Fix a crash and improve logging when downloading an update fails on Android 5+.

2.4.0

15 Oct 09:04
7751a1f
Compare
Choose a tag to compare

Version 2.4.0

App Center Crashes

  • [Behavior change] Deprecate and remove insecure implementation of ErrorReport.getThrowable(), which now always returns null. Use the new ErrorReport.getStackTrace() as an alternative.

App Center Data

  • [Fix] Reduced retries on Data-related operations to fail fast and avoid the perception of calls "hanging".

App Center Distribute

  • [Fix] Downloading in-app update APK file has been failing on Android 4.x since TLS 1.2 has been enforced early September. The file is now downloaded using HTTPS direct connection when running on Android 4 instead of relying on system's download manager.
  • [Breaking change] If your minSdkVersion is lower than 19, Android requires the WRITE_EXTERNAL_STORAGE permission to store new downloaded updates. Please refer to the updated documentation site for detailed instructions. This is related to the download fix.

2.3.0

15 Aug 10:11
bc91ca8
Compare
Choose a tag to compare

Version 2.3.0

App Center Auth

  • [Feature] App Center Auth logging now includes MSAL logs.
  • [Fix] Redirect URIs are now hidden in logs.

App Center Crashes

  • [Feature] Catch "low memory warning" and provide the API to check if it has happened in last session: Crashes.hasReceivedMemoryWarningInLastSession().

App Center Push

  • [Fix] Fix confusing information log about the availability of the Firebase SDK.
  • [Fix] Fix sending the push installation log after delayed start.

2.2.0

11 Jul 18:56
e0ba412
Compare
Choose a tag to compare

App Center

  • [Fix] Remove unsecure UUID fallback when UUID generation theorically fails, in reality it never fails.
  • [Fix] Check for running in App Center Test will now work when using AndroidX instead of the support library.
  • [Feature] Add AppCenter.isRunningInAppCenterTestCloud to provide method to check if the application is running in Test Cloud.

App Center Crashes

  • [Fix] The in memory cache of error reports is now cleared when disabling Crashes.

App Center Data

  • [Feature] Add support for offline list of documents.
  • [Feature] Change the default time-to-live (TTL) from 1 day to infinite (never expire).
  • [Fix] Fix isExpired method in LocalDocument for incorrect handling of the TimeToLive.INFINITE value.
  • [Feature] Add ReadOptions parameter to the list API.
  • [Feature] Serialize null document values.
  • [Fix] Fix declaring gson as a build time dependency instead of runtime.
  • [Fix] Allow null for ReadOptions and WriteOptions parameters.

2.1.0

17 Jun 10:37
1f7a318
Compare
Choose a tag to compare

Version 2.1.0

App Center

  • [Fix] Handle incorrect usage of AppCenter.setLogUrl API to provide readable error message.
  • [Fix] Fix decrypting values that have been stored for more than a year (such as the in-app update token).

App Center Analytics

  • [Feature] Support setting latency of sending events via Analytics.setTransmissionInterval.

App Center Auth

  • [Feature] Expose the ID Token and Access Token (as raw JWT format) in the UserInformation object returned from the sign-in method.
  • [Fix] Fix missing proguard rules so that the app does not have to specify them.
  • [Fix] Fix crash on silently refreshing token if initialization of MSAL fails.
  • [Fix] Fix sign-in before start auth service never ends and blocks every next try.
  • [Breaking change] The UserInformation class has been moved from the appcenter module to the appcenter-auth module and must now be imported as import com.microsoft.appcenter.auth.UserInformation.

App Center Data

  • [Fix] Fix an issue where invalid characters in the document ID are accepted at creation time but causing errors while trying to read or delete the document. The characters are #, \, /, ?, and all whitespaces.

App Center Crashes

  • [Fix] Fix a crash that could sometimes occur while processing native crash reports.

App Center Distribute

  • [Feature] Add Distribute.setEnabledForDebuggableBuild(boolean) method to allow in-app updates in debuggable builds.
  • [Fix] Fix duplicate in-app update dialog when restarting (or switching) activity quickly after clicking download. Also fixes a crash when choosing "Ask me in a day" in the duplicate dialog.
  • [Fix] Fix a crash that could occur when downloading the update with a customized dialog and then calling Distribute.notifyUserConfirmation(UpdateAction.POSTPONE) right after calling Distribute.notifyUserConfirmation(UpdateAction.UPDATE).
  • [Fix] Fix a crash that could occur while trying to open the browser on some devices.

App Center Push

  • [Fix] Update Firebase dependency and AppCenter push logic to avoid a runtime issue with the latest Firebase messaging version 18.0.0.

2.0.0

02 May 21:56
6b50a06
Compare
Choose a tag to compare

Version 2.0.0

Version 2 of the App Center SDK includes two new modules: Auth and Data.

AppCenterAuth

App Center Auth is a cloud-based identity management service that enables developers to authenticate application users and manage user identities. The service integrates with other parts of App Center, enabling developers to leverage the user identity to view user data in other services and even send push notifications to users instead of individual devices.

AppCenterData

The App Center Data service provides functionality enabling developers to persist app data in the cloud in both online and offline scenarios. This enables you to store and manage both user-specific data as well as data shared between users and across platforms.

AppCenterCrashes

  • [Feature] After calling Auth.signIn, the next crashes are associated with an accountId corresponding to the signed in user. This is a different field than the userId set by AppCenter.setUserId. Calling Auth.signOut stops the accountId association for the next crashes.

AppCenterDistribute

  • [Fix] Fix in-app updates not working on new Samsung devices.

AppCenterPush

  • [Feature] After calling Auth.signIn, the push installation is associated to the signed in user with an accountId and can be pushed by using the accountId audience. This is a different field than the userId set by AppCenter.setUserId. The push installation is also updated on calling Auth.signOut to stop the association.
  • [Fix] Fix updating push installation when setting or unsetting the user identifier by calling AppCenter.setUserId.