Skip to content

Commit cc208f1

Browse files
authored
Merge pull request #190 from Instabug/release/10.8
[MOB-5607] Release/10.0
2 parents 712eb13 + 5a37417 commit cc208f1

File tree

9 files changed

+22
-12
lines changed

9 files changed

+22
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v10.0.0 (2021-08-04)
2+
3+
* Bumps Instabug native SDKs to v10.8
4+
15
## v9.2.0 (2021-08-02)
26

37
* Adds null safety support.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ android {
3434
}
3535
}
3636
dependencies {
37-
implementation 'com.instabug.library:instabug:9.1.8.2'
37+
implementation 'com.instabug.library:instabug:10.8.1'
3838
testImplementation 'junit:junit:4.12'
3939
}

android/src/main/java/com/instabug/instabugflutter/InstabugFlutterPlugin.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
import com.instabug.library.model.NetworkLog;
2626
import com.instabug.library.ui.onboarding.WelcomeMessage;
2727
import com.instabug.library.visualusersteps.State;
28-
import com.instabug.survey.OnDismissCallback;
29-
import com.instabug.survey.OnShowCallback;
28+
import com.instabug.survey.callbacks.*;
3029
import com.instabug.survey.Survey;
3130
import com.instabug.survey.Surveys;
31+
import com.instabug.apm.APM;
3232

3333
import org.json.JSONException;
3434
import org.json.JSONObject;
@@ -137,6 +137,9 @@ public void start(Application application, String token, ArrayList<String> invoc
137137
}
138138
new Instabug.Builder(application, token).setInvocationEvents(invocationEventsArray).build();
139139
enableScreenShotByMediaProjection();
140+
141+
// Temporarily disabling APM
142+
APM.setEnabled(false);
140143
}
141144

142145
/**

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- Instabug (9.1.7)
3+
- Instabug (10.8.0)
44
- instabug_flutter (0.0.1):
55
- Flutter
6-
- Instabug (= 9.1.7)
6+
- Instabug (= 10.8.0)
77
- OCMock (3.6)
88

99
DEPENDENCIES:
@@ -24,8 +24,8 @@ EXTERNAL SOURCES:
2424

2525
SPEC CHECKSUMS:
2626
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
27-
Instabug: 28838c071edc50e4f13800e6877645d3b328aab9
28-
instabug_flutter: 65794e9f82acebde599e56cc6a2e74a17b69410e
27+
Instabug: e40852b1ed4a080e32442b189808ddefcd07701d
28+
instabug_flutter: c4d9d3a2e60e766ab9837055e8c1011f51eb4200
2929
OCMock: 5ea90566be239f179ba766fd9fbae5885040b992
3030

3131
PODFILE CHECKSUM: 082ec096394aa5e2e9254f7b7845847607911bda

example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ios/Classes/InstabugFlutterPlugin.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#import "InstabugFlutterPlugin.h"
22
#import "Instabug.h"
3+
#import "IBGAPM.h"
34

45
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:((float)((rgbValue & 0xFF000000) >> 24))/255.0 ];
56

@@ -76,6 +77,9 @@ + (void)startWithToken:(NSString *)token invocationEvents:(NSArray*)invocationEv
7677
invocationEvents = IBGInvocationEventNone;
7778
}
7879
[Instabug startWithToken:token invocationEvents:invocationEvents];
80+
81+
// Temporarily disabling APM
82+
IBGAPM.enabled = NO;
7983
}
8084

8185
/**

ios/instabug_flutter.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A new flutter plugin project.
1515
s.source_files = 'Classes/**/*'
1616
s.public_header_files = 'Classes/**/*.h'
1717
s.dependency 'Flutter'
18-
s.dependency 'Instabug', '9.1.7'
18+
s.dependency 'Instabug', '10.8.0'
1919

2020
s.ios.deployment_target = '10.0'
2121
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-framework "Flutter" -framework "Instabug"'}

lib/utils/platform_manager.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import 'dart:io';
32

43
class PlatformManager {
@@ -12,4 +11,4 @@ class PlatformManager {
1211

1312
bool isAndroid() => Platform.isAndroid;
1413
bool isIOS() => Platform.isIOS;
15-
}
14+
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: instabug_flutter
2-
version: 9.2.0
2+
version: 10.0.0
33
description: >-
44
Deliver the best user experience through a comprehensive platform that will
55
help you uncover, analyze and fix any app performance, quality or stability issues.

0 commit comments

Comments
 (0)