Use the following method to initialise the RMC object in order to show in-app messages:
...
Add the required getActivity() parameter to all customEvent() calls:
Example:
Code Block | ||
---|---|---|
| ||
HashMap<String,String> map = new HashMap<String, String>(); map.put("CustomParamKey", "CustomParamValue"); Visilabs.CallAPI().customEvent("pageName", map, getActivity()); |
...