Question:
If I don't want to upgrade to the newest version of Retrofit, how do I get started with Taplytics?
Answer:
Taplytics requires the most recent version of Retrofit to work appropriately. If your app is unable to leverage the most recent version of Retrofit for any reason, we would suggest using Volley instead and forcing that as your networking dependency for Taplytics.
To set this up, ensure that you are pulling in the most recent version of Volley, by adding this line to your dependencies in your build.gradle:
//Volley
compile 'com.android.volley:volley:+'
And to force Taplytics to leverage Volley instead of Retrofit, add this option flag to your Taplytics initialization call.
HashMap<String, Object> options = new HashMap<>();
options.put("retrofit", false);
Taplytics.startTaplytics(this, "Your Api Key", options);
All of this can be found in our documentation here!
Comments
0 comments
Please sign in to leave a comment.