Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adh update tiny quickstart #26

Merged
merged 9 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"dependencies": {
"iron-session": "^6.1.3",
"next": "^12.2.4",
"plaid": "^10.9.0",
"plaid": "^21.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-plaid-link": "^3.3.0"
Expand Down
6 changes: 3 additions & 3 deletions react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ If you're looking for a more fully-featured quickstart, covering more API endpoi

#### Set up your environment

This app uses Node 16 and should work with recent versions of Node. You can use a tool such as [nvm](https://github.com/nvm-sh/nvm) to make sure the app uses your desired version of Node. For information on installing Node, see [How to install Node.js](https://nodejs.dev/learn/how-to-install-nodejs).
This app uses Node 20 and should work with recent versions of Node. You can use a tool such as [nvm](https://github.com/nvm-sh/nvm) to make sure the app uses the target version of Node. For information on installing Node, see [How to install Node.js](https://nodejs.dev/learn/how-to-install-nodejs).

#### Install dependencies

Ensure you're in the **react/** folder, then install the necessary dependencies:

```bash
yarn install
npm install
```

#### Equip the app with credentials
Expand All @@ -31,7 +31,7 @@ Fill out the contents of the **.env** file with the [client ID and Sandbox secre
#### Start the server

```bash
yarn start
npm start
```

The app will run on port 3000 and will hot-reload if you make edits.
Expand Down
4 changes: 2 additions & 2 deletions react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"express": "^4.17.1",
"express-session": "^1.17.2",
"npm-run-all": "^4.1.5",
"plaid": "^9.0.0-beta.11",
"plaid": "^21.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-plaid-link": "^3.5.1",
Expand Down Expand Up @@ -41,7 +41,7 @@
},
"proxy": "http://localhost:8080",
"devDependencies": {
"nodemon": "^2.0.7",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"sass": "^1.49.9"
},
Expand Down
6 changes: 4 additions & 2 deletions react_native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ Follow the environment setup instructions found in the official React Native doc

#### Install dependencies

Ensure your Node version is >= 16.14.0. Next, run `npm install` in the **TinyQuickstartReactNative/** folder.
Ensure you're using Node 20; you can run `nvm use` to make sure you are using a compatible version of Node for this project. Next, run `npm install` in the **TinyQuickstartReactNative/** folder.

Navigate to the **ios/** folder and run `pod install` to install all necessary iOS dependencies.

If `pod install` fails, you may need to first install the required version of Ruby and/or cocoapods. You can use `rbenv` to manage your Ruby version and then `rbenv install 3.3.0`. To install cocoapods, run `sudo gem install cocoapods`.
phoenixy1 marked this conversation as resolved.
Show resolved Hide resolved

#### Equip the app with API credentials

Copy the contents of **.env.example** to a new file called **.env**:
Expand Down Expand Up @@ -99,4 +101,4 @@ To observe OAuth in action, type "oauth" into the search bar when prompted to se

* Wipe all data from the Android emulator. First, quit the Android emulator. Next, open Android studio. In the "Device Manager", wipe data from the corresponding device/emulator by expanding the menu under "Actions" and clicking "Wipe Data". Restart the emulator and rebuild the app using `npx react-native run-android`.

![Android Studio wipe data](./android-studio-wipe-data.png)
![Android Studio wipe data](./android-studio-wipe-data.png)
2 changes: 1 addition & 1 deletion react_native/TinyQuickstartReactNative/.node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
2 changes: 1 addition & 1 deletion react_native/TinyQuickstartReactNative/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.14.0
v20.11.1
2 changes: 1 addition & 1 deletion react_native/TinyQuickstartReactNative/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.5
3.3.0
11 changes: 7 additions & 4 deletions react_native/TinyQuickstartReactNative/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
source 'https://rubygems.org'

# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.5'

gem 'cocoapods', '~> 1.11', '>= 1.11.2'
ruby ">= 2.6.10"

# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
# bound in the template on Cocoapods with next React Native release.
gem 'cocoapods', '>= 1.13', '< 1.15'
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
Loading