Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by siddharth3322 · Apr 16, 2016 at 07:41 AM · unity 5iosiphoneipadunique-identifiers

How to identify each iOS device?

As per my title suggest and my game requirement, I want to identify each ios device uniquely. Because I want to pass data over server for this and want to manage data related to that.

So I want to detect my iphone is different than my friends have. How to do this? Is there any way exist to access iphone UDID?

EDIT: If I uninstall and install same game again then it will generating different uniqueDeviceIdentified. I want per device some unique thing. So what I need to do?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image P3JX · Apr 16, 2016 at 12:00 PM 0
Share

I guess you have to add some kind of login system if you can't use SystemInfo as answered

avatar image siddharth3322 P3JX · Apr 16, 2016 at 01:10 PM 0
Share

@doopp, I have already set up login system. But I just want to confirm that can I use deviceUniqueIdentifier to identify each iPhone device?

avatar image P3JX siddharth3322 · Apr 16, 2016 at 03:09 PM 0
Share

If you already implemented. you can store there email or id inside your app and use that as your identifier. right?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Vagonn · Apr 16, 2016 at 08:09 AM

http://docs.unity3d.com/ScriptReference/SystemInfo.html

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image siddharth3322 · Apr 16, 2016 at 08:42 AM 1
Share

@Vagonn, If I use deviceUniqueIdentifier from SystemInfo class then it remain unique per iOS device. I read some where that if you uninstall and install game again and if you are using deviceUniqueIdentifier then it will generate different number. I don't want this type of behaviour so that. Please give some of your suggestion in this.

avatar image siddharth3322 · Apr 25, 2016 at 01:51 PM 1
Share

@Vagonn, this is not unique id. After uninstall and then I install game again. But this is giving me different id.

now what I need to do?

avatar image eartem siddharth3322 · Apr 27, 2017 at 08:35 AM 0
Share

hello. did you find the answer?

avatar image siddharth3322 eartem · Apr 27, 2017 at 08:41 AM 0
Share

There is no unique identification exist for iPhone devices. So we can use generated device token of identifying purpose though it get expired when user install app again and new device token get generated.

So we require to track this at server side :)

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

81 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

is unity required iphone device ? 1 Answer

Fixing Layout issues for iPad 0 Answers

Unity modules for iOS? 1 Answer

iPhone Controller Asset 0 Answers

iOS: Handheld.PlayFullScreenMovie 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges