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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy