Questions tagged [android-devicetoken]
14 questions
3
votes
1 answer
Firebase messaging.getToken() fails with MISSING_INSTANCEID_SERVICE error
I am trying to integrate Firebase Cloud Messaging into an ongoing project. I followed the guide for installation here and installed both @react-native-firebase/app and @react-native-firebase/messaging.
However, when I attempt to get device token…

BolDav
- 56
- 1
- 4
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
1
vote
2 answers
How do you manage your android device token generated by FCM after token expired?
I'm developing a push notification app, do you have same issue:
My app generate a FCM device token and store it in a cloud database, so I can send notification messages to a device via FCM, and my database table looks like:
userid | …

Shawn Lee
- 103
- 2
- 8
1
vote
2 answers
How get Firebase Device Token like string?
I want to send device Token information when sending membership information to server.
But how should I go because getToken is no longer in use?
I've been using this before:
params.put("deviceToken",…

JavaOgreniyor
- 31
- 5
1
vote
3 answers
How to connect and configure android studio on real time android device (Smartphones etc.)?
I have read a lot of blogs and saw many videos but no one explain how to run a Hello world App on a smartphone. Can somebody please help me in running a simple hello world program on android device.

Navneet Goel
- 116
- 6
1
vote
2 answers
Get Android device token
I am integrating Pushwoosh API for push notifications for which I require deviceToken. How do I get it :
I am getting empty string using this :
String deviceToken=GCMRegistrar.getRegistrationId(getApplicationContext());
These are the…

Nitish
- 13,845
- 28
- 135
- 263
0
votes
0 answers
Android app id and package in manifest are different
Android application id is different and package in manifest is different. will android push notification work if register on firebase with android app id? say android app id in build.gradle is com.xyz.abc and in manifest file the package define is…

Aman
- 11
- 2
0
votes
1 answer
android unable to retrieve the device token FirebaseInstanceId.getInstance() is deprecated
Android Studio SDK 30
Gradle 7
I'm able to receive notification.
but unable to get the device token :(
all answers on the web talks about FirebaseInstanceId.getInstance is deprecated
and answers with a FirebaseInstanceId.getInstance code :(
Android…

Jintor
- 607
- 8
- 32
0
votes
0 answers
Laravel push notification
I'm using https://github.com/davibennun/laravel-push-notification package for push notification in laravel. I have created api-key from console.developers.google.com/apis(credentials/new project/create-credentials). I am using my mobile device id as…

Abhilash
- 39
- 1
- 10
0
votes
1 answer
Not receiving Notification when device token is updated in the background
I have implemented GCM in my project using guidelines from https://developers.google.com.
Steps that I have take are:
For receiving device Token:
-> Class GCMRegistrationIntentService which extends IntentService and it is started from my…

Ganesh Ghodake
- 329
- 1
- 4
- 16
0
votes
1 answer
There are few android installation with no deviceToken on parse.com
I have created the project for parse cloud code.
I have developed mobile applications for iOS as well as android.
For iOS everything works fine, but for android it is having an issue with installation.
There are few entries with (undefined)…

Jignesh Patel
- 189
- 1
- 16
0
votes
1 answer
Android GCM - How to remove bad device tokens from my (third party) database?
We have about 900 Android device tokens in our database for GCM push notifications.
I use this PHP function to send the push instruction to the GCM server:
function send_android_push($android_gcm_reg_ids, $title, $message, $activityToLaunch) {
…

ban-geoengineering
- 18,324
- 27
- 171
- 253
0
votes
3 answers
Delphi Xe8 , How to get android device token?
I registered Google Cloud Messaging(GCM) system. I am using Delphi Xe8 .
I need to get android device token for send notification with gcm.
But I have no idea about device token.
How can I get device token ?

Egemen HALICI
- 33
- 9
0
votes
1 answer
Device Registration Id/Device Token is not generating
I am trying to work with GCM(Google Cloud Messaging) for Push Notification, i have tried with sample application it's working fine with my device and Device Id/Token is generating and able to push notification.
If i try the same application with…

Sathish
- 1
- 4