How can we help you?

Migrating an Existing Implementation-Android

These steps apply to implementations which are migrating from comScore library version 2.x or 3.x.
1. Remove the existing comScore.jar library file from the application project.
2. Add the comScore.aar library file to the application project as per the instructions in Include the Library in Your Application Project.
4. Remove existing import statements which import classes from the com.comscore.analytics package.

5. Locate existing library configuration code statements.
Typically the following configuration code statements would appear in an existing comScore library implementation:

6. Replace existing library configuration statements, migrating the settings to be provided to the new API. Migrating the configuration code statements shown above would result in the following:

7. Replace occurrences of into and modify method calls to account for changes in naming.

8. Ensure your IDE has included the relevant imports for the classes which are used in the migrated code statements and that the imports for classes which no longer exist
have been removed from your code.

 

Next: Collecting User Consent-Android

 

 

 

Was this article helpful?
0 out of 0 found this helpful

 

0 Comments

Article is closed for comments.