Notify user to disable passcode before attempt to pair device with computer
Reported by Martin S. | December 22nd, 2009 @ 09:00 AM | in 1.2.0 Release
As described in ticket #100, the creation of a new pair fails if the device has a passcode set.
In such a case the device answers the following for the Pair request:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Error</key>
<string>PasswordProtected</string>
<key>Request</key>
<string>Pair</string>
<key>Result</key>
<string>Failure</string>
</dict>
</plist>
In order to avoid some bugreports, it would be the best if we also spit out something along this line to the user: "Please disable the password on your mobile before attempting to pair the device with your computer"
Comments and changes to this ticket
-
Martin S. December 25th, 2009 @ 03:03 PM
- State changed from new to open
After some checks I think one solution might be to request the "PasswordProtected" key using the GetValue request from lockdown before starting a session and refuse to create the client in lockdownd_client_new() with the mentioned error message in that case.
Thus the user would have to disable the passcode and done. I am wondering how iTunes does it. Perhaps it does a SetValue request and disables the password protection on first pairing?
-
Martin S. January 14th, 2010 @ 03:34 PM
- State changed from open to resolved
(from [cec7e6b7591d018dd700c6fa6b5c85b29ec43b34]) Detect pairing failure for device having a password set
[#101 state:resolved]
The first pairing fails if a user has a password set on the device.
http://github.com/MattColyer/libiphone/commit/cec7e6b7591d018dd700c...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org
People watching this ticket
Referenced by
- 100 libiphone pairing failure I am closing it now since there is a workaround. Preferab...
- 101 Notify user to disable passcode before attempt to pair device with computer [#101 state:resolved]