ericwlange / AndroidJSCore

AndroidJSCore allows Android developers to use JavaScript natively in their apps.
468 stars 78 forks source link

ExceptionHandler AndroidJSCore #11

Closed krudos closed 8 years ago

krudos commented 8 years ago

in ios you can write

JSContext* context = [[JSContext alloc] initWithVirtualMachine:[[JSVirtualMachine alloc] init]]; [ context setExceptionHandler:^(JSContext context, JSValue value) { NSLog(@"%@", value); }];

it there a way to have ExceptionHandler in android

ericwlange commented 8 years ago

Hi please see this closed issue:

https://github.com/ericwlange/AndroidJSCore/issues/7

I have added the functionality in 2.1.

On Friday, February 26, 2016, krudos notifications@github.com wrote:

in ios you can write

JSContext* context = [[JSContext alloc] initWithVirtualMachine:[[JSVirtualMachine alloc] init]]; [ context setExceptionHandler:^(JSContext context, JSValue value) { NSLog(@"%@", value); }];

it there a way to have ExceptionHandler in android

— Reply to this email directly or view it on GitHub https://github.com/ericwlange/AndroidJSCore/issues/11.