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
0
votes
3 answers

If app disconnect internet, how to get device token(APNS) again?

I am implement ios APNS , I write the code in AppDelegate.m, and pass the device token to my view controller( Use NSUserDefaults) . Then there are a button in view controller, when user click the button , it will send device token to my server. But…
dickfala
  • 3,246
  • 3
  • 31
  • 52
0
votes
1 answer

lost device tokens on server apns

We have a table containing apns device tokens on our servers and due to unforeseen circumstances lost all data, including backups. In order to send push notifications we need to send device tokens along with message, since we lost all the tokens, is…
zolo
  • 149
  • 2
  • 10
0
votes
9 answers

How to Get Device Token in didFinishLaunchingWithOptions

I am calling device token in my first viewcontroller. And I cant get result because Device token is null. Here below is my code in appdelegate: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary…
santa
  • 147
  • 1
  • 4
  • 16
0
votes
1 answer

how to find if push notification certification is wrong?

I want to know that how do i find that my push notification certificate is wrong.I am getting devicetoken on my device but doesn't getting any notification.
Rahul Vyas
  • 28,260
  • 49
  • 182
  • 256
0
votes
1 answer

DeviceToken as anonymous identifier IOS

Can I use the DeviceToken to register user in my server but not for push notification service. Is it possible to fetch DevToken without using push notification delegate method? Thanks
0
votes
1 answer

Can I export my Urban Airship push device tokens?

I'm evaluating Urban Airship as a push solution and I was wondering if it's possible to export my device tokens should I decide to stop using their service? I've noticed they have an API endpoint to download device data…
Cat
  • 7,042
  • 8
  • 34
  • 36
0
votes
1 answer

What is alternative for Appdelegate of iOS in Android

I am newbie to android. I want to initialize certain parameters like api key and device token (as are in iOS). Device token which is unique id of iphone,which is used to send notification to that device. Api key is unique key which identifies our…
Ponting
  • 2,248
  • 8
  • 33
  • 61
0
votes
1 answer

iOS Push Certs Fail For "No" Reason

Our app is now using the production certificate for iOS push notifications. We have been through several rounds where pushes work, and then they just stop working. Often the "stop working" is associated with some server failure. However the server…
addzo
  • 845
  • 3
  • 13
  • 37
0
votes
1 answer

IPA file not fetching device token in iOS

I have create profile with push notification enabled. After installing IPA file in the device, the app is not fetching the device token. Does anyone know why this problem appears in my app?
Deepak
  • 1,278
  • 3
  • 15
  • 23
0
votes
0 answers

Push Messaging Distribution Device Token

I am using EasyAPNS for Push Messaging and I kept getting the following error when switch a device to Production: APNS responded with error for pid(201). status(8: Invalid token) As I understand you have separate device tokens for sandbox and…
Hassan Mahmood
  • 1,591
  • 2
  • 12
  • 24
0
votes
1 answer

Is Device token for ANPS changed if i download same application after deleting it?

I want to know about changing DeviceToken for same Device. Here I explain you, Suppose i download application from AppStore to my device, then app will register device token to server. - lets say it is TOKEN1 Now i delete that app from my Device.And…
Nignesh
  • 197
  • 1
  • 10
0
votes
0 answers

Implementing Push Notification on iPhone 5.1

i tried to implement push notification on my iPhone application. I have created the provisional profile successfully. while i tried to read my device token using the following code. - (void)application:(UIApplication *)application…
0
votes
1 answer

What am I doing wrong? Trying to store device token

Ok I have been trying to figure this out for about three weeks and I don't think I will need to shave my head again!!! I have deconstructed the code as much as I possibly can, so I can focus on just getting the device token to my database. When I…
Mike Owens
  • 936
  • 3
  • 8
  • 20
-1
votes
1 answer

Is it acceptable to send APNS device token each time with user request instead of registering user?

I have iOS application where new data arrives each hour on server. When new data arrives, I would like to notify user if there is something of interest for him, based on his alert definitions. I learned that only way to achieve that is APNS…
radetara
  • 36
  • 3
-1
votes
1 answer

Stopped push notification in different environment

Push notification implemented and tested well, but recently encountered one weird issue, where it stopped push notification in IT environment and working fine in UAT. Using same APS certificate in both environments (IT and UAT) and app also having…
1 2 3
14
15