@logrocket/react-native 1.59.5 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/logrocket/plugins/react/LogRocketNativeModule.java +12 -1
- package/dist/build.js +1 -1
- package/ios/LogRocketNativeModule.m +15 -1
- package/ios/LogRocketNativeModule.xcodeproj/project.xcworkspace/xcuserdata/thomasmeehan.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/LogRocketNativeModule.xcodeproj/xcuserdata/{andrewmogensenlr.xcuserdatad → thomasmeehan.xcuserdatad}/xcschemes/xcschememanagement.plist +8 -0
- package/ios/LogRocketNativeModule.xcworkspace/xcuserdata/thomasmeehan.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/LogRocketNativeModule.xcworkspace/xcuserdata/thomasmeehan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +266 -0
- package/logrocket-react-native.podspec +1 -1
- package/package.json +17 -17
- package/ios/LogRocketNativeModule.xcworkspace/xcuserdata/andrewmogensenlr.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
package/android/build.gradle
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
def DEFAULT_COMPILE_SDK_VERSION = 33
|
|
14
14
|
def DEFAULT_MIN_SDK_VERSION = 25
|
|
15
15
|
def DEFAULT_TARGET_SDK_VERSION = 31
|
|
16
|
-
def SDK_VERSION = "1.
|
|
16
|
+
def SDK_VERSION = "1.60.0"
|
|
17
17
|
|
|
18
18
|
def PACKAGE_ROOT_DIR = rootProject.name == 'LogRocket SDK' ? "$rootDir/../packages/@logrocket/react-native" : "$rootDir/..";
|
|
19
19
|
|
|
@@ -168,13 +168,24 @@ public class LogRocketNativeModule extends ReactContextBaseJavaModule {
|
|
|
168
168
|
@ReactMethod
|
|
169
169
|
public void shutdown() {
|
|
170
170
|
try {
|
|
171
|
-
SDK.
|
|
171
|
+
SDK.shutdown();
|
|
172
172
|
} catch (Throwable th) {
|
|
173
173
|
this.logger.error("Error while shutting down", th);
|
|
174
174
|
TelemetryReporter.sendErrorTelemetry(th);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
@Keep
|
|
179
|
+
@ReactMethod
|
|
180
|
+
public void endSession() {
|
|
181
|
+
try {
|
|
182
|
+
SDK.endSession();
|
|
183
|
+
} catch (Throwable th) {
|
|
184
|
+
this.logger.error("Error while ending session", th);
|
|
185
|
+
TelemetryReporter.sendErrorTelemetry(th);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
178
189
|
@Keep
|
|
179
190
|
@ReactMethod
|
|
180
191
|
public void track(String customEventName, ReadableMap eventProperties) {
|