im trying to run sst with a expo(React native) fro...
# help
e
im trying to run sst with a expo(React native) frontend but i find myself having to manually update the generated API and websocket URL's for debugging.
f
@Ernie Francis you can run
sst start --outputs-file outputs.json
to have all the outputs dumped to the JSON file.
Would that work?
j
@Ernie Francis thanks for asking this! I was copy/pasting from terminal to my expo project, this will be helpful btw I am using the same stack (sst and expo)! I’m no expert but feel free to DM me/tag me if I can ever help. FYI expo works well with AWS Amplify so your react native app can be published as a web app 👌
e
@Frank the json output may work. but if we could do that there might be a way to PR an SST constructor for an Expo app. more or less just a way to inject the output.json file into env vars for expo.
f
Ah good idea. Lemme open an issue for now to track this https://github.com/serverless-stack/serverless-stack/issues/1562