Skip to content

Push Notifications not working #1

Open
@tajinder95

Description

@tajinder95

I am using sinch binding provided by you for calling .Every thing is working good like making call, Receiving call . But I want to implement PUSH notification features given by sinch for accepting call even if app is not running .
As per sinch documnetation when i add mSinchClient.SetSupportManagedPush(true); then i receive follwing error :
Java.Lang.NoClassDefFoundError: Failed resolution of: Lcom/sinch/android/rtc/internal/client/gcm/InstanceIDTokenService;

Please help to to solve it.

my sinch start configuration are as following :
mSinchClient.SetSupportCalling(true);
// mSinchClient.StartListeningOnActiveConnection();
mSinchClient.SetSupportManagedPush(true);
mSinchClient.CheckManifest();
mSinchClient.AddSinchClientListener(new MySinchClientListener(this));
// Permission READ_PHONE_STATE is needed to respect native calls.
mSinchClient.CallClient.SetRespectNativeCalls(false);
mSinchClient.CallClient.AddCallClientListener(new SinchCallClientListener(this));
mSinchClient.Start();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions