grand-stack / grand-stack-starter

Simple starter project for GRANDstack full stack apps

Home Page:https://grandstack.io/docs/getting-started-grand-stack-starter.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jmurph1 opened this issue · comments

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!!

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