Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Flutter Mobile Client Not Connecting to GraphQL API, Other Issues.... #124

Open
jmurph1 opened this issue Oct 6, 2020 · 1 comment
Open

Comments

@jmurph1
Copy link

jmurph1 commented Oct 6, 2020

Hello,

I'm trying to start building a Flutter app using the Grandstack. I followed all of the directions to get the starter app up and running, but it's not working. I'm new to these technologies, and have no clue what's going on! Here are some of the error messages I'm getting:

  • Database initialization failed to complete
  • Failed to invoke procedure apoc.schema.assert: Caused by: IndexEntryConflictException{propertyValues=( String("u1") ), addedNodeId=4, existingNodeId=2}
  • Plugin project :connectivity_macos not found. Please update settings.gradle.

The one thing that appears to be working is the GraphQL API, as the server does get initialized. From the above errors, seems like the API isn't able to connect to the database. Then also, the mobile Flutter client (I'm using Android) isn't connecting to the API either. The error message on the client says:

This seems especially odd, because the GraphQL server is created at the address http://0.0.0.0:4001/graphql

  • One other issue is that the JavaScript run environment doesn't allow for inputting Flutter run key commands after the Flutter client is built on the mobile device! The whole process has to be terminated and restarted to reload changes to the UI.

Many thanks to anyone who can help resolve these issues!!

@wottpal
Copy link

wottpal commented Jun 18, 2021

Hey, were you able to find solutions for your problems in the meantime?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants