Mixpanel v6.5.1 Release Notes

Release Date: 2022-07-26 // over 1 year ago
  • ✨ Enhancements

    • ➕ Add the following new configs for you to optimize the Mixpanel tracking ( #795):
         * Set maximum number of events/updates to send in a single network request
         *
         * @param flushBatchSize  int, the number of events to be flushed at a time, defaults to 50
         */
        public void setFlushBatchSize(int flushBatchSize);
    
        /**
         * Set an integer number of bytes, the maximum size limit to the Mixpanel database.
         *
         * @param maximumDatabaseLimit an integer number of bytes, the maximum size limit to the Mixpanel database.
         */
        public void setMaximumDatabaseLimit(int maximumDatabaseLimit);
    

    You can also set them in AndroidManifest.xml, i.e.

            <meta-data android:name="com.mixpanel.android.MPConfig.FlushBatchSize"
                android:value="5" />
    
            <meta-data android:name="com.mixpanel.android.MPConfig.MaximumDatabaseLimit"
                android:value="100000000" />