-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: update ios and android agents to v2.7.0 INTER-1002 #135
Open
Orkuncakilkaya
wants to merge
42
commits into
main
Choose a base branch
from
update-agents-to-2-7-0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
9a34f87
feat: update ios and android agents to v2.7.0
Orkuncakilkaya b126eaa
chore: update test project podfile lock
Orkuncakilkaya bb0e619
chore: update podspec minimum version operator
Orkuncakilkaya 58d72b9
chore: wip update native modules for exporting required members
Orkuncakilkaya de48e5e
feat: add sealed result support to sdk
Orkuncakilkaya da1451b
feat: add sealed result support to sdk
Orkuncakilkaya 4f7cca6
feat: add custom timeout feature
Orkuncakilkaya 6693757
fix: ios timeout feature native bridge
necipallef 4c3bcc1
docs: jsdoc for functions
necipallef a24f93a
fix: node22 assert keyword, fix sourcemaps
necipallef a02128d
fix: missing requestOptions in provider
necipallef d85c266
fix: attempt to fix android type problem
necipallef d19d747
fix: client timeout error
necipallef 5015345
feat: ios bridge refactor, added new methods with timeout
necipallef dd917e4
feat: android bridge refactor, add methods for timeout
necipallef fcef4f7
feat: js side timeout param handling
necipallef 67620cb
test: testproject support for node22
necipallef 776d398
ci: add a workflow to test build
necipallef 586c5dd
ci: test build separate jobs
necipallef 5440ee4
fix: android timeout native bridge code
necipallef 5ac2ec4
fix: android bridge type error
necipallef d8f201e
test: test project upgrade jest
necipallef 7748bd8
test: disable running yarn test for now
necipallef 53198f4
chore: remove namespace from android manifest
necipallef 33374d6
chore: test project use gradle 8.2.1
necipallef bcac51e
test: remove namespace from test project android manifest
necipallef a0e50a2
chore: undo pre-commit hook deletion
necipallef b676d99
chore: undo pre-commit hook deletion
necipallef 2e9a4cb
test: attempt to fix jest in TestProject
necipallef fe75847
test: attempt to fix jest in TestProject
necipallef 605ab83
chore: fix getData type missing requestOptions
necipallef f7b84f4
test: add unit tests for timeout functions
necipallef 72605fa
test: attempt to fix jest in TestProject
necipallef f2504ec
test: fix getVisitorDataWithTimeout test
necipallef 2784934
test: temprorarily disable running jest for TestApp
necipallef df337db
chore: jsdoc for options param
necipallef 8786062
fix: correct native function call when timeout is 0
necipallef 4a8f4a1
test: add different test cases for the TestProject
necipallef ec18490
chore: fix markup in test project for small screens
ilfa b5d66c2
test: add 2 more testcases for timeout to be sure
ilfa 44662c1
chore: test project lock file
necipallef 7cb2d69
test: improve test description
necipallef File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Test React Native Library | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
android-build: | ||
name: Android - Build and Test React Native Library | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
yarn install | ||
yarn build | ||
cd TestProject | ||
yarn install | ||
|
||
- name: Build Android | ||
run: | | ||
cd TestProject/android | ||
./gradlew assembleDebug | ||
|
||
- name: Start Metro Bundler # and Test App | ||
run: | | ||
cd TestProject | ||
yarn start & | ||
sleep 10 # Allow Metro Bundler to start | ||
# yarn test | ||
|
||
ios-build: | ||
name: iOS - Build and Test React Native Library | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v4 | ||
|
||
- name: Install dependencies | ||
run: | | ||
yarn install | ||
yarn build | ||
cd TestProject | ||
yarn install | ||
|
||
- name: Install Pods | ||
run: | | ||
cd TestProject/ios | ||
pod install | ||
|
||
- name: Build iOS | ||
env: | ||
CI: true | ||
run: | | ||
cd TestProject/ios | ||
xcodebuild -workspace TestProject.xcworkspace -scheme TestProject -sdk iphonesimulator -configuration Debug build | ||
|
||
- name: Start Metro Bundler # and Test App | ||
run: | | ||
cd TestProject | ||
yarn start & | ||
sleep 10 # Allow Metro Bundler to start | ||
# yarn test |
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
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
preset: 'react-native', | ||
testEnvironment: 'jsdom', | ||
} |
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to commit updated lock file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks!