I have read through all the posts here and other and can not find out how to make this work.
I am following this from google: https://developers.google.com/tag-manager/android/v4/
In it is says to download a binary. However, I have no option at all on my container to download a binary file for the container. Only JSON.
I verified that the container is set to Android.
When I try to use the JSON file like the following:
TagManager tagManager = TagManager.getInstance(this);
PendingResult<ContainerHolder> pending =
tagManager.loadContainerPreferNonDefault(CONTAINER_ID,
R.raw.gtm_default_container_json);
It fails with:
java.lang.RuntimeException: JSONArrays are not supported
Any help with this would be appreciated!!
Thanks!