Comments (5)
thank you all for reporting this issue. we'll get this fixed today. in the meanwhile, please use 4.11.1
instead
from analytics-android.
Same issue here!
from analytics-android.
hey all, this issue is fixed in 4.11.3
. please have a try. sorry for the inconvenience. we have an adnroid 10 device was labeled as android 11, which gives false positive test result on the previous release.
from analytics-android.
This is related to this fix: #832. Because the Segment SDK wants to use display metrics and using display metrics requires a Context that has a reference to the display ("visual Context"), you'll now need to initialize Segment with an Activity Context and not the Application Context.
The README should be updated and the changelog ought to note this breaking change
from analytics-android.
Actually, using the Activity Context won't work either because the Analytics class expects a context of type Application.
See here:
I don't understand how this fix worked.
@wenxi-zeng were you able to test this fix on Android 11+?
If so, what is the recommended solution to avoid the exception being thrown that @Joemiao120 mentioned?
from analytics-android.
Related Issues (20)
- Do we need to upgrade integration SDKs? (ref: Device ID Collection Circumvents Google Play User Data Policy) HOT 7
- Could use integrations: {"mixpanel": false} to avoid event get into Mixpanel? HOT 2
- Crash: Unable to collect advertising ID from Google Play Services.
- Analytics is crashing in the background after updating from 4.3.0 to 4.10.1 HOT 2
- kotlinx.serialization.SerializationException: Serializer for class 'Traits' is not found. HOT 1
- Document around `Analytics.Builder.collectDeviceId()` is outdated? HOT 1
- When we are making normal apk its working fine, but if create build from github this error is coming.
- Documentation for device.token is outdated HOT 2
- Creating empty payload with comma's while uploading HOT 1
- PlayStore rejecting app due to non-compliant with Google Play Policies HOT 20
- Setting a custom api host defaults in api.segment.io/v1 url
- Segment with Intercom HOT 6
- ANR triggered by thread waiting for a binder transaction HOT 1
- User identify tracking HOT 3
- StrictMode violations on Segment initialization HOT 2
- Unsafe.park , NullPointerException in Utils.java HOT 2
- App using 4.11.3 rejected by Google because of "Violation of User Data policy" HOT 2
- Jetpack compose integration
- NullPointerException: Attempt to invoke virtual method 'void android.media.MediaDrm.close()' on a null object reference
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from analytics-android.