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.
setAppId initializes Heap tracking on iOS or React Native. It should be called only once per app open. If it is called multiple times, it will initiate a new session for the user.
// React Native function declaration export function setAppId(appId: string): void; // Usage Heap.setAppId('YOUR_APP_ID');
appId: the appId corresponding to one of your projects