Closed mauro-poq closed 2 years ago
Hi @mauro-poq ,
We are looking into this internally and will get back to you shortly.
Hi @mauro-poq ,
Apologies for the miscommunication here, we're updating our documentation and fixing the BrazeProperties.addProperties
method.
In the meantime, you can directly pass a constructed JSONObject
to BrazeProperties
to achieve the same use case.
val properties = BrazeProperties(JSONObject().put("testArray", JSONArray(listOf("item1", "item2", "item3"))))
Braze.getInstance(context).logCustomEvent("test_event", properties = properties)
Hey @radixdev ,
Thanks, this way attend my requirements, thanks.
Shall we close this Bug?
Braze Android SDK Version
23.3.0
Steps To Reproduce
1 - Try to log a custom event including BrazeProperties including an Array as describe here; Example:
Expected Behavior
The event is sent with an array of strings
Actual Incorrect Behavior
The error below is sent to Logcat and the event is tracked without the array.
Verbose Logs
Additional Information
No response