Hi,
I am trying to add the DLT ID and upgraded the SDK to 1.7. In my application class, I added the DLT ID.
The code is like below:
SendOTP.initializeApp(this,mAuthKey,"1207161xxxxxxx");
But when I am trying to run the app, I am getting the below exception:
Exception:: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
The exception is coming due to the below line:
SendOTP.getInstance().getTrigger().initiate();
Can you please help me where I am doing wrong. These all were working fine with 1.3 SDK release.
Thanks,
Arindam.
Hi,
I am trying to add the DLT ID and upgraded the SDK to 1.7. In my application class, I added the DLT ID.
The code is like below:
SendOTP.initializeApp(this,mAuthKey,"1207161xxxxxxx");But when I am trying to run the app, I am getting the below exception:
Exception:: Attempt to invoke virtual method 'java.lang.Object android.content.Context.getSystemService(java.lang.String)' on a null object reference
The exception is coming due to the below line:
SendOTP.getInstance().getTrigger().initiate();Can you please help me where I am doing wrong. These all were working fine with 1.3 SDK release.
Thanks,
Arindam.