Posts

Post not yet marked as solved
1 Replies
755 Views
I want to know one concept in iOS application development. How we need to mute particular remote notifications from our application end like whatsApp application did. (If we set some conversation as in mute, if we got any messages in that conversation we cannot get notifications at that time, set our phone network disconnected mode and check messages already stored in our application). From iOS 13 onwards VOIP notifications are restricted only for VOIP calls. If we go with data notification(silent notifications) using Firebase, firebase it self telling that no accuracy for data notifications. In this case how whatsApp is designed for mute conversations. I tried normal notifications with notification extension and i modified my notification title, text every thing but if i don't want to represent that notification to end user i didn't get any idea. Can any one suggest me how to achieve this? Thank you
Posted
by Krishna_S.
Last updated
.
Post not yet marked as solved
2 Replies
2.9k Views
Hello Team,We are facing issue with APNS notification is successfully received or not. When ever we see the console of particular device we are getting logs as belowdefault12:59:36.024667+0530apsd<private>: Outstanding data received: <private> (length 255) onInterface: NonCellular. Connected on 2 interfaces.default12:59:36.025124+0530apsd<private>: Stream processing: complete yes, invalid no, length parsed 251, parameters <private>default12:59:36.030354+0530apsdcopyTokenForDomain sandbox.push.apple.com (null)default12:59:36.086488+0530apsd<private> incoming message is for proxy ***** that is *not* connected. baseToken <private> destToken <private> publicTokens <private>default12:59:36.086677+0530apsd<private> timestampForTopic? <private> token <private>default12:59:36.086906+0530apsdisAppSpecificTokenValid sandbox.push.apple.com <private>default12:59:36.175254+0530apsdisAppSpecificTokenValid? <private> found cached token YESdefault12:59:36.175328+0530apsd<private> hasPayload? <private> forTopic <private> tokens <private>default12:59:36.264436+0530apsdcopyAppSpecificTokensWithDomain - sandbox.push.apple.com for topic <private> account <private>default12:59:36.264631+0530apsd<private> receivedPushWithTopic <private> token <private> payload <private> timestamp Tue Dec 31 12:59:35 2019default12:59:36.264899+0530apsd<private>: Received message for enabled topic '<private>' onInterface: NonCellular with payload '<private>' with priority 10 for device token: NOdefault12:59:36.269627+0530apsd<private>: Sending acknowledgement message with response 0 and messageId <private> (4048317628)default12:59:36.270468+0530apsd<private> _notifyForIncomingMessage <private> with guid <private>default12:59:36.270761+0530apsd<private>: Calling into AWD for PushReceiveddefault12:59:36.272017+0530apsdsubmitted metric <private>default12:59:36.272105+0530apsd<private>: AWD for PushReceived finisheddefault12:59:36.272154+0530apsd<private>: Stream processing: complete yes, invalid no, length parsed 4, parameters <private>default12:59:36.272283+0530apsd<private>: Received keep-alive response 1 on interface NonCellular: <private>default12:59:36.273421+0530apsdCreated metric container: 0x130004 succeeded? YESdefault12:59:36.273664+0530apsdSubmitted metric: 0x130004 succeeded? YESdefault12:59:36.274921+0530apsd<private>: Stream processing: complete no, invalid no, length parsed 0, parameters (null)default12:59:36.276175+0530apsdDispatching high priority message: <xpc object>default12:59:36.278023+0530SpringBoard<private> Delivering message from apsd: <private> 4048317628 <private>default12:59:36.278726+0530SpringBoard<private> responding with an ack for message with guid <private>default12:59:36.278795+0530SpringBoard<private> making delegate (<private>) calls to deliver message 4048317628 <private> for topic <private>default12:59:36.278853+0530SpringBoard<private> calling <private> connection:didReceiveIncomingMessage:default12:59:36.279143+0530SpringBoard<private> returned from <private> connection:didReceiveIncomingMessage:default12:59:36.281001+0530apsd<private> informed that <private> acknowledges incoming message with guid <private>default12:59:36.281107+0530apsd<private> _schedulePendingWorkUpdatedefault12:59:38.285393+0530apsdcopyTokenForDomain sandbox.push.apple.com (null)default12:59:38.335804+0530apsd<private> updating AppLaunchStats with pending work <private>default12:59:41.277704+0530apsd<private>: Received delegate call: shouldUseDualMode is set to YESdefault12:59:41.277854+0530apsd<private> resetting consecutive failures because we have at least one connectiondefault12:59:41.279700+0530apsdAPSCourier <private> adjusting connection. Connected on 2 interfaces. Current link quality: <private>default12:59:41.280468+0530apsd<private> calling _connectStream with interface preference Nonedefault12:59:41.280698+0530apsd<private> _connectStream has None preference and dual channel is enabled.default12:59:41.303091+0530apsd<private>: Sending keep alive message via conn: <private> onInterface: NonCellular. Connected on 2 interfaces. Current link quality: <private>default12:59:41.565911+0530apsd<private>: Outstanding data received: <private> (length 2) onInterface: NonCellular. Connected on 2 interfaces.default12:59:41.566111+0530apsd<private>: Stream processing: complete yes, invalid no, length parsed 2, parameters <private>default12:59:41.566267+0530apsd<private>: Received successful keep-alive ack on interface NonCellular: <private>default12:59:41.567236+0530apsd<private>: Stream processing: complete no, invalid no, length parsed 0, parameters (null)default12:59:46.574704+0530apsd<private>: Received delegate call: shouldUseDualMode is set to YESdefault12:59:46.575004+0530apsd<private> resetting consecutive failures because we have at least one connectiondefault12:59:46.580401+0530apsdAPSCourier <private> adjusting connection. Connected on 2 interfaces. Current link quality: <private>default12:59:46.581777+0530apsd<private> calling _connectStream with interface preference Nonedefault12:59:46.581993+0530apsd<private> _connectStream has None preference and dual channel is enabled.We need to confirm that, this notifcation belongs to particualr application. Why we are getting <private> for every log. Can we need to set any flag at our device while developing mode to get the app details at console log?Please help us to resolve the issue.Thank you.
Posted
by Krishna_S.
Last updated
.