https://github.com/stepzen-dev/react-native-stepzen
https://github.com/stepzen-dev/react-native-stepzen
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stepzen-dev/react-native-stepzen
- Owner: stepzen-dev
- Created: 2021-04-30T20:54:57.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-30T21:27:19.000Z (about 5 years ago)
- Last Synced: 2025-04-25T11:50:40.865Z (about 1 year ago)
- Language: TypeScript
- Size: 234 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-stepzen
Install Expo
```
npm install -g expo-cli
or
yarn global add expo-cli
```
Clone the repo
```
git clone git@github.com:stepzen-samples/react-native-stepzen.git
```
Start up StepZen
```
$ cd stepzen
$ stepzen start
```
Manually add your admin key and uri in the App.tsx. Still working on adding .env variables to the build and development environments
```
const client = new ApolloClient({
link: createHttpLink({
credentials: "same-origin",
headers: {
Authorization: `Apikey {add_key}`,
},
uri: "{add_uri}",
}),
cache: new InMemoryCache(),
});
```
Start up the development environment
```
npm start
or
yarn start
```
Download the expo App on your phone and scan the QR code or open it in your browser