File tree Expand file tree Collapse file tree 8 files changed +38
-9
lines changed Expand file tree Collapse file tree 8 files changed +38
-9
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ android/gradlew.bat
78
78
** /ios /ServiceDefinitions.json
79
79
** /ios /Runner /GeneratedPluginRegistrant. *
80
80
81
+ # Project specific
82
+ /PRDs /
83
+
81
84
# Exceptions to above rules.
82
85
! ** /ios /** /default.mode1v3
83
86
! ** /ios /** /default.mode2v3
Original file line number Diff line number Diff line change @@ -39,3 +39,6 @@ app.*.symbols
39
39
40
40
# Obfuscation related
41
41
app. * .map.json
42
+
43
+ # Android related
44
+ /android /app /.cxx /
Original file line number Diff line number Diff line change @@ -611,4 +611,22 @@ - (void)testisW3CFeatureFlagsEnabled {
611
611
612
612
}
613
613
614
+ - (void )testGetNetworkBodyMaxSize {
615
+ id mock = OCMClassMock ([IBGNetworkLogger class ]);
616
+ double expectedValue = 10240.0 ;
617
+
618
+ OCMStub ([mock getNetworkBodyMaxSize ]).andReturn (expectedValue);
619
+
620
+ XCTestExpectation *expectation = [self expectationWithDescription: @" Call resolve block" ];
621
+ RCTPromiseResolveBlock resolve = ^(NSNumber *result) {
622
+ XCTAssertEqual (result.doubleValue , expectedValue);
623
+ [expectation fulfill ];
624
+ };
625
+
626
+ [self .instabugBridge getNetworkBodyMaxSize: resolve :nil ];
627
+ [self waitForExpectationsWithTimeout: 1.0 handler: nil ];
628
+
629
+ OCMVerify (ClassMethod ([mock getNetworkBodyMaxSize ]));
630
+ }
631
+
614
632
@end
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ target 'Runner' do
30
30
31
31
use_frameworks!
32
32
use_modular_headers!
33
- pod 'Instabug' , :podspec => 'https://ios-releases.instabug.com/custom/fix-main-thread-warning /15.0.0 /Instabug.podspec'
33
+ pod 'Instabug' , :podspec => 'https://ios-releases.instabug.com/custom/feature-expose_network_limit-expose_body_limit /15.0.1 /Instabug.podspec'
34
34
35
35
flutter_install_all_ios_pods File . dirname ( File . realpath ( __FILE__ ) )
36
36
end
Original file line number Diff line number Diff line change 1
1
PODS:
2
2
- Flutter (1.0.0)
3
- - Instabug (15.0.0 )
3
+ - Instabug (15.0.1 )
4
4
- instabug_flutter (14.3.0):
5
5
- Flutter
6
- - Instabug (= 15.0.0)
7
6
- OCMock (3.6)
8
7
9
8
DEPENDENCIES:
10
9
- Flutter (from `Flutter`)
11
- - Instabug (from `https://ios-releases.instabug.com/custom/fix-main-thread-warning /15.0.0 /Instabug.podspec`)
10
+ - Instabug (from `https://ios-releases.instabug.com/custom/feature-expose_network_limit-expose_body_limit /15.0.1 /Instabug.podspec`)
12
11
- instabug_flutter (from `.symlinks/plugins/instabug_flutter/ios`)
13
12
- OCMock (= 3.6)
14
13
@@ -20,16 +19,16 @@ EXTERNAL SOURCES:
20
19
Flutter:
21
20
:path: Flutter
22
21
Instabug:
23
- :podspec: https://ios-releases.instabug.com/custom/fix-main-thread-warning /15.0.0 /Instabug.podspec
22
+ :podspec: https://ios-releases.instabug.com/custom/feature-expose_network_limit-expose_body_limit /15.0.1 /Instabug.podspec
24
23
instabug_flutter:
25
24
:path: ".symlinks/plugins/instabug_flutter/ios"
26
25
27
26
SPEC CHECKSUMS:
28
27
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
29
- Instabug: 3b1db5a683e85ec5a02946aa2b3314036f9022be
30
- instabug_flutter: e59da7a0cae82ce00b2773625ee544c275442000
28
+ Instabug: ba6587d15ad5e3ffa265afc8174ff83af4eed29d
29
+ instabug_flutter: 4fff4189287934eb3677f72edb0604eeed643980
31
30
OCMock: 5ea90566be239f179ba766fd9fbae5885040b992
32
31
33
- PODFILE CHECKSUM: c16418947581b888c337ed7ff120a59b4b5f3f3f
32
+ PODFILE CHECKSUM: cb4e58e3fdd6b7eb6b2fa2288c84d8a46b98b309
34
33
35
34
COCOAPODS: 1.16.2
Original file line number Diff line number Diff line change @@ -396,4 +396,9 @@ - (void)setNetworkLogBodyEnabledIsEnabled:(NSNumber *)isEnabled
396
396
IBGNetworkLogger.logBodyEnabled = [isEnabled boolValue ];
397
397
}
398
398
399
+ - (void )getNetworkBodyMaxSizeWithCompletion : (nonnull void (^)(NSNumber * _Nullable, FlutterError * _Nullable))completion {
400
+ completion (@(IBGNetworkLogger.getNetworkBodyMaxSize ), nil );
401
+ }
402
+
403
+
399
404
@end
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ NS_ASSUME_NONNULL_BEGIN
49
49
duration : (int64_t ) duration
50
50
gqlQueryName : (NSString * _Nullable)gqlQueryName ;
51
51
52
+ + (double )getNetworkBodyMaxSize ;
53
+
52
54
@end
53
55
54
56
NS_ASSUME_NONNULL_END
Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ Pod::Spec.new do |s|
17
17
s . pod_target_xcconfig = { 'OTHER_LDFLAGS' => '-framework "Flutter" -framework "InstabugSDK"' }
18
18
19
19
s . dependency 'Flutter'
20
- s . dependency 'Instabug' , '15.0.0'
21
20
end
22
21
You can’t perform that action at this time.
0 commit comments