Questions tagged [instanceid]

40 questions
0
votes
1 answer

Is Firebase Instance token compatible with Google InstanceID API?

There is a Google Instance ID API. Can it be used with Firebase Instance ID tokens? Are they one and the same? There is no mention on either of the documentation sites about whether Firebase Instance IDs are compatible with the "Instance ID API."
androidguy
  • 3,005
  • 2
  • 27
  • 38
0
votes
2 answers

Creating Firebase Instance ID when opening the app for the first time

So I am having a hard time figuring out when the InstanceID is created any why it isn't working upon the first time it is opened. When I run the app for the first time, this code returns null. FirebaseInstanceId.getInstance().getToken(); I even…
0
votes
1 answer

ODK API : How to filter instanceIDs based on submission date

I am transferring data from ODK to another application through API. For this I am fetching the instances of an ODK form and then fetching each instance's details. What I want is to filter the form Instances(InstanceID) based on submission date so…
harsh atal
  • 411
  • 6
  • 16
0
votes
0 answers

Equivalent of InstanceID and ANDROID_ID on iOS and Windows

I am developing an Android app which makes use of the InstanceID token and ANDROID_ID. I want to know if there is an equivalent of these in iOS and Windows environments? If yes, I can use them (and its respective counterpart on iOS and Windows)…
Rajan Prasad
  • 1,582
  • 1
  • 16
  • 33
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…
0
votes
1 answer

Get Firebase InstanceId from another app

I am writing an Android library that be installed on several external apps. This library will have to receive and send Firebase Message from and to my server. To do that I need to get a FirebaseInstanceId for the app using my library, however a…
Laetan
  • 879
  • 9
  • 26
0
votes
1 answer

GCM Token returned by InstanceID API gives NotRegistered error

I'm using GCM in my app and using the InstanceId API to generate GCM tokens. I'm facing this issue where the token returned by the InstanceId API is invalid. I use Postman to check the token and every now and then in some device, trying to use the…
akshayt23
  • 2,793
  • 3
  • 21
  • 29
0
votes
1 answer

Why InstanceID always returns a token despite of wrong senderId?

I'm using Google Cloud Messaging api to implement an Android client. To get a token, I do: InstanceID ex = InstanceID.getInstance(this.getApplicationContext()); String regId = ex.getToken(senderId, "GCM", null); And regId always contains a…
0
votes
1 answer

Not receiving instance id with google instance id api for iOS

I am integrating google instance id api for iOS and called the appropriate method as follows to get an instance id. let gcmConfig = GCMConfig.defaultConfig() gcmConfig.receiverDelegate = self …
praths
  • 353
  • 1
  • 14
0
votes
0 answers

Getting GCM registration response "User Registration Limit Exceeded" for some requests

We have an Android app that registers with GCM using Instance ID API. Unfortunately, the GCM statistics in the Google Play Developer Console show that some registration attempts are apparently answered with the response code "HTTP 200 - User…
Baris Akar
  • 4,895
  • 1
  • 26
  • 54
1 2
3