- Consolidate
Sessionfunctionality intoUserPropertyto prevent race condition crash where session logic crashed before initializingUserProperty - Get rid of
latevariables throughout implementation class,AnalyticsImpl - Any error events (
Event.analyticsException) encountered within package will be sent when invokingAnalytics.close; replacingErrorHandlerfunctionality - Exposing new method for
FakeAnalytics.sendPendingErrorEventsto send error events on command - Added
Event.fromJsonstatic method to generate instance ofEventfrom JSON - Remove unused parameters
measurementIdandapiSecretfrom theAnalytics.testconstructor - Remove
Analytics.testfactory constructor in favor ofAnalytics.fakestatic method to return aFakeAnalyticsinstance - Remove
FakeAnalyticsdefault constructor in favor ofAnalytics.fake