* Changes error/redbox into warning/yellowbox. So wouldn't crash production releases * Warning added actual error, useful for debugging bad JS injected into webview * callback runs, whether there's error or not. As used in my app (https://medium.com/wonderswipe/rethink-mobile-search-10-100x-faster-introducing-wonderswipe-6f2ff0d0e6) which injects JS into sanitized html from the wild, small error in injected JS doesn't warrant the whole JS payload from being injected/run
|
|
||
795 |
|
795 |
|
796 |
|
796 |
|
797 |
|
797 |
|
798 |
|
|
|
799 |
|
|
|
800 |
|
|
|
801 |
|
|
|
802 |
|
|
|
803 |
|
|
|
|
798 |
|
|
|
799 |
|
|
|
800 |
|
|
|
801 |
|
|
|
802 |
|
|
804 |
|
803 |
|
805 |
|
804 |
|
806 |
|
805 |
|