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

How to get Parse.com PUSH registration device token in Phonegap on iOS

I am using the Parse PUSH api to integrate PUSH notifications into my iOS app built on Phonegap. I am trying to figure out how to access the device token that is given back by parse. Is there an easy way to do this? Is there a plugin for this…
1
vote
2 answers

Critical outcome when sending push notification from our server

We have an app on appstore, and with registered push notifications. They have successfully worked all the time, but we now tried to send a 'global' push, and something weird happened. This is what we have in our server-side .php file: //Loop through…
Sti
  • 8,275
  • 9
  • 62
  • 124
1
vote
1 answer

Accessing hardware encryption devices java

I'm trying to make a simple java app that uses a security token to sign a file (any extension). I need to read all the info from the token and sign the file with it so that I can later load the signed file, get the original file and all the other…
1
vote
2 answers

Get android mobile token for Push notifications

I have a android application which sends to my PHP script the following information: mobile_id, os_version, app_version. Is it possible to retrieve the android device token from those parameters? I've heard you should connect to google somehow to…
D_R
  • 4,894
  • 4
  • 45
  • 62
1
vote
2 answers

how to send the device token to server in ios6?

I want to send the device token to server in my application. I am using following method to retrieve the device token. - (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { …
Ben10
  • 3,221
  • 2
  • 34
  • 61
1
vote
2 answers

Attempting to sent Push Notifications to iOS device - not receiving them

I have so far done the following: - Generated certificate and private key as .pem, also cat'd them together. Successfully connected to gateway.sandbox.push.apple.com. - Using the provisional profile with push notifications is enabled for…
1
vote
3 answers

Read Device Token for iPhone Push Notification

I try to implement push notification in my iPhone application. I have create Provisioning Profile and App-id for push notification and add this certificates into Xcode. Connect iPhone device to mac system and build application through device for…
1
vote
1 answer

get device token inside -(BOOL)application:didFinishLaunchingWithOptions:

I don't know how to get device token (APN) inside - (BOOL)application:didFinishLaunchingWithOptions: the only place I can get the device token in AppDelegate is in - (void)application:didRegisterForRemoteNotificationsWithDeviceToken: where…
dejoong
  • 2,213
  • 5
  • 25
  • 24
0
votes
1 answer

IOS: why devicetoken was not created, when the user does not allow for remote notifications

I'm created an application which is use remote notification service, and also prepare a web service to collect devicetoken and some device data. working flawlessly, there is no problem. but, I realized something weird. (maybe it's not so weird when…
ytur
  • 1,232
  • 12
  • 22
0
votes
1 answer

How To Modify The PHP File To Send To More Devices Push Notification In Loop?

i have this php file and when i use it to send to my device it is ok and i receive the notification without any problem now i have more than Device Token and i want to modify the php file to make loop to send to all Devices
0
votes
1 answer

iPhone device token not match with download times

I have configured the iPhone App to submit device token to the database table when user install it. After checked the iPhone App download time at itunesconnect.apple.com > Sales and Trends, I found that it have 4xxx download time. However, I checked…
Charles Yeung
  • 38,347
  • 30
  • 90
  • 130
0
votes
1 answer

is it possible to get an ios device token without installing the app?

I want to manage certain iOs devices. I don't want to install any app on the device. I read that I can create configuration profile with MDM payload and install on device. I then somehow need to get the device token and then use Java APNS to start…
0
votes
0 answers

How to get APNs deviceToken from KMP-Multiplatform

I am using Compose Multiplatform to develop a mobile app, and I need to obtain the Apple APNs token to submit it to the server. I have been searching for examples, and I found that in Swift, you can write the following code in the AppDelegate to get…
0
votes
0 answers

FCM: Device token is not valid

I have 2 projects in Firebase. One for iOS and the other one for Android app. In the apps I collect the device token and send it to my php API, where it gets stored in the DB and used in the API to send the push notification to both app users. For…
arakibi
  • 441
  • 7
  • 24
0
votes
1 answer

How to get Airship device token for iOS and gcm_registration_id for Android with Flutter?

I need to get Airship device token for iOS and gcm_registration_id for Android with Flutter. I can see the device token in the console (from AirshipKit I suppose) when I start the app as well as in my Airship project. But I need to get the device…