Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async nativeCrash() {
// In Android debug or non app store environment for iOS.
await Crashes.generateTestCrash();
// If the SDK disabled the test crash, use this one.
await NativeModules.DemoAppNative.generateTestCrash();
}
async nativeCrash() {
// In Android debug or non app store environment for iOS.
await Crashes.generateTestCrash();
// If the SDK disabled the test crash, use this one.
await NativeModules.TestAppNative.generateTestCrash();
}
[{ text: "Cancel" }, { text: "Crash App", onPress: () => Crashes.generateTestCrash() }],
{ cancelable: false }
nativeCrash() {
Crashes.generateTestCrash();
}
nativeCrash() {
Crashes.generateTestCrash();
}
nativeCrash() {
Crashes.generateTestCrash();
}
nativeCrash() {
Crashes.generateTestCrash();
}