callkit video and app button does not work if incoming call interrupts phone unlock

Originator:chrispan.fb
Number:rdar://32637979 Date Originated:6/7/2017
Status:open Resolved:
Product:iOS sdk Product Version:10.3
Classification:bug Reproducible:
 
Area:
CallKit

Summary:
when using an app integrated with callkit, an incoming call to a locked phone presents the callkit ui which has "video" and "app" buttons which should trigger a phone unlock and then open the app. But if the device was already in the middle of unlocking (i.e., entering passcode) then those buttons do not work.

Steps to Reproduce:
1. Use the call kit sample app, Speakerbox https://developer.apple.com/library/content/samplecode/Speakerbox/Introduction/Intro.html

2. Run the app and tap the "simulate incoming" call, enable "video call", set a delay of 6 seconds. tap done.

3. quickly lock the phone, and then tap the home button and enter the first digit of a passcode. then wait for the speakerbox simulated incoming call.

4. answer the call and verify the callkit ui looks normal. then try to tap either the video or the speakerbox button.

Expected Results:
I expected tapping either of those buttons to trigger a phone unlock and then be taken to the app.

Observed Results:
I observed that tapping either of those buttons does nothing.

Version:
iOS 10.3.1

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!