Hello all,
Is there a way to uniquely identify application user or mobile phone using Gideros?
Restrictions:
It should be crossplatform (Android and IOS)
It should identify same phone/user from different applications on same device
Here are couple possible solutions:
Getting mobile IMEI or SIM card number
Getting some unique app ID (which is unique for every installation)
Allowing user to provide username
Authenticating user through third parity service (facebook, etc)
The one I have an idea how to implement, would be a facebook auth, but want to hear your thoughts? Any other ideas, suggestions?
My goal is to link user's application data (scores, progress, etc) with website's account.
Comments
For IOS: http://stackoverflow.com/questions/7363840/using-a-unique-identifier-of-iphone-or-ios-device
For Android: http://stackoverflow.com/questions/2785485/is-there-a-unique-android-device-id
It would also be great, if there would be one file that could be accessed from different apps, so you could generate and store identification for all application uses.
Or there could be a unique identification for each app install (meaning, that same app installed on different devices, would have different unique ID's), so player could enter those ID's on website and thus link his account with apps.
I'm just looking for best solution, cause something like this would be great for saving highscores, etc. globally on central server.
@ar2rsawseen Let me add this feature.
P.S supporting suggestion to add an option to delete your comment
Dislikes: JuanZambrano
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
There is another way, but you won't like it.
Create a centralized system, where each app insallation contacts Gideros server to generate each own Gideros Unique Identification (Guid) .
But seriously, I don't know, is Mac address usefull? Is there any other way or crossplatform third parity service? That Opeinfeit or something seemed to be ok.
http://stackoverflow.com/questions/9457731/how-can-we-future-proof-against-ios-6s-upcoming-udid-uuid-removal-if-were-usin
I think both are easy and acceptable.
- For windows you can get the GUID from the registry (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid)
- For Mac there is IOPlatformUUID.
Afaik, both values changes when you install a new OS but this isn't a big problem I think.
I am just thinking about In-App-Purchase. What if a user buys items (lets say a pack of 10) and used 9. He reinstalls system/App and request "restore purchases". He again has 10 items. To avoid that, I would use a 3rd-oarty service like parse.com and automatically create a user based on that Crossplatfporm-Unique-ID ( ). If he reinstalls game, a request using the same ID would be made, so after restoring purchases, I would check how many items have been used, by getting the information from parse.com.
So do we have something like UUID for iOS and Android or is there a better way to handle this?
thanks and best regards
Michael
I think you don't have to stick with it. Generating a lengthy hash would do the trick I believe.
@gorkem, thanks for your answer, clarifies a lot. Will think about it.
Thank you!
Michael
thanks for your sample. But that's probably not working for me. What I want to get is something unique which is bind to a user not to a device. And the most important thing - remains the same after reinstalling system Updates for instance. I want to automatically login a users to a cloud service who made some in-app purchases. The cloud service keeps track of the number of items already used. So lets say the user updates his device, reinstalls game and restores purchases, then I would like to know how many items he already has used. That information is lost as long as I don't use my cloud service.
Probably too much work and not worth the effort. Thanks anyway!!!
Michael
As a developer you can only do so much, let the user work a bit to ensure their identity and save their score/achievements, etc.
Likes: Radiesel
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Michael