Use this API to set the app ID where you'll be sending data. It can be used to switch between projects or between your production and development environments.
init
initializes Heap tracking on Android. It should be called only once per app open.
Heap.init(getApplicationContext(), "YOUR_APP_ID");
Heap.init(applicationContext, "YOUR_APP_ID")
Arguments
context
: the application context for the Android appappId
: the appId corresponding to one of your projects