setupSdkForBackgroundMode
Setup the MoEngage Sdk to work in Background even if user has not opened the application.
Note: Generally this method is not required. Only use this method from the application onCreate() after SDK is initialized if the application has a use case where the user can interact without the app opening.
Parameters
context
instance of Context.
appId
Account identifier, APP ID on the MoEngage Dashboard.
Throws
if the SDK is not initialized.