Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialogflow error in function deviceId can’t be null #1402

Closed
cfmaley3 opened this issue Jul 10, 2019 · 7 comments
Closed

Dialogflow error in function deviceId can’t be null #1402

cfmaley3 opened this issue Jul 10, 2019 · 7 comments
Assignees

Comments

@cfmaley3
Copy link

Unable to get the dialogflow sample to work. I’ve deployed the node function to fire base but I get this error deviceId can’t be null.

It also looks like firebase messaging needs to be configured for this sample. Is that true? I was unable to find any reference to firebase messaging is needed for this sample.

@fhinkel
Copy link
Contributor

fhinkel commented Jul 10, 2019

@cfmaley3 👋 Thanks for reporting the issue. @ace-n could you help out here? It's one of the functions examples. Thanks

@ace-n
Copy link
Contributor

ace-n commented Jul 10, 2019

@fhinkel thanks for the ping - but I didn't write this sample, and it's not in the functions docs. 🙂

@nnegrey - who would be the right person to investigate this?

@cfmaley3
Copy link
Author

cfmaley3 commented Jul 10, 2019 via email

@nnegrey
Copy link
Contributor

nnegrey commented Jul 11, 2019

Hi, yep, looks like we need to add a README (@santhoshvaddi)

This sample is built to create a token service for a mobile application so that the mobile app can talk to Dialogflow.

ios README with instructions for this sample: https://github.com/GoogleCloudPlatform/ios-docs-samples/tree/master/dialogflow/stopwatch

Docs page: https://cloud.google.com/solutions/mobile/dialogflow-agent-commands

@santhoshvaddi
Copy link
Contributor

Hi, sure @nnegrey I will add a README.

@santhoshvaddi
Copy link
Contributor

@nnegrey I have added README and renamed the root folder name from "dialogflow" to "tokenservice". @cfmaley3 Please check the README. DeviceID is used to push the notification from Firebase cloud messaging(FCM).

DeviceID is equivalent to client's(iOS or Android app) app instance .

@nnegrey
Copy link
Contributor

nnegrey commented Jul 15, 2019

Thanks @santhoshvaddi, left a few quick comments on the README that should be updated.

@cfmaley3, let us know if you need any more info, but going to close for now.

@nnegrey nnegrey closed this as completed Jul 15, 2019
This was referenced Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants