SDK Version Change History

注意
  • The SDK for Android no longer supports new apps.
  • Since version 1.5.2.302, the APMS plugin capabilities have been integrated into the AppGallery Connect plugin. To update the SDK version to 1.5.2.302 or later, you need to complete certain configurations to ensure compatibility with the original plugin functions. For details, please refer to the version change history of version 1.5.2.302.

Version

Release Date

Update Description

1.6.3.300

2023-09-27

Adapted to apps that use Gradle 8.0.

1.6.2.300

2023-01-17

Added the user privacy agreement status API APMS.getInstance().setUserPrivacyAgreed(boolean isAgreed).

  • Updated the dependency mode of Remote Configuration to compileOnly. You need to reference the dependency of Remote Configuration to use its functions.
  • Fixed the occasional AppGallery Connect configuration obtaining error during APM startup.

1.6.1.303

2022-09-26

  • Fixed the error reported for the external dependency hianalytics-connector.
  • Fixed the issue that exception logs are recorded after OkHttp3 is updated.

1.6.1.301

2022-08-10

  • Fixed the issue that data collection of HUAWEI Analytics cannot be disabled when the user agreement is reset.
  • Fixed the issue that a large number of invalid Remote Configuration requests exist when you have not integrated the service.

1.5.2.310

2022-04-08

Fixed the issue that your app may crash when an ANR event occurs on some device models.

1.5.2.309

2022-02-14

  • Reduced the SDK package size.
  • Optimized the logic of collecting ANR events.

1.5.2.307

2021-11-02

Resolved the issue that configuration-cache fails to be compiled.

1.5.2.305

2021-08-20

Fixed the issue that the app crashes during screen rendering data collection in OS versions earlier than Android 6.

1.5.2.304

2021-08-05

  • Fixed an issue that ANR data is not collected.
  • Updated the Analytics SDK on which the APM SDK depends to version 6.1.0.300.

1.5.2.302

2021-07-31

Canceled the APMS plugin and added its functions to the AppGallery Connect plugin. When updating the SDK version to 1.5.2.302 or later, perform the following operations to make the SDK compatible with the original plugin functions:
  • Delete the dependency of the APMS plugin from the project-level build.gradle file by deleting the following code:
    classpath 'com.huawei.agconnect:agconnect-apms-plugin:x.x.x.xxx'

    x.x.x.xxx indicates the current version number.

  • Remove the APM plugin ID from the app-level build.gradle file by deleting the following code:
    apply plugin 'com.huawei.agconnect.apms'
  • Update the depended AppGallery Connect plugin to version 1.6.0.300 or later:
    classpath 'com.huawei.agconnect:agcp:1.6.0.300'
  • Add the following configuration for enabling APM functions to the agcp node in the app-level Gradle file. If the agcp node does not exist, add it.
    apply plugin: 'com.huawei.agconnect'
    // Add this configuration to enable APM functions.
    agcp {
        enableAPMS true
    }

1.5.2.300

2021-05-31

Added the setUserIdentifier method to the APMS class to set user IDs, which facilitates fault locating by user ID.

1.5.1.303

2021-04-20

Fixed the compatibility issue in Gradle 4.1.0.

1.5.1.301

2021-04-09

Fixed SQLite obfuscation.

1.5.1.300

2021-04-05

  • Added the capability for analyzing slow launch details by event and provided code-level breakdown diagrams to help you locate slow launch problems.
  • Added screen loading experience analysis and provided code-level breakdown diagrams to help you locate slow screen loading problems.

1.4.1.306

2021-03-05

  • Updated the Analytics SDK on which the APM SDK depends to version 5.2.0.300.
  • Updated the AppGallery Connect SDK on which the APM SDK depends to version 1.5.0.300.
  • Fixed an issue that the android.app.ApplicationPackageManager.getInstalledApplications method is executed before the user agrees to enable APM functions.

1.4.1.305

2021-01-13

  • Updated the Analytics SDK on which the APM SDK depends to version 5.1.0.300.
  • Fixed an app crash issue with an extremely low probability due to an execution rejection exception.

1.4.1.303

2020-11-30

Resolved the problem that app foreground and background events cannot be collected.

1.4.1.302

2020-10-26

  • Used a thread to report data after the screen loading is complete, reducing the impact of the SDK on the screen loading time.
  • Reduced the number of threads to only one for ANR monitoring.

1.4.1.301

2020-09-28

Fixed an issue where ANR cannot be monitored in Android 7.0.

1.4.1.300

2020-09-21

Supported automatic ANR monitoring. The enableAnrMonitor method is added to the APMS class to enable or disable this capability.

Updated the Analytics SDK on which the APM SDK depends to version 5.0.3.300.

1.3.1.300

2020-06-15

  • Automatically traced the app foreground and background activity durations.
  • Allowed you to create custom traces to monitor app performance data in specific scenarios.
  • Monitored specific network requests to improve monitoring performance.
  • Automatically traced the CPU and memory usage of apps running in the foreground.
  • Collected the following indicators for network request event monitoring in OkHttp 3.11.0 and later versions: DNS resolution duration, TCP connection setup duration, SSL handshake duration, first packet duration, download rate, and SERVER_IP.

1.2.1.301

2020-05-28

Fixed an issue where the app crashes during screen rendering data collection.

1.2.1.300

2020-04-27

Modified dependencies based on the latest version of HUAWEI Analytics.

1.2.1.201

2020-03-31

Supported Eclipse IDE.

1.2.1.200

2020-03-27

Released the APM Android SDK for the first time.

搜索
请输入您想要搜索的关键词