The below table lists the default settings that are configured in the Blue Triangle Mobile SDK.
These defaults are backwards compatible and will not change an existing setup.
One note regarding backwards compatibility is that if you have never had a particular feature included, you will start seeing it upon updating your SDK. For example, if Auto Screen Tracking has never been part of your SDK and you have only used manual tracking, when you update the Screen View Tracking will be added. If you do not want this feature added, you will need to set this setting to FALSE.
Android
https://github.com/blue-triangle-tech/btt-android-sdk#network-capture |
iOS
https://github.com/blue-triangle-tech/btt-swift-sdk?tab=readme-ov-file#network-capture
|
|||
Feature |
Configuration property name |
Default Value |
Notes |
|
Android | iOS | |||
Screen View Tracking | isScreenTrackingEnabled | enableScreenTracking | TRUE | This will enable automatic screen tracking. Screen Tracking captured only if this property is TRUE |
ANR Detection |
isTrackAnrEnabled | ANRMonitoring | TRUE | Use this configuration property to configure the interval duration that qualifies as an ANR state |
trackAnrIntervalSec | ANRWarningTimeInterval | This enables ANR tracking | ||
Track Crashes | isTrackCrashesEnabled | crashTracking |
TRUE *see note |
Set this property to TRUE to enable crash tracking; Leave FALSE on iOS if another crash tracking tool is in use |
Network Capture | networkSampleRate | networkSampleRate | 0.05 (5%) | This sample rate defines the percentage of user sessions for which network calls will be captured. A value of 0.05 means that 5% of user session's network requests will be tracked. A value of 0.0 means that no network requests will be captured. |
Offline Caching |
cacheMemoryLimit | cacheMemoryLimit | 30 Mb | Use this configuration property to configure the amount of memory the cache uses (in bytes) |
cacheExpiryDuration | cacheExpiryDuration | 48 Hours | The amount of time (in milliseconds) the data is kept in the cache before it expires | |
Launch Time | isLaunchTimeEnabled | TRUE | The Launch Time feature tracks the time it took from the start of your app launch (i.e. onCreate of your application class) to the time your app became fully interactive (i.e. The onResume of your launcher Activity). | |
Memory Warning | isMemoryWarningEnabled | enableMemoryWarning | TRUE | Use this configuration property to enable memory warnings |
Performance Monitoring CPU and Memory |
isPerformanceMonitorEnabled | isPerformanceMonitorEnabled | TRUE | Use this configuration property to enable/disable CPU and Memory performance metrics |
performanceMonitorIntervalMs | performanceMonitorSampleRate | 1000ms | Set the sampling interval for performance monitoring in milliseconds | |
Network State Capture | isTrackNetworkStateEnabled | enableTrackingNetworkState | TRUE | Network interfaces include wifi, ethernet, cellular, etc. When network state capturing is enabled, the network state is associated with all Timers, Errors and Network Requests captured by the SDK. |
For additional information, including code snippets, please visit:
iOS: https://github.com/blue-triangle-tech/btt-swift-sdk?tab=readme-ov-file#
Android: https://github.com/blue-triangle-tech/btt-android-sdk#
For additional information regarding recommended setup during a debugging/proof of concept (POC) phase, please visit: https://help.bluetriangle.com/hc/en-us/articles/29411284319379-Configurations-for-network-tracking-during-debugging-POC-stage
Comments
0 comments
Please sign in to leave a comment.