Skip to content

Commit b882cc5

Browse files
committed
chore: crash example options
1 parent 5d6a54c commit b882cc5

File tree

2 files changed

+6784
-5
lines changed

2 files changed

+6784
-5
lines changed

app/main-view-model.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ export class HelloWorldModel extends Observable {
3232

3333
// Test B: Test Native crash
3434
// comment test a above and uncomment below
35-
if (__ANDROID__) {
36-
const crash = new java.lang.String(null);
37-
} else if (__APPLE__) {
38-
const crash = NSString.stringWithString(null);
39-
}
35+
// if (__ANDROID__) {
36+
// const crash = new java.lang.String(null);
37+
// } else if (__APPLE__) {
38+
// const crash = NSString.stringWithString(null);
39+
// }
4040
}
4141

4242
private updateMessage() {

0 commit comments

Comments
 (0)