I have the same problem. I need to know the error code when the user explicitly cancels the pairing, but in many abnormal cases, this error returns code=1.
maybe you should paired by MatterSupport.framework first. Then use Matter.framework to pair. MatterSupport.framework will Share setup information to you.
I have the same problem. I need to know the error code when the user explicitly cancels the pairing, but in many abnormal cases, this error returns code=1.
maybe you should paired by MatterSupport.framework first. Then use Matter.framework to pair. MatterSupport.framework will Share setup information to you.