Questions tagged «pushkit»

1
WhatsApp Web客户端如何与最新的iOS更新(SDK版本13.0+)一起使用?
因此,暗模式支持已添加到WhatsApp客户端的2.20.31版本(于2020年3月发布)中。这是仅限iOS 13的功能,从外观上看,它似乎是完全本机的实现。我认为可以安全地假定该应用程序现在已使用iOS SDK 13.0或更高版本进行编译。 事实是,从iOS 13开始,Apple现在要求每当收到VoIP通知时都显示本机呼叫屏幕 -否则,该应用程序将不再接收任何其他VoIP通知。在iOS的早期版本中,某些应用程序(包括WhatsApp)似乎在用户尝试使用Web客户端时使用“虚假”传入的VoIP呼叫在后台静默唤醒该应用程序,以便后者可以直接连接并交换数据用电话。 但是,从最新版本开始,尽管Apple引入了限制,但Web客户端仍然可以像以前一样工作。使用调试器,每当用户在PC上打开Web客户端时,都可以观察到iOS应用程序正在唤醒,但从未显示任何呼叫屏幕。可以重复进行此操作,并可以根据需要多次进行。 来自WhatsApp的日志似乎可以确认上面的内容: default 17:09:44.515731+0000 callservicesd Call source <CXXPCCallSource 0x111ecb0a0 identifier=UKFA9XBX6K.net.whatsapp.WhatsApp isConnected=1 processIdentifier=417 isPermittedToUsePublicAPI=1 isPermittedToUsePrivateAPI=0> registered with configuration <CXProviderConfiguration 0x111e9bb40 localizedName=‎WhatsApp ringtoneSoundURL=(null) iconTemplateImageData=0x0 maximumCallGroups=1 maximumCallsPerCallGroup=1 supportsAudioOnly=1 supportsVideo=1 supportsEmergency=0 supportsVoicemail=0 supportsCurrentPlatform=1 includesCallsInRecents=1 audioSessionID=1151157 supportedHandleTypes=2> 如果我们尝试使用我们的应用程序执行此操作,则结果会大不相同: error 18:56:19.949023+0000 callservicesd Killing VoIP app com.xxxxx.xxxxx.xxxxx because it failed …
9 ios  whatsapp  pushkit 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.