Skip to content

Commit af4eb17

Browse files
authored
Merge pull request #1708 from bugsnag/testing/rn-version-update
React-native test fixture updates
2 parents 0488922 + 49a5fbf commit af4eb17

File tree

199 files changed

+57046
-11390
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

199 files changed

+57046
-11390
lines changed

.buildkite/react-native-pipeline.yml

Lines changed: 143 additions & 68 deletions
Large diffs are not rendered by default.

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ services:
244244
BROWSER_STACK_USERNAME:
245245
BROWSER_STACK_ACCESS_KEY:
246246
SKIP_NAVIGATION_SCENARIOS:
247+
HERMES:
247248
networks:
248249
default:
249250
aliases:

dockerfiles/Dockerfile.android-builder-base

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM openjdk:8-jdk-buster
22

33
# OS setup
4-
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
4+
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
55
RUN apt-get update && apt-get install -y gradle jq git-core build-essential openssl libssl-dev
66

77
# Android tools

test/react-native/TESTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,9 @@ Remove
161161
```
162162
163163
1. Open `ios/reactnative.xcworkspace` in Xcode
164+
1. Add `BugsnagModule.h` and `BugsnagModule.m` from `../../ios-modules` to the `reactnative/reactnative` group
164165
1. Add a new Group called `Scenarios` beneath `reactnative/reactnative`
165166
1. Add all files in `../../ios-modules/Scenarios` to the new group
166167
1. Xcode may prompt to add a bridging header for Swift. Cancel this and instead:
167168
1. Set Build Settings -> Swift Compiler - General -> Objective-C Bridging Header to `../../ios-module/Scenarios/Scenario.h`
169+
1. Set Signing & Capabilities -> Build team to the shared Bugsnag iOS build team

test/react-native/features/fixtures/reactnative/scenarios/Scenario.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ abstract class Scenario(
3131
override fun onActivityResumed(activity: Activity) {}
3232
override fun onActivityPaused(activity: Activity) {}
3333
override fun onActivityStopped(activity: Activity) {}
34-
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle?) {}
34+
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) {}
3535
override fun onActivityDestroyed(activity: Activity) {}
3636

3737
}

test/react-native/features/fixtures/rn0.63/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/react-native/features/fixtures/rn0.63/android/app/src/main/java/com/reactnative/MainActivity.java

Lines changed: 0 additions & 34 deletions
This file was deleted.

test/react-native/features/fixtures/rn0.63/android/app/src/main/res/values/styles.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/react-native/features/fixtures/rn0.63/ios/Podfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)