Skip to content

[MOB-5166] Release/v10.4 #576

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

Merged
merged 56 commits into from
May 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
a59a9b3
Bump y18n from 3.2.1 to 3.2.2 in /InstabugSample
dependabot[bot] Mar 30, 2021
6aa2771
Bump y18n from 3.2.1 to 3.2.2
dependabot[bot] Mar 30, 2021
3e30c3d
Fix BugReporting.setVideoRecordingFloatingButtonPosition
AliAbdelfattah Mar 29, 2021
475cfcf
Update CHANGELOG
AliAbdelfattah Mar 29, 2021
c3cb210
Update __tests__/index.spec.js
Apr 9, 2021
11381c5
Remove ios dynamic framework
AliAbdelfattah Apr 9, 2021
9413ed6
Remove Strip Frameworks build phase
AliAbdelfattah Apr 9, 2021
458eb10
Update xcframework reference in RNInstabug.xcodeproj
AliAbdelfattah Apr 9, 2021
eaff9d6
Update xcframework references in package linking files
AliAbdelfattah Apr 9, 2021
10ef1b8
Update CHANGELOG
AliAbdelfattah Apr 21, 2021
44b1ccc
Bump XCode version on iOS CI jobs
AliAbdelfattah Apr 18, 2021
031aece
Bump detox version on InstabugSample
AliAbdelfattah Apr 18, 2021
d05ff2f
Bump circleci node version for test_sample job
AliAbdelfattah Apr 19, 2021
948801e
Install OCMock through pods
AliAbdelfattah Apr 19, 2021
a5ccc2c
Update testing device used in e2e_ios job
AliAbdelfattah Apr 19, 2021
1b82138
Update detox tests to call launchApp as recommended
AliAbdelfattah Apr 19, 2021
9fbd4b2
Remove framework ref addition from autolink script
AliAbdelfattah Apr 18, 2021
cb555be
Add ios xcframework
AliAbdelfattah Apr 9, 2021
67e86ab
Merge pull request #573 from Instabug/fix/xcframework
Apr 21, 2021
72a4177
Merge branch 'rel/10.3.0' into fix/setVideoRecordingFloatingButtonPos…
Apr 21, 2021
d3bf8fc
Merge pull request #560 from Instabug/fix/setVideoRecordingFloatingBu…
Apr 21, 2021
28fa878
Add new API: Replies.showNotificationAndroid
AliAbdelfattah Mar 18, 2021
7d1cdc4
Add tests for Replies.showNotificationAndroid API
ahmed1hisham Apr 15, 2021
914cef0
Update CHANGELOG
AliAbdelfattah Apr 22, 2021
1f7f5e6
Clean up showNotification test
AliAbdelfattah Apr 22, 2021
702e030
Merge pull request #569 from Instabug/hotfix/android-push-notifications
Apr 22, 2021
07f2559
Use npx with react-native scripts
AliAbdelfattah Apr 22, 2021
9bf24c6
Update build.gradle
AliAbdelfattah Apr 26, 2021
0017bc5
Update CHANGELOG
AliAbdelfattah Apr 26, 2021
53dc3dc
Apply native API changes
AliAbdelfattah Apr 26, 2021
f3dd1cf
Apply native namespaces changes
AliAbdelfattah Apr 26, 2021
98d1696
Fix grep commands in android sourcemap upload script
ahmed1hisham Apr 26, 2021
6c6717a
Merge pull request #577 from Instabug/Fix/android-sourcemap-upload
Apr 26, 2021
8ae6f37
Merge pull request #562 from Instabug/dependabot/npm_and_yarn/y18n-3.2.2
Apr 27, 2021
024197a
Merge pull request #561 from Instabug/dependabot/npm_and_yarn/Instabu…
Apr 27, 2021
c648dfc
Merge pull request #575 from Instabug/fix/upload-sourcemap
Apr 28, 2021
134f8d9
Fix detox version
AliAbdelfattah Apr 28, 2021
e7b2b82
Fix Hermes enabled sourcemap generation
ahmed1hisham Apr 29, 2021
d31c934
Merge pull request #578 from Instabug/Fix/android-sourcemap-upload
May 4, 2021
6bd429e
Remove unused Android imports
AliAbdelfattah Apr 29, 2021
545a456
Update Instabug Android sdk version
AliAbdelfattah May 10, 2021
d65431e
Update CHANGELOG
AliAbdelfattah May 10, 2021
45197a9
Bump handlebars from 4.7.6 to 4.7.7
dependabot[bot] May 7, 2021
39b4392
Bump handlebars from 4.7.6 to 4.7.7 in /InstabugSample
dependabot[bot] May 7, 2021
be2fd09
Bump ua-parser-js from 0.7.19 to 0.7.28
dependabot[bot] May 7, 2021
8534e2d
Bump ua-parser-js from 0.7.20 to 0.7.28 in /InstabugSample
dependabot[bot] May 6, 2021
021f508
Bump lodash from 4.17.15 to 4.17.21
dependabot[bot] May 8, 2021
822c7e7
Bump lodash from 4.17.15 to 4.17.21 in /InstabugSample
dependabot[bot] May 8, 2021
00f0d50
Bump hosted-git-info from 2.8.4 to 2.8.9 in /InstabugSample
dependabot[bot] May 10, 2021
f05fff3
Bump hosted-git-info from 2.7.1 to 2.8.9
dependabot[bot] May 10, 2021
530d805
Update CHANGELOG
AliAbdelfattah May 10, 2021
670dbff
Fix TS def in network logger
AliAbdelfattah May 10, 2021
e458429
Merge pull request #592 from Instabug/fix/ts-def-network-logger
May 10, 2021
4bf89cb
Merge branch 'master' into rel/10.4.0
May 10, 2021
32f90e9
Update SampleApp project.pbxproj
AliAbdelfattah May 10, 2021
b55fa79
Update yarn.lock
May 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 15 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
test_sample:
working_directory: ~/project
docker:
- image: circleci/node:8
- image: circleci/node:lts
steps:
- checkout:
path: ~/project
Expand Down Expand Up @@ -91,35 +91,38 @@ jobs:

test_ios:
macos:
xcode: "10.2.0"
working_directory: ~/project/InstabugSample/ios
xcode: "12.3.0"
working_directory: ~/project/InstabugSample
environment:
FL_OUTPUT_DIR: output
steps:
- checkout:
path: ~/project
- run:
name: Install node_modules
command: cd .. && yarn
name: Install CocoaPods
command: sudo gem install cocoapods
- run:
name: Fetch CocoaPods Specs
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
name: Install node_modules
command: yarn
- run:
name: Install CocoaPods
command: pod install
name: Install Pods
command: cd ios && pod install
- run:
name: Build and run tests
command: xcodebuild -workspace InstabugSample.xcworkspace -scheme InstabugSample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=12.2' test | xcpretty
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

e2e_ios:
macos:
xcode: "10.2.0"
xcode: "12.3.0"
working_directory: ~/project/InstabugSample
environment:
FL_OUTPUT_DIR: output
steps:
- checkout:
path: ~/project
- run:
name: Install CocoaPods
command: sudo gem install cocoapods
- run:
name: Install React Native CLI
command: npm install -g react-native-cli
Expand All @@ -133,10 +136,7 @@ jobs:
name: Install Node Packages
command: yarn
- run:
name: Fetch CocoaPods Specs
command: cd ios && curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
- run:
name: Install CocoaPods
name: Install Pods
command: cd ios && pod install
- run:
name: Detox - Build Release App
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## v10.4.0 (2021-05-10)

* Migrates iOS to use XCFramework
* Bumps Instabug native SDKs to v10.4
* Fixes crashes related to the network request data not being parsed correctly
* Fixes issues related to the automatic sourcemap file upload on Android
* Adds missing TypeScript definitions
* Deprecates Instabug.setVideoRecordingFloatingButtonPosition in favor of BugReporting.setVideoRecordingFloatingButtonPosition
* Includes native fix which removes the usage of android:requestLegacyExternalStorage permission
* Various other bug fixes and improvements

## v10.0.0 (2021-02-16)

* Introduces Instabug’s new App Performance Monitoring (APM)
Expand Down
2 changes: 1 addition & 1 deletion InstabugSample/__e2e__/firstTest.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
describe('Example', () => {
beforeEach(async () => {
await device.reloadReactNative();
await device.launchApp();
});

it('should have welcome screen', async () => {
Expand Down
6 changes: 1 addition & 5 deletions InstabugSample/ios/InstabugSample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
BAD36E2F22F19788007F5E74 /* InstabugFeatureRequestsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E2E22F19788007F5E74 /* InstabugFeatureRequestsTests.m */; };
BAD36E3122F19973007F5E74 /* InstabugRepliesTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E3022F19973007F5E74 /* InstabugRepliesTests.m */; };
BAD36E3322F19B1B007F5E74 /* InstabugSurveysTests.m in Sources */ = {isa = PBXBuildFile; fileRef = BAD36E3222F19B1B007F5E74 /* InstabugSurveysTests.m */; };
C006102922E9EBCA00EDC852 /* libOCMock.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C006102822E9EBCA00EDC852 /* libOCMock.a */; };
C0AB369625854A6100F1E21E /* InstabugAPMTests.m in Sources */ = {isa = PBXBuildFile; fileRef = C0AB369525854A6100F1E21E /* InstabugAPMTests.m */; };
/* End PBXBuildFile section */

Expand Down Expand Up @@ -63,7 +62,6 @@
BAD36E2E22F19788007F5E74 /* InstabugFeatureRequestsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugFeatureRequestsTests.m; sourceTree = "<group>"; };
BAD36E3022F19973007F5E74 /* InstabugRepliesTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugRepliesTests.m; sourceTree = "<group>"; };
BAD36E3222F19B1B007F5E74 /* InstabugSurveysTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugSurveysTests.m; sourceTree = "<group>"; };
C006102822E9EBCA00EDC852 /* libOCMock.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libOCMock.a; path = usr/lib/libOCMock.a; sourceTree = "<group>"; };
C0AB369525854A6100F1E21E /* InstabugAPMTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = InstabugAPMTests.m; sourceTree = "<group>"; };
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>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
Expand All @@ -74,7 +72,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
C006102922E9EBCA00EDC852 /* libOCMock.a in Frameworks */,
39B75062AA5F42B6E4C8E3C7 /* libPods-InstabugSampleTests.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -132,7 +129,6 @@
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
isa = PBXGroup;
children = (
C006102822E9EBCA00EDC852 /* libOCMock.a */,
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
A0EF1FBF0176E13B30EA2D29 /* libPods-InstabugSample.a */,
7A03A15E2685C1231729CA8B /* libPods-InstabugSampleTests.a */,
Expand Down Expand Up @@ -350,7 +346,7 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-InstabugSample/Pods-InstabugSample-frameworks.sh",
"${PODS_ROOT}/../../node_modules/instabug-reactnative/ios/Instabug.framework",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/Instabug/Instabug.framework/Instabug",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
Expand Down
1 change: 1 addition & 0 deletions InstabugSample/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ target 'InstabugSample' do
target 'InstabugSampleTests' do
inherit! :search_paths
# Pods for testing
pod 'OCMock'
end

use_native_modules!
Expand Down
Binary file removed InstabugSample/ios/usr/lib/libOCMock.a
Binary file not shown.
6 changes: 3 additions & 3 deletions InstabugSample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@babel/runtime": "^7.5.4",
"@react-native-community/eslint-config": "^0.0.5",
"babel-jest": "^24.8.0",
"detox": "^13.2.0",
"detox": "18.12.0",
"eslint": "^6.0.1",
"jest": "^24.8.0",
"metro-react-native-babel-preset": "^0.55.0",
Expand All @@ -37,13 +37,13 @@
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/InstabugSample.app",
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
"name": "iPhone 12"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/InstabugSample.app",
"build": "xcodebuild -workspace ios/InstabugSample.xcworkspace -scheme InstabugSample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
"name": "iPhone 12"
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
Expand Down
Loading