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

why flutter google places returning null value #62

Open
gunasekharravilla opened this issue Feb 20, 2021 · 7 comments
Open

why flutter google places returning null value #62

gunasekharravilla opened this issue Feb 20, 2021 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@gunasekharravilla
Copy link
Contributor

when I am trying to get the location its return null values

In Google cloud console its showing 100% error of 4xx

how to solve this issue because the entire project depends on it I even started a trial also but the issue not solved

@hoc081098
Copy link
Owner

hoc081098 commented Feb 21, 2021

@gunasekharravilla
Copy link
Contributor Author

gunasekharravilla commented Feb 21, 2021

In my case, it's showing an error occurred in retrieving client Id, where I have to mention it in our project

@hoc081098
Copy link
Owner

I still don't understand you problem 😕

@gunasekharravilla
Copy link
Contributor Author

when I'm trying to enter the location in the update profile screen

I/flutter (28303): [flutter_google_places] headers={X-Android-Package: com.hoc.datn, X-Android-Cert: f1865551998f7f1521a6ae62d8328070e6bf93e2} I/flutter (28303): [flutter_google_places] input=t location=null origin=null I/flutter (28303): [flutter_google_places] input=ti location=null origin=null I/flutter (28303): [flutter_google_places] input=tir location=null origin=null I/flutter (28303): [flutter_google_places] input=tiru location=null origin=null I/flutter (28303): [flutter_google_places] input=tirup location=null origin=null I/flutter (28303): [flutter_google_places] input=tirupa location=null origin=null I/flutter (28303): [flutter_google_places] input=tirupat location=null origin=null I/flutter (28303): [flutter_google_places] input=tirupati location=null origin=null I/flutter (28303): [flutter_google_places] sorted=[] I/chatty (28303): uid=10219(com.hoc.datn) 1.ui identical 6 lines I/flutter (28303): [flutter_google_places] sorted=[]

getting these logs in the terminal

In cloud Console getting error like below

image

image

@hoc081098
Copy link
Owner

@gunasekharravilla Is your key restricted?

@hoc081098 hoc081098 added the help wanted Extra attention is needed label Feb 25, 2021
@gunasekharravilla
Copy link
Contributor Author

I Tried after restricting the key and enabled free trial also but getting the same error

currently key not restricted

what's the correct process to enable the places API for this app

I will Do it again from starting

@hoc081098
Copy link
Owner

You can check your package name of app against restricted package, and also SHA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants