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
2 answers

How to get the devicetoken in another class that is not the AppDelegate?

Good afternoon. I'm Brazilian so excuse me for any English errors! I'm sending push notifications to my own device. I can get my deviceToken in my AppDelegate.m: - (void)application:(UIApplication*)application…
2
votes
1 answer

APNs duplicate tokens

We have a push notification server which holds the data (device tokens) for several different applications. With Apple wanting to stop people using the UDID as identifier, I was looking into changing this server so that it does not rely on UDIDs to…
Mopper
  • 1,677
  • 2
  • 18
  • 41
2
votes
2 answers

Sencha touch 2 + Apple push notifications + Ext.device.Push

I recently started developing with Sencha Touch 2, at the moment i'm creating an app that needs support for Apple Push Notifications. So I've created the neccesary certificates at the Apple developer center and used them to package the application…
2
votes
2 answers

Urban Airship - send PUSH to 1 specific device (device token)

So I want to target one specific device token via Urban Airship, but no matter what I do, all of my devices get the message intended for a specific device token. Here's my PHP code - any help is as usual greatly…
PinkFloydRocks
  • 808
  • 3
  • 14
  • 29
2
votes
1 answer

Why does the iPhone still give me a device token if push is turned off?

The first time I run my app, I get asked if I want to allow push notifications, so I select yes. Now, when I go to settings and turn off all notifications for my app, I still get a device token from - (void)application:(UIApplication*)application…
Ali Hamze
  • 1,590
  • 13
  • 26
1
vote
1 answer

Get device token to push notify the second time on iPhone

I need to obtain the device token on my iPhone to test the push notify. On my iPhone I had already agreed to notify push permissions. I try to remove and reinstall the app but nothing. I try to put a breackpoint in the…
1
vote
2 answers

sending ios push message without user action

I want to collect device attributes and send them to the mdm server using push notification. Steps involved are: create a configuration profile with mdm payload get device token use apple push notification service to send a notification to the…
1
vote
1 answer

iOS push Token Hex or B64

So, we are working on iOS push notifications for vendors that make apps and I think i am seeing two different ways that it can be sent to us. I am just wanting to know if this is a true or am i going down the wrong path. I see that they can either…
HexBlit
  • 1,172
  • 1
  • 13
  • 31
1
vote
0 answers

Can't get device token when distribution

When in development, it works well, I can push notification to device. but when distribution I can't get notification. After debug I found the reason is that my server didn't receive device token from app. I'm sure I used the correct provisioning…
yakexi
  • 75
  • 1
  • 8
1
vote
2 answers

What is an etoken?

I need to write a code to check the validity of the digital certificate present in an etoken. I am not familiar with etokens. Can anyone please answer my following questions, How to access the digital certificate content from etoken? Can we access…
V K
  • 471
  • 8
  • 13
1
vote
1 answer

Retrieve the app push token from the device automatically in swift iOS

Is it possible to get a device token (push token) automatically or without registering for push notification in iOS Swift? Currently, we are getting device token while registering for push notifications: func application(_ application:…
1
vote
1 answer

how do i get ios device token in Ionic

I'm working with ionic 3, APNs (not other) and want to get the IOS device token. If token can be generated with APNs, please refer the source, If not by APNs how do I generate them.
svvc
  • 33
  • 7
1
vote
1 answer

How do I convert device token of type Data from Amazon SNS to a form I can put in setting to create endpoint in SNS?

I am able to get a device token from Amazon SNS using code in my iOS app. In order to create an endpoint for my application on the SNS side, I need this device token to be in the form of a text. I have tried to initialize a String object with every…
daniel
  • 1,446
  • 3
  • 29
  • 65
1
vote
0 answers

AWS SNS push notification not received on iPhone 6 and above

My coworker and I are building an app and implementing push notification feature utilizing AWS SNS API. The issue here is that some devices work fine but some like iPhone 6,7,8 receive no notification regardless of the OS version (they're mostly iOS…
1
vote
1 answer

What is APNS Device Token composed of?

What is the device token received in didRegisterForRemoteNotificationsWithDeviceToken composed of? This device token is used to uniquely identify an application when pushing notifications from server. But my query is as to what this device token is…
Akaanksha
  • 161
  • 1
  • 14