Questions tagged [deviceid]
81 questions
2
votes
1 answer
PUSH Notifications in Xamarin Forms with Microsoft.AppCenter
Q: I am using XAMARIN Forms with Microsoft.AppCenter. How do I get the firebase device ID using the AppCenter API for sending push notifications to my mobile clients (Android/IOS) from my backend?
Frontend (Requirements)
1. XAMARIN Forms
2. …

Mike
- 45
- 1
- 7
2
votes
1 answer
Is there an API to find Device ID for Samsung TV in Tizen for React Native apps?
I'm trying to build a Tizen app in a React Native framework. One concern is to find the device id (whether physical tv or an emulator).
Consider the below code snippet:
class Home extends React.Component {
constructor() {
super();
…

GopherGopher
- 376
- 1
- 2
- 16
2
votes
1 answer
How do I get device id in the Apple Cocoa application?
How do I get device id in Apple Cocoa application with swift 4.2?

Mustafa Sevinç
- 23
- 3
2
votes
2 answers
Unique name of android phone
I want to get a unique name or id of the android phone by using the following :
String uniqueID = android.provider.Settings.Secure.getString(getContentResolver(),
android.provider.Settings.Secure.ANDROID_ID);
but it is return null , i do not…

M7M
- 12,891
- 3
- 15
- 4
2
votes
2 answers
getting device id in android
I have found two ways to get device id in android but I do not which one of them better and what are the differences between them
Method 1
public static String getDeviceId2(Context context) {
String androidId = Settings.Secure.getString(
…

Amira Elsayed Ismail
- 9,216
- 30
- 92
- 175
2
votes
7 answers
How to get unique device id in iOS
I am working on iOS app for push notification feature i need to send unique device id of iOS device to server ,in android secure androd id getting for every device,is there any way to get unique device id of iOS.
I found some answers vendor id and…

skyshine
- 2,767
- 7
- 44
- 84
1
vote
0 answers
Device Id in Access Token
Pardon my limited knowledge on jwt tokens.
I am building a mobile app and authenticating users via phone sms. After authentication, my rest api returns a jwt token which has a long expiry time (30 days).
To prevent a hacker from stealing the token…

user559788
- 303
- 2
- 13
1
vote
2 answers
Android Device ID change while device factory reset
I need a Unique ID or Number all time, If device formate or flash.

Gprakash
- 30
- 7
1
vote
3 answers
Unique device id in flutter
I want to get a device id or any unique number that can not be changed when someone uninstalls the app. This device is for both android and iOS and is in the flutter framework. I want this to manage my device management.
Thanks for the help.
I tried…

Hassan Gujjar
- 288
- 3
- 13
1
vote
1 answer
WebRTC getUserMedia deviceId constraint is not supported
I am trying to get device Id from user by using WebRTC API navigator.mediaDevices.getUserMedia. But the function throws an OverconstrainedError which has constraint property inside says deviceId. This means something was wrong with the…

rawsly
- 372
- 1
- 5
- 20
1
vote
2 answers
How to get the device id for mobile/desktop?
I have web app on desktop and mobile(IOS/Android devices) along with mobile apps, i need to identify the user per device(if user changing the device that can be fine). I think it can be device_id where device id can be machine_id(if feasible to…

emilly
- 10,060
- 33
- 97
- 172
1
vote
0 answers
Generate UUID in Android Studio and use the same UUID after reinstalling the App
In this project that I'm working on, I want a unique ID for a Device that is using my App. I've decided to
use UUID (Universally Unique Identifier) in my project. Basically what I want is to assign this UUID to any files generated by my App.
My…

ManuKovera
- 45
- 1
- 7
1
vote
1 answer
Device verification code: How does github calculate deviceId?
Whenever I try to login to github from a different ubuntu machine on the same network, it prompts me to provide a device verification code.
How does github understand that I am logging in from a different device since I am using same…

Marinos An
- 9,481
- 6
- 63
- 96
1
vote
0 answers
How to get device id or IMEI programmatically in android Q?
I am trying to get the imei number of the phone by using telephonymanager in android . but in Android Q , I am not getting the device imei .
Is there any way to imei number in android Q programmatically?
TelephonyManager tm = (TelephonyManager)…

Syed Reazul Elahee
- 11
- 3
1
vote
1 answer
Expo 34: Error Undefined is not an object on _expo.Constants.deviceId
I received below message after upgrade my expo project from sdk 33 to 34. I have no idea where this issue is from. Does anyone have this error before.

LittleFunny
- 8,155
- 15
- 87
- 198