@react-native-async-storage/async-storage (>= 1.0.0), which is used to persist aid (a unique device identifier used to distinguish devices and calculate uv). If it is not installed, the SDK automatically falls back to an aid that is not persisted within the session.aegis-rn-sdk from the npm registry. The dependency will be written to package.json in the project root directory:npm install --save aegis-rn-sdk
react-native.config.js has been configured with AegisPerfPackage). The dependency is located in the android/ native project, so you do not need to manually add it to android/app/build.gradle.ios/ directory. After pod install is executed, it is automatically integrated through aegis-rn-sdk.podspec, so you do not need to manually add it to Podfile.import Aegis from 'aegis-rn-sdk';const aegis = new Aegis({id: 'pGUVFTCZyewhxxxxxx', // Application ID, which is the reporting IDuin: 'xxx', // Unique user ID (optional)reportApiSpeed: true, // API speed testhostUrl: 'https://rumt-zh.com', // Reporting domain, rumt-zh.com for the Chinese mainland})
index.js / App.tsx) and completing it before the route container and first-screen UI are rendered. Cold start monitoring relies on the processStartTime recorded by the native side, so the earlier the initialization, the more complete the startup time data.spa is enabled and routes are connected.https://rumt-zh.com as the reporting domain. You can control the reporting domain through the hostUrl parameter.https://rumt-zh.com as the reporting domain.https://rumt-sg.com as the reporting domain.https://rumt-us.com as the reporting domain.피드백