analytics-android
analytics-android copied to clipboard
The hassle-free way to add analytics to your Android app.
Strict mode UntaggedSocketViolation issue is faced while making connection to segment. Is it possible to tag this socket so that the policy violation isn't raised? Stack trace: ``` D/StrictMode(17074): StrictMode...
Hi, I'm using segment version 4.8.2 and got a crash on Android 11 (the issue does not appear on Android 10). ``` E/ContextImpl: Tried to access visual service WindowManager from...
Is there a way to Fake the Analytics object for tests? We prefer Faking to Mocking, but the Analytics object uses a builder and it's constructor takes a thousand parameters....
This feature request is to allow passing a custom logger implementation to the Segment SDK. This will allow users to log errors somewhere different from the Logcat. The motivation behind...
What do people do for this? Use a wrapper class and have a fake implementation of that? Mockito? It would be great if there were some easy way to build...
Some of our users experience following crash: ``` java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.get(ArrayList.java:437) at androidx.lifecycle.LifecycleRegistry.calculateTargetState(LifecycleRegistry.java:162) at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:183) at com.segment.analytics.Analytics.(Analytics.java:323) at com.segment.analytics.Analytics$Builder.build(Analytics.java:1395) at com.atlassian.mobilekit.module.analytics.atlassian.segment.SegmentHub.(SegmentHub.kt:21) at .... ``` This crash...
Hi, I'm using segment version 4.8.2 and got a crash on Android 11 (no issues on previous OS versions). `java.lang.IllegalStateException: SharedPreferences in credential encrypted storage are not available until after...
Observations [This is PURE Segment only SDKs]:Platform: Web 1.Call Identify with value - I1 2.The anon id generated lets say is - A1 3.Call Identify with value - I2 4....
Segment version: 4.3.1 Using profiler, I found that segment keeps open new connection on requests `POST https://api.segment.io/v1/import`, however the header file contains `Connection: keep-alive` that indicates the connection can be...
Fire devices do not contain the google mobiles services libraries https://github.com/segmentio/analytics-android/blob/master/analytics/src/main/java/com/segment/analytics/AnalyticsContext.java#L155 This line requires the google mobile services library in order to try and determine the analytics id this check...