-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update guide from v1.0.2 to v2.0 of the SDK #161
Comments
Unfortunately not. Could write one and we'll add it to the wiki? |
At the moment, I don’t have the time to write an article on that matter. But I could write down a few lines underneath this ticket with findings I obtained along the way while updating from 1.0.2 to 2.0. |
Update guide 1.0 --> 2.0GradleUpdate from
to
Classes that movedTrackHelperTrackHelper moved from Methods that changedCreation of a new trackerPreviously, you could add a new tracker by calling Now, you need to create a new TrackerConfig which you then supply to the method, like so:
A
See: #157 CustomVariables
Dry run (e.g. sandbox builds, debug mode)Instead of setting a flag on the Piwik instance by calling For example, use: Opt-outThe method for opting out moved from the Therefore, e.g. |
What happened to |
The dev now sets their list datastructure that the packets during dryrun will be placed into. |
I updated my “wiki” comment with all changes I found when updating my codebase. Feel free to add additional pieces of information and also to add my findings to the wiki. |
Is there any resource that guides through the changes that occurred during the version upgrade from v1 to v2 of the SDK?
Changes like “TrackHelper can now be found under sdk.extra instead of sdk”, “Instead of ‘setOptOut’, please use XY now”, and so on?
The text was updated successfully, but these errors were encountered: