Comments (1)
I got support from Joey as below:
Joey here from Mixpanel Support - thanks for reaching out to us regarding this matter.
It should be safe to initialize Mixpanel from a worker thread. Please ensure that you're synchronizing calls on the instances across threads though.
2s is quite extreme for our SDK to initialize on the main thread, and should occur in ~200ms on production devices with minimal UI interference. Please let me know if load or initialization problems persist with our Android SDK and I'll gladly help!
The reason it is slow on my sample code is enable method tracer: Debug.startMethodTracing("MethodTracer");
Issue closed. Thanks
from sample-android-mixpanel-integration.
Related Issues (12)
- Disabling push notifications by an user HOT 1
- [Feature request] Add alias/identify example
- FCM Integration HOT 11
- Does it support Kotlin? HOT 1
- Mixpanel not able to identify array
- Quickblox chat push notifications are not working after migrating from GCM to FCM (v20.1.0)
- the best practice if I have multiple activities and fragments HOT 1
- session manager? HOT 1
- Cannot build an app with latest Android Studio 1.2.x HOT 2
- Session Manager usage with multiple activities
- How do you use MixPanel with different flavors and build types? HOT 5
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 sample-android-mixpanel-integration.