Questions tagged [devicetoken]

A 32-byte binary identifier (often represented as a 64 character HEX String) used to identify an iOS device for the purpose of sending it Apple Push Notifications.

A 32-byte binary identifier (often represented as a 64 character HEX String) used to identify an iOS device for the purpose of sending it Apple Push Notifications.

In pre-iOS7 devices, all the applications on a single device would get the same device token when registering to Apple Push Notifications. Starting in iOS7, each application installed on the same device gets a unique device token.

212 questions
2
votes
0 answers

decrypting file from eToken

I am new to cryptography, hence I want to ask about my company's requirements. We are using eToken with RSA support. I have developed a code that encrypt file with public key and stored it in another file. Now I want to pass the encrypted file to…
Pravin
  • 195
  • 1
  • 4
  • 15
2
votes
1 answer

which method is used to register the device token for push notification?

I am able to get the deviceToken in the below method, now I want to know how to register the deviceToken for push notification,because I am not sure after getting the device token which method or API is used to register the device token for Push…
User97693321
  • 3,336
  • 7
  • 45
  • 69
2
votes
1 answer

"didReceiveRegistrationToken" does not give me the fcmToken?

I'm building an app with firebase, and trying to save the FCM token for push notifications (which is sent by firebase functions). The way I'm trying to do it is my storing the deviceToken in UserDefault, to use it later on. I need to save the…
2
votes
0 answers

didUpdate methode is not calling at very first time while implementing VOIP push notification using pushkit

I can send VOIP push notification using following code- @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate,PKPushRegistryDelegate { var window: UIWindow? var isUserHasLoggedInWithApp: Bool = true var…
Saiful Islam Sajib
  • 2,243
  • 1
  • 12
  • 17
2
votes
1 answer

Always not getting the device token from the didRegisterForRemoteNotificationsWithDeviceToken delegate of UIApplication

I need device token to implement push notification in my app as before I am getting the device token from didRegisterForRemoteNotificationsWithDeviceToken method but recently it does not work. For more information please find the below code in…
Ramkrishna Sharma
  • 6,961
  • 3
  • 42
  • 51
2
votes
0 answers

Development Apple Push Notifications aren't working on iOS; didRegisterForRemoteNotificationsWithDeviceToken not called

I have an app which works on iOS 7 and later. Apple Push Notifications were working in development mode yesterday, but not now. I am registering for push notifications like this: if ([application…
2
votes
1 answer

Pubnub list devicetoken associated with a channel?

I couldn't find any api in PubNub documentation to list device tokens associated with a channel. I am planning to associate users to their respective channels, and link their device tokens directly to those channels, so that if same user is signing…
Ankit Jain
  • 798
  • 8
  • 20
2
votes
1 answer

how to prevent APNS device token redundancy in database

I am using apns notification for my app, and for this i am storing the apns device token in my sql database. The issue is that every time the user deletes or installs the app, it generates a new device token and this gets stored in the database,…
ViS
  • 1,357
  • 1
  • 17
  • 36
2
votes
2 answers

Parse Device token is Empty

Error : Device token Field always null in Parse Installation table. code java ParseInstallation.getCurrentInstallation().saveInBackground(); ParsePush.subscribeInBackground(AppConfig.PARSE_CHANNEL, new SaveCallback() { @Override …
Jithish P N
  • 1,970
  • 3
  • 26
  • 39
2
votes
0 answers

How to get device token of device in Unity 5?

I am tring to get device token and I dont want to use Update function. Right now I am using following function: if (!tokenSent) { token =UnityEngine.iOS.NotificationServices.deviceToken; if (token != null) { // send token to a…
vanshika
  • 411
  • 1
  • 6
  • 20
2
votes
1 answer

Parse.com - after remove row from Installation class at Data Table my device token is not rcognize anymore

After remove row from Installation class from Data Table my device token is not recognize anymore. The didRegisterForRemoteNotificationsWithDeviceTokenmethod is not called anymore when the app load. I'v tried to restore the iPhone, but nothing…
Asi Givati
  • 1,348
  • 1
  • 15
  • 31
2
votes
2 answers

device token change in another app

I wrote 3 apps to get the device token in my iPad, but each app got different device…
2
votes
1 answer

Worklight : get device token

Can worklight return the device token for Android/iPhone/BB and if so how? More specifically, I'm not looking for the "device id" but the native device token. Worklight can return the "device id", but this is different than the device token. For…
Anton Codes
  • 3,663
  • 1
  • 19
  • 28
2
votes
4 answers

How can I uniquely identify iPhone/iPad?

I am trying to uniquely identify the iPhone/iPad mobile devices to save user data. I found out some, including [NSString *UUID = [[NSUUID UUID] UUIDString]; [UIDevice currentDevice].identifierForVendor.UUIDString; or take device token from -…
Nicholas
  • 169
  • 1
  • 4
  • 15
2
votes
1 answer

Why does a ParseUser have been registered without a deviceToken?

I've experienced a strange thing in my Parse app: a new Installation record has been added, from an Android device, but its deviceToken field is blank. Probably for this, the new user doesn't receive any push notification (subscribers targeting his…
TheUnexpected
  • 3,077
  • 6
  • 32
  • 62