fix: Throw JS errors if JSI <-> JNI conversion failed (#324)

This commit is contained in:
Marc Rousavy
2021-08-05 10:10:49 +02:00
committed by GitHub
parent 25ab5382c1
commit 1c32726ef6
2 changed files with 9 additions and 7 deletions

View File

@@ -39,8 +39,8 @@ Similar to a TurboModule, the Frame Processor Plugin Registry API automatically
| `number` | `NSNumber*` (double) | `Double` |
| `boolean` | `NSNumber*` (boolean) | `Boolean` |
| `string` | `NSString*` | `String` |
| `[]` | `NSArray*` | `ArrayList<E>` |
| `{}` | `NSDictionary*` | `HashMap<K, V>` |
| `[]` | `NSArray*` | `ReadableNativeArray` |
| `{}` | `NSDictionary*` | `ReadableNativeMap` |
| `undefined` / `null` | `nil` | `null` |
| `(any, any) => void` | [`RCTResponseSenderBlock`][4] | `(Object, Object) -> void` |
| [`Frame`][1] | [`Frame*`][2] | [`ImageProxy`][3] |