You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your issue in as much detail as possible.
My deviceId field on parse-server is blank. I've tried putting the token in manually using code however this field is read only so am unable to fix it. The GCMSenderId field is also blank so am having to manually inject this code via code because the AndroidManifest.xml field doesnt populate this field server side
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.
Create new Project via fcm, download and save google-services json and save it under root app dir. Install the rest of the firebase dependencies incl. manifest
Populate the manifest with the information found on the parse server wiki page for push
Start app using FCM code + Parse Server code found in android docs (ParseInstallation.getCurrentInstallation().saveInBackground(); //Push notifications). This doesnt work
Expected Results
deviceToken and GCMSenderId fields in the dashboard are supposed to be populated with the relevant info
Actual Outcome
The field remain blank
Environment Setup
Server
parse-server version (Be specific! Don't say 'latest'.) : 2.2.25-Beta1
Operating System: Ubuntu Linux 14.04
Hardware: DO $5 server
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Digital Ocean
Database
MongoDB version: 3.2.10
Storage engine: [FILL THIS OUT]
Hardware: Same server as parse
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Digital Ocean
Logs/Trace
Because guides dont leave a relevant log to find out what the issue is (installation gets saved) , trying to modify the value manually yields the below:
E/AndroidRuntime: FATAL EXCEPTION: pool-4-thread-1
Process: , PID: 3140
java.lang.IllegalArgumentException: Cannot modify deviceToken property of an _Installation object.
Describe your issue in as much detail as possible.
My deviceId field on parse-server is blank. I've tried putting the token in manually using code however this field is read only so am unable to fix it. The GCMSenderId field is also blank so am having to manually inject this code via code because the AndroidManifest.xml field doesnt populate this field server side
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.
Expected Results
deviceToken and GCMSenderId fields in the dashboard are supposed to be populated with the relevant info
Actual Outcome
The field remain blank
Environment Setup
Server
Database
Logs/Trace
Because guides dont leave a relevant log to find out what the issue is (installation gets saved) , trying to modify the value manually yields the below:
E/AndroidRuntime: FATAL EXCEPTION: pool-4-thread-1
Process: , PID: 3140
java.lang.IllegalArgumentException: Cannot modify
deviceToken
property of an _Installation object.code:
The text was updated successfully, but these errors were encountered: