Skip to content

Commit 6c6a9e0

Browse files
Merge pull request #1446 from Instabug/fix/conflict-with-health-dependancy
fix: conflict with RN-health dependency
2 parents 2b32f5c + 6743e69 commit 6c6a9e0

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [Unreleased](https://github.com/Instabug/Instabug-React-Native/compare/v15.0.2...dev)
3+
## [16.0.0](https://github.com/Instabug/Instabug-React-Native/compare/v15.0.3...dev)
44

55
### Added
66

@@ -24,6 +24,12 @@
2424

2525
- Masking private views on newer React native Versions ([#1403](https://github.com/Instabug/Instabug-React-Native/pull/1403))
2626

27+
## [15.0.3](https://github.com/Instabug/Instabug-React-Native/compare/v15.0.3...dev) (August 22, 2025)
28+
29+
### Changed
30+
31+
- Bump Instabug iOS SDK to v15.1.2 ([#1440](https://github.com/Instabug/Instabug-React-Native/pull/1440)). [See release notes](https://github.com/Instabug/Instabug-iOS/releases/tag/15.1.2).
32+
2733
## [15.0.2](https://github.com/Instabug/Instabug-React-Native/compare/v15.2.0...dev)
2834

2935
### Added

ios/RNInstabug/InstabugNetworkLoggerBridge.m

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,25 @@ + (BOOL)requiresMainQueueSetup
5353
}
5454
RCT_EXPORT_MODULE(IBGNetworkLogger)
5555

56-
bool hasListeners = NO;
56+
bool ibg_hasListeners = NO;
5757

5858

5959

6060
// Will be called when this module's first listener is added.
6161
-(void)startObserving {
62-
hasListeners = YES;
62+
ibg_hasListeners = YES;
6363
// Set up any upstream listeners or background tasks as necessary
6464
}
6565

6666
// Will be called when this module's last listener is removed, or on dealloc.
6767
-(void)stopObserving {
68-
hasListeners = NO;
68+
ibg_hasListeners = NO;
6969
// Remove upstream listeners, stop unnecessary background tasks
7070
}
7171

7272
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(isNativeInterceptionEnabled) {
7373
return @(IBGNetworkLogger.isNativeNetworkInterceptionFeatureEnabled);
74-
}
74+
}
7575

7676

7777

@@ -114,7 +114,7 @@ -(void)stopObserving {
114114

115115
// Initialize the NSMutableURLRequest
116116
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:requestURL];
117-
117+
118118
// Set the HTTP body if provided
119119
if (requestBody && [requestBody isKindOfClass:[NSString class]]) {
120120
request.HTTPBody = [requestBody dataUsingEncoding:NSUTF8StringEncoding];
@@ -157,7 +157,7 @@ - (void)setupRequestFilteringHandler {
157157
self.requestFilteringCompletionDictionary[callbackID] = completion;
158158

159159
NSDictionary *dict = [self createNetworkRequestDictForRequest:request callbackID:callbackID];
160-
if(hasListeners){
160+
if(ibg_hasListeners){
161161
[self sendEventWithName:@"IBGNetworkLoggerHandler" body:dict];
162162
}
163163

@@ -172,7 +172,7 @@ - (void)setupRequestObfuscationHandler {
172172

173173

174174
NSDictionary *dict = [self createNetworkRequestDictForRequest:request callbackID:callbackID];
175-
if (hasListeners) {
175+
if (ibg_hasListeners) {
176176
[self sendEventWithName:@"IBGNetworkLoggerHandler" body:dict];
177177
}
178178

0 commit comments

Comments
 (0)