Questions tagged [deviceid]
81 questions
26
votes
3 answers
How to get Device Id in Xamarin Forms?
How can I get Device Unique Id in Android and iOS using c# in Xamarin Froms? I am using Azure Notification Hub for sending Notification. I am referring this blog. But in Android I am not able to find related "Settings"

Srusti Thakkar
- 1,835
- 2
- 22
- 52
13
votes
5 answers
Get device id in react native?
how to get device id in react native. I am using create react native not android studio. I am new to this.
import DeviceInfo from 'react-native-device-info';
constructor(props) {
super(props);
this.state = { id: '' }
this.onNavigateTo =…
user1731387
11
votes
3 answers
Device ID in Flutter: device_info_plus package returns null when requesting androidId
I'm a new Flutter developer, I'm about to develop a Flutter app which needs to use device id so I decided to use the device_info_plus package to get androidId, but when I request device info in order to get androidId within it, it returns null and…

Deogratius Mabima
- 328
- 2
- 10
5
votes
3 answers
How to get the realy fixed Device-ID in swift?
I use the below code since long time. I have thought it is unique
But I have deleted my app and reinstalled it, I get new different Device-ID.
if let uuid = UIDevice.current.identifierForVendor?.uuidString {
print(uuid)
}
every new reinstall, I…

user10118085
- 71
- 1
- 1
- 3
4
votes
0 answers
How to get Google chromecast device id from PC Chrome browser?
As Per My knowledge, from the Google official API document,
we can't get device id(which will be used to identify the Google chromecast device) by JS API on Receiver APP client, but we can call native api to get the device id of chromecast device…

jamesqiao
- 41
- 1
- 3
4
votes
2 answers
Are Android Device ID's case sensitive?
I have get my device IDs from the system all in lower case letters. Some Device ID app in PLayStore return the device IDs in upper case only. I've heard that these kind of IDs for iOS are case sensitive.
Are Android device IDs case sensitive?
I…

Ralf Wickum
- 2,850
- 9
- 55
- 103
3
votes
0 answers
How to identify a user login from a new device
I am working on a functionality to send an email to user whenever a they log in to my website with a new device. For example if a user logged in to their account from iOS app, notify them that a new device login is detected. If at a later point,…

user2440135
- 31
- 1
3
votes
1 answer
How to find the nvidia GPU IDs for pytorch cuda run setup?
One major issue most young data scientists, enthusiasts ask me is how to find the GPU IDs to map in the Pytorch code?
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
This can be easily found with this piece of code down below.

LITDataScience
- 380
- 5
- 14
3
votes
2 answers
How to get device Id in expo react native app
I am implementing API to connect app with server. I have to use deviceId there. As mentioned in here we can use third party library 'react-native-device-info'. But when I am using it I am getting errors as attached screenshots. As per error it's…

Piyush Naredi
- 159
- 1
- 10
3
votes
0 answers
Android API 29 Permission Error READ_PRIVILEGED_PHONE_STATE
I Have created Android App.
And Before Api 29 I was get Device IMEI Id.
Now Api 29 my methods return null.
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
if (tm.getDeviceId() != null) {
…

Sahil Ekberov
- 35
- 3
3
votes
1 answer
How to get Windows 10 Device ID in UWP application?
I am developing a Windows 10 UWP client application which run in company's local network.
The application needs to know Windows 10 Device ID to identify each PC that it's installed on.
You can see value of Windows 10 Device ID in Settings-About…

Thanh Le Tien
- 41
- 1
- 2
3
votes
3 answers
Getting different IDs for same device. Why?
I am getting different Android IDs for same device for 2 apps in spite of they are being signed with same keystore. This problem is occurring only in Android Oreo OS. Can anyone help me why there are 2 different Android IDS generated?
The method i…

GladiatorAsif
- 76
- 1
- 5
3
votes
1 answer
UIDevice.currentDevice().identifierForVendor!.UUIDString Swift 3 migration
I have the following code in swift 2
let deviceid = UIDevice.currentDevice().identifierForVendor!.UUIDString
This fails to compile. I tried following suggestions from the auto-fix in xCode and I came up with this.
let deviceid =…

Joseph Astrahan
- 8,659
- 12
- 83
- 154
2
votes
1 answer
Settings.Secure.ANDROID_ID different in build APK and Signed APK why?
String androidId = Settings.Secure.getString(getContentResolver(),
Settings.Secure.ANDROID_ID);
I'm using this to take android id. Doubt is ANDROID_ID how could be different for signed apk and build apk of same device?
I need…

Tej Patel
- 21
- 4
2
votes
3 answers
Unique device identification for KaiOS featured phones
I am trying to find unique device identification in KaiOS featured phones such as Jio Phone. I am developing an app for featured phone using plain JavaScript and need to uniquely identify each mobile device, I am unable to find any solution for…

Shruti
- 81
- 5