Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [15.0.3](https://github.com/Instabug/Instabug-React-Native/compare/v15.0.3...dev) (August 22, 2025)

### Changed

- 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).

## [15.0.2](https://github.com/Instabug/Instabug-React-Native/compare/v15.2.0...dev)

### Added
Expand Down
10 changes: 5 additions & 5 deletions examples/default/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PODS:
- hermes-engine (0.75.4):
- hermes-engine/Pre-built (= 0.75.4)
- hermes-engine/Pre-built (0.75.4)
- Instabug (15.1.1)
- Instabug (15.1.2)
- instabug-reactnative-ndk (0.1.0):
- DoubleConversion
- glog
Expand Down Expand Up @@ -1625,8 +1625,8 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- RNInstabug (15.0.2):
- Instabug (= 15.1.1)
- RNInstabug (15.0.3):
- Instabug (= 15.1.2)
- React-Core
- RNReanimated (3.16.1):
- DoubleConversion
Expand Down Expand Up @@ -2022,7 +2022,7 @@ SPEC CHECKSUMS:
Google-Maps-iOS-Utils: f77eab4c4326d7e6a277f8e23a0232402731913a
GoogleMaps: 032f676450ba0779bd8ce16840690915f84e57ac
hermes-engine: ea92f60f37dba025e293cbe4b4a548fd26b610a0
Instabug: 3e7af445c14d7823fcdecba223f09b5f7c0c6ce1
Instabug: af6e48d92b0552606c222d7e1dfcbec5deb01d38
instabug-reactnative-ndk: d765ac289d56e8896398d02760d9abf2562fc641
OCMock: 589f2c84dacb1f5aaf6e4cec1f292551fe748e74
RCT-Folly: 4464f4d875961fce86008d45f4ecf6cef6de0740
Expand Down Expand Up @@ -2090,7 +2090,7 @@ SPEC CHECKSUMS:
ReactCommon: 6a952e50c2a4b694731d7682aaa6c79bc156e4ad
RNCClipboard: 2821ac938ef46f736a8de0c8814845dde2dcbdfb
RNGestureHandler: 511250b190a284388f9dd0d2e56c1df76f14cfb8
RNInstabug: c4d26c830b40c474422012d1a216d8ea37c88151
RNInstabug: f798428f1d623cc0095efda8638c4911148db547
RNReanimated: f42a5044d121d68e91680caacb0293f4274228eb
RNScreens: c7ceced6a8384cb9be5e7a5e88e9e714401fd958
RNSVG: 8b1a777d54096b8c2a0fd38fc9d5a454332bbb4d
Expand Down
14 changes: 7 additions & 7 deletions ios/RNInstabug/InstabugNetworkLoggerBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,25 @@ + (BOOL)requiresMainQueueSetup
}
RCT_EXPORT_MODULE(IBGNetworkLogger)

bool hasListeners = NO;
bool ibg_hasListeners = NO;



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

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

RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(isNativeInterceptionEnabled) {
return @(IBGNetworkLogger.isNativeNetworkInterceptionFeatureEnabled);
}
}



Expand Down Expand Up @@ -114,7 +114,7 @@ -(void)stopObserving {

// Initialize the NSMutableURLRequest
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:requestURL];

// Set the HTTP body if provided
if (requestBody && [requestBody isKindOfClass:[NSString class]]) {
request.HTTPBody = [requestBody dataUsingEncoding:NSUTF8StringEncoding];
Expand Down Expand Up @@ -157,7 +157,7 @@ - (void)setupRequestFilteringHandler {
self.requestFilteringCompletionDictionary[callbackID] = completion;

NSDictionary *dict = [self createNetworkRequestDictForRequest:request callbackID:callbackID];
if(hasListeners){
if(ibg_hasListeners){
[self sendEventWithName:@"IBGNetworkLoggerHandler" body:dict];
}

Expand All @@ -172,7 +172,7 @@ - (void)setupRequestObfuscationHandler {


NSDictionary *dict = [self createNetworkRequestDictForRequest:request callbackID:callbackID];
if (hasListeners) {
if (ibg_hasListeners) {
[self sendEventWithName:@"IBGNetworkLoggerHandler" body:dict];
}

Expand Down
2 changes: 1 addition & 1 deletion ios/native.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$instabug = { :version => '15.1.1' }
$instabug = { :version => '15.1.2' }

def use_instabug! (spec = nil)
version = $instabug[:version]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "instabug-reactnative",
"description": "React Native plugin for integrating the Instabug SDK",
"version": "15.0.2",
"version": "15.0.3",
"author": "Instabug (https://instabug.com)",
"repository": "github:Instabug/Instabug-React-Native",
"homepage": "https://www.instabug.com/platforms/react-native",
Expand Down