Skip to main content

The documentation on https://www.docs.developers.amplitude.com/data/sdks/java/ says:

dependencies {
implementation 'org.json:json:20201115'
implementation 'com.amplitude:java-sdk:1.10.0'
}

It seems that the json library version is a little bit old:

https://mvnrepository.com/artifact/org.json/json 

Do you recommend us use the latest version of json lib? 

// https://mvnrepository.com/artifact/org.json/json
implementation 'org.json:json:20220924'

 

Hello @kenny hope you are well!

 

Thank you for reaching out! I checked internally and it’s okay to use a more updated version of the JSON library. The reason version 20201115 is explicitly pointed out in the documentation is because the SDK was built around that time. The engineering team will work to update the documentation.

 

Hope this helps!


Reply