add app side to test project fixture #165
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Example expo app working inside a cedar project.
simplescreenrecorder-2025-07-03_09.55.39.mp4
Some issues I found that should be looked into:
import { RedwoodApolloProvider } from '@cedarjs/web/apollo'Fixed by passing
graphQLClientConfig={{ uri: process.env.EXPO_PUBLIC_API_URL! }}toRedwoodApolloProviderimport { useQuery } from '@cedarjs/web'Fixed it by importing useQuery from
@apollo/clientgqlto define queriesFixed it by importing gql from
@apollo/clientAfter a successful login often times the user credentials are not saved and you have to retry login multiple times until it succeeds
To get
@cedarjs/auth-dbauth-webto work properly you have to define some global variables