Skip to content

Application is crashing due to latest SDK 1.7 #47

Description

@arindamhit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions