Skip to content

Commit a271d14

Browse files
Merge pull request #576 from Instabug/rel/10.4.0
2 parents 427a521 + b55fa79 commit a271d14

File tree

303 files changed

+78349
-236
lines changed

Some content is hidden

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

303 files changed

+78349
-236
lines changed

.circleci/config.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
test_sample:
4343
working_directory: ~/project
4444
docker:
45-
- image: circleci/node:8
45+
- image: circleci/node:lts
4646
steps:
4747
- checkout:
4848
path: ~/project
@@ -91,35 +91,38 @@ jobs:
9191

9292
test_ios:
9393
macos:
94-
xcode: "10.2.0"
95-
working_directory: ~/project/InstabugSample/ios
94+
xcode: "12.3.0"
95+
working_directory: ~/project/InstabugSample
9696
environment:
9797
FL_OUTPUT_DIR: output
9898
steps:
9999
- checkout:
100100
path: ~/project
101101
- run:
102-
name: Install node_modules
103-
command: cd .. && yarn
102+
name: Install CocoaPods
103+
command: sudo gem install cocoapods
104104
- run:
105-
name: Fetch CocoaPods Specs
106-
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
105+
name: Install node_modules
106+
command: yarn
107107
- run:
108-
name: Install CocoaPods
109-
command: pod install
108+
name: Install Pods
109+
command: cd ios && pod install
110110
- run:
111111
name: Build and run tests
112-
command: xcodebuild -workspace InstabugSample.xcworkspace -scheme InstabugSample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=12.2' test | xcpretty
112+
command: cd ios && xcodebuild -allowProvisioningUpdates -workspace InstabugSample.xcworkspace -scheme InstabugSample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max,OS=14.3' test | xcpretty
113113

114114
e2e_ios:
115115
macos:
116-
xcode: "10.2.0"
116+
xcode: "12.3.0"
117117
working_directory: ~/project/InstabugSample
118118
environment:
119119
FL_OUTPUT_DIR: output
120120
steps:
121121
- checkout:
122122
path: ~/project
123+
- run:
124+
name: Install CocoaPods
125+
command: sudo gem install cocoapods
123126
- run:
124127
name: Install React Native CLI
125128
command: npm install -g react-native-cli
@@ -133,10 +136,7 @@ jobs:
133136
name: Install Node Packages
134137
command: yarn
135138
- run:
136-
name: Fetch CocoaPods Specs
137-
command: cd ios && curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
138-
- run:
139-
name: Install CocoaPods
139+
name: Install Pods
140140
command: cd ios && pod install
141141
- run:
142142
name: Detox - Build Release App

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
## v10.4.0 (2021-05-10)
2+
3+
* Migrates iOS to use XCFramework
4+
* Bumps Instabug native SDKs to v10.4
5+
* Fixes crashes related to the network request data not being parsed correctly
6+
* Fixes issues related to the automatic sourcemap file upload on Android
7+
* Adds missing TypeScript definitions
8+
* Deprecates Instabug.setVideoRecordingFloatingButtonPosition in favor of BugReporting.setVideoRecordingFloatingButtonPosition
9+
* Includes native fix which removes the usage of android:requestLegacyExternalStorage permission
10+
* Various other bug fixes and improvements
11+
112
## v10.0.0 (2021-02-16)
213

314
* Introduces Instabug’s new App Performance Monitoring (APM)

InstabugSample/__e2e__/firstTest.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe('Example', () => {
22
beforeEach(async () => {
3-
await device.reloadReactNative();
3+
await device.launchApp();
44
});
55

66
it('should have welcome screen', async () => {

InstabugSample/ios/InstabugSample.xcodeproj/project.pbxproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
BAD36E2F22F19788007F5E74 /* InstabugFeatureRequestsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E2E22F19788007F5E74 /* InstabugFeatureRequestsTests.m */; };
2121
BAD36E3122F19973007F5E74 /* InstabugRepliesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E3022F19973007F5E74 /* InstabugRepliesTests.m */; };
2222
BAD36E3322F19B1B007F5E74 /* InstabugSurveysTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E3222F19B1B007F5E74 /* InstabugSurveysTests.m */; };
23-
C006102922E9EBCA00EDC852 /* libOCMock.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C006102822E9EBCA00EDC852 /* libOCMock.a */; };
2423
C0AB369625854A6100F1E21E /* InstabugAPMTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C0AB369525854A6100F1E21E /* InstabugAPMTests.m */; };
2524
/* End PBXBuildFile section */
2625

@@ -63,7 +62,6 @@
6362
BAD36E2E22F19788007F5E74 /* InstabugFeatureRequestsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugFeatureRequestsTests.m; sourceTree = "<group>"; };
6463
BAD36E3022F19973007F5E74 /* InstabugRepliesTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugRepliesTests.m; sourceTree = "<group>"; };
6564
BAD36E3222F19B1B007F5E74 /* InstabugSurveysTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugSurveysTests.m; sourceTree = "<group>"; };
66-
C006102822E9EBCA00EDC852 /* libOCMock.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libOCMock.a; path = usr/lib/libOCMock.a; sourceTree = "<group>"; };
6765
C0AB369525854A6100F1E21E /* InstabugAPMTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugAPMTests.m; sourceTree = "<group>"; };
6866
C74E4010ABE7AFC7DB5E79DC /* Pods-InstabugSampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-InstabugSampleTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-InstabugSampleTests/Pods-InstabugSampleTests.debug.xcconfig"; sourceTree = "<group>"; };
6967
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
@@ -74,7 +72,6 @@
7472
isa = PBXFrameworksBuildPhase;
7573
buildActionMask = 2147483647;
7674
files = (
77-
C006102922E9EBCA00EDC852 /* libOCMock.a in Frameworks */,
7875
39B75062AA5F42B6E4C8E3C7 /* libPods-InstabugSampleTests.a in Frameworks */,
7976
);
8077
runOnlyForDeploymentPostprocessing = 0;
@@ -132,7 +129,6 @@
132129
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
133130
isa = PBXGroup;
134131
children = (
135-
C006102822E9EBCA00EDC852 /* libOCMock.a */,
136132
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
137133
A0EF1FBF0176E13B30EA2D29 /* libPods-InstabugSample.a */,
138134
7A03A15E2685C1231729CA8B /* libPods-InstabugSampleTests.a */,
@@ -350,7 +346,7 @@
350346
);
351347
inputPaths = (
352348
"${PODS_ROOT}/Target Support Files/Pods-InstabugSample/Pods-InstabugSample-frameworks.sh",
353-
"${PODS_ROOT}/../../node_modules/instabug-reactnative/ios/Instabug.framework",
349+
"${PODS_XCFRAMEWORKS_BUILD_DIR}/Instabug/Instabug.framework/Instabug",
354350
);
355351
name = "[CP] Embed Pods Frameworks";
356352
outputPaths = (

InstabugSample/ios/Podfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ target 'InstabugSample' do
3131
target 'InstabugSampleTests' do
3232
inherit! :search_paths
3333
# Pods for testing
34+
pod 'OCMock'
3435
end
3536

3637
use_native_modules!
-2.06 MB
Binary file not shown.

InstabugSample/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@babel/runtime": "^7.5.4",
1818
"@react-native-community/eslint-config": "^0.0.5",
1919
"babel-jest": "^24.8.0",
20-
"detox": "^13.2.0",
20+
"detox": "18.12.0",
2121
"eslint": "^6.0.1",
2222
"jest": "^24.8.0",
2323
"metro-react-native-babel-preset": "^0.55.0",
@@ -37,13 +37,13 @@
3737
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/InstabugSample.app",
3838
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
3939
"type": "ios.simulator",
40-
"name": "iPhone X"
40+
"name": "iPhone 12"
4141
},
4242
"ios.sim.release": {
4343
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/InstabugSample.app",
4444
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
4545
"type": "ios.simulator",
46-
"name": "iPhone X"
46+
"name": "iPhone 12"
4747
},
4848
"android.emu.debug": {
4949
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",

0 commit comments

Comments
 (0)