[TIMOB-14135] Android: Allow customization for JS error popups
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-06-06T22:32:21.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | 2013 Sprint 12 API |
Components | Android |
Labels | n/a |
Reporter | Matt Langston |
Assignee | Allen Yeung |
Created | 2013-06-06T00:37:17.000+0000 |
Updated | 2013-11-07T22:17:28.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
android_device_production.png | 2013-06-06T18:57:34.000+0000 | 246689 |
android_device_test.png | 2013-06-06T18:57:34.000+0000 | 233968 |
iOS_device_production.png | 2013-06-06T18:57:34.000+0000 | 877642 |
iOS_device_test.png | 2013-06-06T18:57:34.000+0000 | 75992 |
I can't reproduce this bug. The dialog is always disabled for me in production. If you wanted to overwrite this and use your own custom dialog, you could create a module that overwrites the primary exception handler (which is responsible for the JS error dialog). You can reference https://github.com/appcelerator/titanium_mobile/blob/master/android/runtime/common/src/java/org/appcelerator/kroll/KrollExceptionHandler.java for and example.
Tested with: Appcelerator Studio, build: 3.1.1.201306041845 Titanium SDK, build: 3.1.1.v20130605141849 Mac osx 10.8.3 Mountail Lion CLI: 3.1.1-cr Devices: Nexus 7 Android version 4.2 GalaxyS4 Android version 4.2.2 iPhone 5 iOS 6.1.4 iPad mini iOS 6.0 I provided screen shots, there is no runtime error in production.
Closing as invalid.