-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/issue-6466
- Loading branch information
Showing
61 changed files
with
34,126 additions
and
34,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,5 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['@react-native-community', 'prettier'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint', 'import-helpers'], | ||
rules: { | ||
'import-helpers/order-imports': [ | ||
'warn', | ||
{ | ||
newlinesBetween: 'always', // new line between groups | ||
groups: [ | ||
['/^react/'], | ||
'module', | ||
'/^../hooks/', | ||
'/^../utils/', | ||
'/^../interfaces/', | ||
['parent', 'sibling', 'index'], | ||
], | ||
alphabetize: { order: 'asc', ignoreCase: true }, | ||
}, | ||
], | ||
'no-unused-vars': 'off', | ||
'@typescript-eslint/no-unused-vars': ['off'], | ||
'react-hooks/exhaustive-deps': 'off', | ||
}, | ||
}; | ||
extends: '@react-native', | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Android Build | ||
|
||
on: push | ||
|
||
jobs: | ||
build-for-android: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'adopt' | ||
cache: 'gradle' | ||
|
||
|
||
- name: npm install for SDK | ||
run: npm install | ||
|
||
- name: npm install for example | ||
run: | | ||
cd example | ||
npm install | ||
cd .. | ||
- name: Build for Android | ||
run: | | ||
cd example | ||
npm run build:android | ||
cd .. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: iOS Build | ||
|
||
on: push | ||
|
||
jobs: | ||
build-for-ios: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Xcode | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '15.4' | ||
- name: Setup node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Setup cocoapods | ||
uses: maxim-lobanov/setup-cocoapods@v1 | ||
with: | ||
version: 1.15.2 | ||
|
||
- name: npm install for SDK | ||
run: npm install | ||
|
||
- name: npm install for example | ||
run: | | ||
cd example | ||
npm install | ||
cd .. | ||
- name: Pod Install for iOS | ||
run: | | ||
cd example/ios | ||
pod install | ||
cd ../.. | ||
- name: Build for iOS Simulator | ||
run: | | ||
cd example | ||
npm run build:ios | ||
cd .. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,9 @@ jobs: | |
- name: checkout | ||
uses: actions/[email protected] | ||
- name: installation of node | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 14 | ||
node-version: 20 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
presets: ['module:metro-react-native-babel-preset'], | ||
presets: ['module:@react-native/babel-preset'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
root: true, | ||
extends: '@react-native', | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
source 'https://rubygems.org' | ||
|
||
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version | ||
ruby ">= 2.6.10" | ||
|
||
# Exclude problematic versions of cocoapods and activesupport that causes build failures. | ||
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' | ||
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.