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

Getting "flutter: error!!!!" #1

Closed
j2brian703 opened this issue Jul 22, 2019 · 4 comments
Closed

Getting "flutter: error!!!!" #1

j2brian703 opened this issue Jul 22, 2019 · 4 comments

Comments

@j2brian703
Copy link

I get "flutter: error!!!!" every time I call "_getPolylinesWithLocation" or "_getPolylinesWithAddress". The error message I get is not very descriptive and not sure which part I did wrong.

@shakirsamoon
Copy link
Owner

I get "flutter: error!!!!" every time I call "_getPolylinesWithLocation" or "_getPolylinesWithAddress". The error message I get is not very descriptive and not sure which part I did wrong.

Sorry for the delayed reply.
Do you still have the error?

If yes, please feel free to attach your code.

@j2brian703
Copy link
Author

Yes I'm still getting the same error. Actually I downloaded your example and replaced API Key in the main.dart with my Directions API key and I get the same error.

@shakirsamoon
Copy link
Owner

Yes I'm still getting the same error. Actually I downloaded your example and replaced API Key in the main.dart with my Directions API key and I get the same error.

I cloned the repo and test it out the example project. There is no error.
I'm not sure what error you got.

Can you copy paste your debug console log?
I think it should help me to look more in to this matter.

And also my suggestions for you to check.

  • Check your API key. Sometimes you haven't enable the API key correctly. It should enabled,

    • Directions API ( To load polyline data )
    • Maps SDK for Android ( To show map in Android )
    • Maps SDK for iOS ( To show map in iOS )
  • Did you applied your keys right? Key should add to,

    • AndroidManifest.xml ( Android folder - "\android\app\src\main\AndroidManifest.xml" )
    • AppDelegate.m ( iOS folder - "\ios\Runner\AppDelegate.m" )
    • main.dart ( lib folder )

@j2brian703
Copy link
Author

I figured it out. You have to enable Billing from Google Cloud Console. But I think your package does not help my project although you did a great job. Thanks.

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

2 participants