@logrocket/react-native 1.62.0 → 2.0.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 +4 -0
- package/ios/LogRocketNativeModule.xcodeproj/project.xcworkspace/xcuserdata/samweber.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/LogRocketNativeModule.xcworkspace/xcuserdata/samweber.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/logrocket-react-native.podspec +1 -1
- package/package.json +1 -1
- package/types.d.ts +4 -0
- package/ios/LogRocketNativeModule.xcworkspace/xcuserdata/andrewmogensenlr.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- /package/ios/LogRocketNativeModule.xcodeproj/xcuserdata/{andrewmogensenlr.xcuserdatad → samweber.xcuserdatad}/xcschemes/xcschememanagement.plist +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 = "
|
|
16
|
+
def SDK_VERSION = "2.0.0"
|
|
17
17
|
|
|
18
18
|
def PACKAGE_ROOT_DIR = rootProject.name == 'LogRocket SDK' ? "$rootDir/../packages/@logrocket/react-native" : "$rootDir/..";
|
|
19
19
|
|
|
@@ -492,6 +492,10 @@ public class LogRocketNativeModule extends ReactContextBaseJavaModule {
|
|
|
492
492
|
if (config.hasKey("maxCapturedAndroidApiLevel")) {
|
|
493
493
|
options.setMaxCapturedAndroidApiLevel(config.getInt("maxCapturedAndroidApiLevel"));
|
|
494
494
|
}
|
|
495
|
+
|
|
496
|
+
if (config.hasKey("enableViewCaptureV2")) {
|
|
497
|
+
options.setEnableViewCaptureV2(config.getBoolean("enableViewCaptureV2"));
|
|
498
|
+
}
|
|
495
499
|
};
|
|
496
500
|
}
|
|
497
501
|
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -114,6 +114,10 @@ interface IOptions {
|
|
|
114
114
|
* Defualts to 20 milliseconds.
|
|
115
115
|
*/
|
|
116
116
|
viewCaptureAdditionalWireframeDuration?: number;
|
|
117
|
+
/**
|
|
118
|
+
* Controls whether the new view capture system is enabled. Note that this currently only supported on Android.
|
|
119
|
+
*/
|
|
120
|
+
enableViewCaptureV2?: boolean;
|
|
117
121
|
/**
|
|
118
122
|
* Controls whether the LogRocket SDK will automatically capture native iOS logs.
|
|
119
123
|
* Native logs are not captured on Android. This does not affect the capture of console logs.
|
|
Binary file
|