Improvements and enhancements
- The agent now starts only in your app's default process, so apps that declare extra processes with
android:processno longer report empty sessions from them. (#648)
Bug fixes
- Fixed ANRs and other app exits reported on the next launch missing the
backgroundattribute when they happened while the app was in the background; the attribute is nowtrueorfalsebased on the app's state when the process exited. (#653) - Fixed events recorded while the app was in the foreground being reported with
background = truewhen they were sent in a batch harvested after the app moved to the background. With Background Reporting enabled, every event now carriesbackground = trueorbackground = falsefor the app's state at the moment it was recorded. Foreground events previously had nobackgroundattribute. (#655) - Fixed a
StackOverflowErrorcrash on page load in apps whoseWebViewsubclass overridessetWebViewClientto store the client and forward to it from its own internal client; the agent no longer installs its WebView client wrapper on such WebViews. (#660) - Fixed an ANR at app startup where the agent read its saved events from disk on the main thread; they are now loaded in the background. (#661)
Support statement
We recommend updating the agent at least every three months. Find specific policies and dates for Android agent support in the Mobile Monitoring Agents EOL Policy.
バグ修正
EventPersistenceが無効になっている場合に、永続化されたイベントが毎回のリリース時に再ロードされ、再送信される問題を解決しました。エージェントがイベント・バッファ時間の最小/最大範囲に従うように、イベント・バッファの動作を修正しました。
セルラー・サブタイプを解決できなかった場合に、
connectionTypeが"unknown"として報告される問題を修正しました。
サポートステートメント
少なくとも 3 か月ごとにエージェントを更新することをお勧めします。Androidエージェントのサポートに関する具体的なポリシーと日付については、「 モバイル監視エージェント EOL ポリシー」を参照してください。
改善と強化
AGP 9.4サポート:New Relic GradleプラグインにAndroid Gradleプラグイン(AGP)9.4.xのサポートを追加しました。
ディストリビューティッド(分散)トレーシングヘッダーの最適化:独自のnewrelicリクエストヘッダーを削除し、W3C標準のtraceparentヘッダーとtracestateヘッダーのみに依存することで、ディストリビューティッド(分散)トレーシングを合理化しました。
WebView Browserエージェントの検出:アクティブなWebViewがNew Relic Browserエージェントを利用しているかどうかを検出および追跡するためのサポートアビリティメトリクスを追加しました。
SDKサイズ最適化のガイダンス:開発者が無効化された機能の未使用のエージェントコードを削除するのに役立つ、ProGuard/R8のツリーシェイキングルールに関するドキュメントを追加しました。
バグ修正
セッションリプレイのクラッシュ修正:セッションリプレイでCurtainsを初期化する際に、メインスレッドでNullPointerExceptionを引き起こしていたマルチスレッドの競合状態を修正しました。
HTTP2ペイロードサイズの追跡:ヘッダーのないHTTP/2およびKtorストリームにおいて、ネットワークリクエストのペイロードサイズ(bytesReceived)が誤って0バイトと報告される問題を解決しました。
リソースリークの解決:SessionReplayFileManager内のBufferedWriterインスタンスを適切に閉じることで、静的解析の指摘(CWE-404)を解決しました。
サポートステートメント
少なくとも 3 か月ごとにエージェントを更新することをお勧めします。Androidエージェントのサポートに関する具体的なポリシーと日付については、「 モバイル監視エージェント EOL ポリシー」を参照してください。
バグ修正
- React Nativeソースマップアップロードの正しいリージョン/デフォルトのソースマップAPIホストを修正しました。
サポートステートメント
少なくとも 3 か月ごとにエージェントを更新することをお勧めします。Androidエージェントのサポートに関する具体的なポリシーと日付については、「 モバイル監視エージェント EOL ポリシー」を参照してください。
バグ修正
- React NativeのソースマップをアップロードするためのエンドポイントURLを修正しました。
サポートステートメント
少なくとも 3 か月ごとにエージェントを更新することをお勧めします。Androidエージェントのサポートに関する具体的なポリシーと日付については、「 モバイル監視エージェント EOL ポリシー」を参照してください。
New features and improvements
- Added offline storage for Session Replay: replay payloads that can't be sent immediately — due to no network connection, app force-close, process exit, or a low-memory kill — are now persisted to disk and delivered on the next successful harvest, instead of being lost.
- Added underlying support for hybrid error reporting from React Native apps, to be enabled alongside an upcoming React Native agent release. Unhandled JavaScript errors will be captured as agent events, correlated with Session Replay and tagged with the app version for accurate symbolication.
- Added underlying support for automatic upload of React Native JavaScript source maps during the Gradle build, to be enabled alongside an upcoming React Native agent release.
- Added per-build-target ProGuard/DexGuard mapping file upload, so apps with multiple DexGuard packaging targets get correctly matched crash deobfuscation for each target.
- Added a session-scoped attribute store so Application Exit Info (AEI) events carry the session attributes of the session that actually crashed, rather than the session created after relaunch.
- Event persistence is now enabled by default, so buffered events and analytics data survive app termination and are recovered on the next launch.
- Added support for Android Gradle Plugin (AGP) 9.x, raising the supported ceiling to 9.3.0.
Bug fixes
- Fixed cold start timing to measure time to initial display (TTID) from launch to the first rendered frame, instead of from Activity resume.
- Fixed a crash-recovery issue where a stale backup file could prevent the crash store from recovering after a previous crash.
- Fixed handled exceptions to be persisted off the calling thread, preventing potential slowdowns when the exception store is written to.
- Fixed Gradle build-cache invalidation caused by embedding per-build build ID and metrics values directly in compiled source — these are now generated as Android resources instead, reducing unnecessary recompiles and rebuild time, with the resources protected from being stripped when shrinkResources is enabled.
Support statement
We recommend updating the agent at least every three months. Find specific policies and dates for Android agent support in the Mobile Monitoring Agents EOL Policy.