Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push Notifications not working #1

Open
tajinder95 opened this issue May 11, 2018 · 2 comments
Open

Push Notifications not working #1

tajinder95 opened this issue May 11, 2018 · 2 comments

Comments

@tajinder95
Copy link

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();

@varo610
Copy link

varo610 commented Feb 21, 2019

Hi @tajinder95 did you manage to fix this?

Thank you

@tajinder95
Copy link
Author

@varo610 There are some components missing in NAXAM binding project.

So I took native sinch aar file and create own binding .

You can download sinch dll from google drive link https://drive.google.com/open?id=1JqglF4egE_3mOYVyRGHnfytrnVsiQLBe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants