Post

Replies

Boosts

Views

Activity

Is xamarin.iOS supports communication notification?
We are using communication notification to update notification icon, but for us it's not working for xamarin project. var handle = new INPersonHandle("unique-user-id-1", INPersonHandleType.Unknown); var avatar = INImage.FromName("abc.png"); var sender = new INPerson(handle, null, "Example", avatar, null, null); var intent = new INSendMessageIntent(null,INOutgoingMessageType.Text, "Message content", null, "unique-conversation-id-1", null, sender,null); // Use the intent to initialize the interaction. var interaction = new INInteraction(intent: intent, response: null); interaction.Direction = INInteractionDirection.Incoming; interaction.DonateInteraction((error) => { // ... }); NSError error1 = null; var content = request.Content; var updatedContent = content.Update(intent, out error1); contentHandler(updatedContent);
0
0
842
Jul ’22
Can we use Pushkit VoIP notification for normal notification (not for incoming calls)
Currently we are using UserNotification framework for remote notification. We are planning to use Pushkit framework and now when will receive notification from pushkit (DidReceiveIncomingPush),we will generate local notification for user with banner, alert & sound in the call back method. This is due to the fact that the notifications have to be delivered as quickly as possible, wake up the app if it is backgrounded or the phone is locked. we have following queries: 1) Will apple accept this implementation (without implementing callkit) ? 2) Blank callkit method i.e only method without logic is accepted or not?
1
0
1.1k
Feb ’21