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
1
vote
1 answer

iOS device token

If I accept push notification on my device, and do not save device token then how i can see device token in custom view or revert alert view ? I deleted app and reinstalled, but do not see device token alert view, and revoke permissions, but no see…
alex willrock
  • 986
  • 3
  • 9
  • 22
1
vote
2 answers

How to Get Unique Identity From iOS Device?

i am NewBie in iOS Development and i Know that this Question are asked many Times. i am do R&D on it but Not Get my Answer. I want to Get any Unique identity from devise. i know that there are many Option like as 1.UDID 2.UUID But From iOS 7 Apple…
iOS Developer
  • 133
  • 3
  • 14
1
vote
1 answer

get ios push deviceToken second time

I need to get deviceToken. When I added push notification to my app I received deviceToken via didRegisterForRemoteNotificationsWithDeviceToken but now I need to get it again and i didnt save is. didRegisterForRemoteNotificationsWithDeviceToken…
Dmitrii Z
  • 145
  • 1
  • 5
1
vote
1 answer

Rails Associations Rspec

I'm struggling to understand the relationship that owner = create(:user, device_token: device_token) has to owner: {device_token: device_token}, I usually use user_id for this association. 2. What is the device_token method in the controller is…
ideahed
  • 179
  • 3
  • 11
1
vote
2 answers

APNS Push Notification - device token and keychain

To my knowledge, once we got the device token from APNS, we can't get it again. (Except that backup data to a new device or computer, or reinstalls the operating system or any time the device token changes which will call the…
1
vote
1 answer

Why is devicetoken not getting generated for other device?

I am trying to generate device token for 1 device , but why isn't it getting generated for other device. I am storing that value in parse, Second device token is missing. What is the solution for generating device token for other Device?
ManishSB
  • 767
  • 9
  • 27
1
vote
1 answer

Does device token for my app changed when there is an update for my app in app store?

I googled it and I can't seem to find an answer for that: does device token get changed when there is an update from app store for my app?
Idan Moshe
  • 1,675
  • 4
  • 28
  • 65
1
vote
1 answer

PHP For iOS Push Notifications, Sometimes More Than 1 Device

I am building an app in which I am using NSUserDefaults to store various pieces of information, including the deviceToken that is used for APNS on iOS. The way it is currently working is that a user submits a request, and it adds an entry to an…
user717452
  • 33
  • 14
  • 73
  • 149
1
vote
1 answer

No active device tokens found in Urban Airship in iOS

I am trying to use Urban Airship to send/ receive push notification in my iOS app. I have created one application, added the urban airship library to that project. I have set the development app key and the app secret key by adding…
Funny
  • 566
  • 5
  • 16
1
vote
1 answer

iOS APNS and device token good practices

I'm making use of push notifications in my iOS app, and it is an app which requires users to log in to access, so of course there is a logout function as well. I'd like to know if it is a good practice, or if it is the common thing to do, to "clear"…
AppsDev
  • 12,319
  • 23
  • 93
  • 186
1
vote
1 answer

Sending Push Notification From Server Using PHP

I used Ray Wenderlich's tutorial to help me in this. I ran through all of the setup, and tests using the SimplePush.php that he included, but with my device token. When I ran it from Terminal, it worked perfect! I got the notification instantly. …
user717452
  • 33
  • 14
  • 73
  • 149
1
vote
1 answer

Get device token in static library

I have to get device Token from Apple Push Notification Server in static library. That means user do not have to implement didRegisterForRemoteNotificationsWithDeviceToken method in AppDelegate, i have to handle it my self, and get device…
1
vote
1 answer

Using iPhone deviceToken for other purposes after push notification?

We are using push notification, so we have the deviceToken of the user, we want to use it for doing queries via HTTP Request, so it is sent outsite the phone. I would like to know if is it possibile/regular/legal for Apple using the deviceToken in…
Andrea Falzetti
  • 350
  • 1
  • 4
  • 12
1
vote
1 answer

while sending device token to my server its going multiple times

i was registered for apns service. i am getting device token, i want to send it to my server.if already this this device id exists in my server i don't want to send it again. - (void)application:(UIApplication*)application…
siva
  • 251
  • 2
  • 16
1
vote
1 answer

Device Token null when deploying app as ad-hoc (Urban Airship)

I implemented the Urban Airship library into my application and I can successfully send push notifications to a specific device in development mode. After startup I get the device token and save it into a mysql database. However, when I use the app…