-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
There are a couple of things that are fragile about the RN Android environment right now. There has been some work put into RN iOS to be more forgiving about errors and bad inputs while still telling developers about the problems. A few things I've noticed that RN iOS does well that Android currently doesn't do:
- When there is a redbox, the app continues to function. On Android, the Java React instance is destroyed.
- You can provide custom handlers for soft and fatal JS exceptions. So if you wanted to ignore errors you could, or you could reconstruct the native React instance and do a soft reboot of the app.
- When arguments to native methods are of the wrong type, iOS doesn't invoke the method and skips over it: e9c7ebf
- On Android there's a great opportunity for reliability by catching all Java exceptions instead of crashing
cc @mkonicek
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.