Is your feature request related to a problem? Please describe.
Attributes values can be added for String Long, Int,... types & also with a JsonObject from Gson library.
Describe the solution you'd like
Instead of only allowing JsonObject from Gson, allow passing JSONObject from org.json package.
This will allow SDK users to add a dependency over Gson to send Json attribute types.
fun addAttribute(key: String, value: JSONObject)
Is your feature request related to a problem? Please describe.
Attributes values can be added for String Long, Int,... types & also with a JsonObject from Gson library.
Describe the solution you'd like
Instead of only allowing
JsonObjectfrom Gson, allow passingJSONObjectfromorg.jsonpackage.This will allow SDK users to add a dependency over Gson to send Json attribute types.