Is it feasible to play the same account with 2 different devices of the same platform. In other words...can a player play my game on an iPhone as well as his/her iPad?
- Player1 calls LoginWithiOSDeviceID using the device ID from iPhone (creates new account)
- Player1 calls LinkFacebookAccount
- Player2 calls LoginWithiOSDeviceID using the device ID from iPad (creates new account)
- Player2 link fails with LinkedAccountAlreadyClaimed error
- Player2 calls LoginWithFacebook and is now using the first account created (as desired)
- Player2 wants to link this UDID with LinkiOSDeviceID
I know I can avoid the issue by just using LoginWithFacebook in the first place. I would really prefer not to, and instead rely on the deviceIDs as a known constant. I plan to save to a local file the player's preferred way of logging in, but I don't want to have to rely on that. Since I only use Facebook for the Friends Leaderboards, I only need to bother logging in when the token expires (on mobile they last forever). Honestly, I just don't want to jam a 'Sign into Facebook' button as the first screen. The login return tells me if Facebook is linked, so I never need to bother the player if I can get away with always logging in with device ID.
So really I have 2 questions...
1) Is that LinkIOSDeviceID call feasible? Isn't the iOS Device ID of that account the one from the phone?
2) If I can the iPad with LinkIOSDeviceID...can I link any number of other iOS devices?
Thanks!
-Matt
This may not be the last question I have on this topic, I'm sorry...I know everyone must be sick of account linking questions!