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

[DEV-251153] Handle selected bank within Widget #15

Open
wants to merge 4 commits into
base: DEV
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
11 changes: 0 additions & 11 deletions .editorconfig

This file was deleted.

16 changes: 0 additions & 16 deletions .eslintrc.js

This file was deleted.

21 changes: 0 additions & 21 deletions .flowconfig

This file was deleted.

38 changes: 29 additions & 9 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,21 +1,41 @@
dist/
.expo/
# dependencies
node_modules/
web-build/

npm-debug.*
# Expo
.expo/
dist/
web-build/
expo-env.d.ts

*.jks
*.key
*.mobileprovision
# Native
*.orig.*
*.jks
*.p8
*.p12
*.key
*.mobileprovision

env.js
# Metro
.metro-health-check*

# debug
npm-debug.*
yarn-debug.*
yarn-error.*

# macOS
.DS_Store
*.pem

# local env files
.env*.local

# Tests
# typescript
*.tsbuildinfo

# tests
coverage/

# Lock files
package-lock.json
yarn.lock
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

13 changes: 0 additions & 13 deletions .prettierrc

This file was deleted.

9 changes: 0 additions & 9 deletions .vscode/extensions.json

This file was deleted.

12 changes: 0 additions & 12 deletions .vscode/settings.json

This file was deleted.

37 changes: 8 additions & 29 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,56 +15,35 @@ Note: The SDK package will be published in an NPM repository later. For now, ple

### Requirements

- **CocoaPods** 1.15
- **Node** 20
- **Ruby** 3.3.5
- **Yarn** 1.22.22

### Setup

- Copy the `env.example.js` file to a new `env.js` file and fill out your environment variables.
- (Optional) Edit the payload information in the `establish-data.js` file.
- Open the `env.js` file and fill out your environment variables.
- (Optional) Edit the payload information in the `EstablishData.tsx` file.

### SDK Installation and Update

For the following commands, remember to replace these placeholders:

- `$APP_FOLDER`: Local path of this **Example** folder
- `$SDK_FOLDER`: Local path of the **SDK** folder

#### Clean previous builds (if any)
Clean previous builds (if any)

```shell
cd $APP_FOLDER
rm -rfv node_modules && cd ios && rm -rfv build
rm -rfv node_modules
```

#### (Re)install packages
After that install all the dependencies:

```shell
cd $APP_FOLDER
yarn install
```

#### Build

```shell
node ${APP_FOLDER}/node_modules/react-native/scripts/generate-codegen-artifacts.js --path ${APP_FOLDER}/ --outputPath ${SDK_FOLDER}/generated/ --targetPlatform all

cd $APP_FOLDER
cd android && ./gradlew generateCodegenArtifactsFromSchema
cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
npm install
```

### Running

```shell
cd $APP_FOLDER
npx expo run
npm run start
```

## Contributing

### Setup

We recommend the [**Visual Studio Code**](https://code.visualstudio.com/) as the code editor. There are some [settings](.vscode/settings.json) for it versioned in this repository, but, please, also install its recommended [extensions](.vscode/extensions.json).
We recommend the [**Visual Studio Code**](https://code.visualstudio.com/) as the code editor. There are some [settings](.vscode/settings.json) for it versioned in this repository, but, please, also install its recommended [extensions](.vscode/extensions.json).
16 changes: 0 additions & 16 deletions android/.gitignore

This file was deleted.

Loading