Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "Synciant"

Thank you so much Alper. Now we're able to send and listen to push notifications in Mobile app. I hope, this solution will help all those who want to implement push notifications in xamarin mobile application.

Last question, We having Abp version 4.1.0 and many of the functionalities you've used are not there e.g. in App.xaml.cs we don't have OnSessionTimeout() and OnAccessTokenRefresh() functions. To counter that, I've placed DependencyResolver.Resolve<IChatService>().ConnectAsync(); in Account service in SetCurrentUserInfoAsync(). And disconnected it in Logout functionality of MySettingsViewModel. Is there a better place for me to connect and disconnect SignalR?

Kindly guide.

Sure, also help me out in implementing entity notifications. After connecting to AbpCommonHub using url /signalr, how can we listen to entity notifications as we only have notification names with us (eg. App.WelcomeToTheApplication) and for sending and receiving notifications using SignalR.Client, we need the method names.

eg. ChatConnection.On<string>("MethodName", (message) => { AppendMessage(message); });

Kindly guide us in achieving the same.

Thanks for reply Alper. We've tried implementing it, but when it hits out our backend API i.e. ChatHub >> SendMessage, we are receiving sender information i.e. AbpSession.ToUserIdentifier()as null.

Do we need to pass authentication token with new HubConnectionBuilder().WithUrl(chatHost)?

If not, is there anything else we're missing with?

Kindly guide.

We've tried implementing the same but without a success. For the Hub Backend, we're using 'Abp.AspNetCore.SignalR' and for Xamarin, we've used 'Microsoft.AspNetCore.SignalR.Client'. Is this the point of concern?

Also, how can we receive already implemented push notifications by ABP. Eg. new user created?

Kindly guide us through.

Thanks

Showing 1 to 4 of 4 entries