Skip to content

Commit 9f7fd9f

Browse files
fix: call SDK start method instead of plugin start method for iOS
1 parent efe7caf commit 9f7fd9f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
**Expo**
88
- Added support for Expo SDK 53.
99

10+
**Core**
11+
- Fixed an issue where opting the SDK after been opted-out would unexpectedly reset default configurations, such as Do Not Disturb setting.
12+
1013

1114
10.0.1
1215
----

ios/RNBatch.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ - (NSDictionary*)getConstants {
119119
{
120120
[BatchSDK optIn];
121121
dispatch_async(dispatch_get_main_queue(), ^{
122-
[RNBatch start];
122+
[BatchSDK start];
123123
});
124124
resolve([NSNull null]);
125125
}

0 commit comments

Comments
 (0)