(config: SnapshotOptions)
| 100 | } |
| 101 | }, |
| 102 | async takeSnapshot(config: SnapshotOptions) { |
| 103 | if (fabricRef.current) { |
| 104 | return NativeAirMapsModule.takeSnapshot(node, JSON.stringify(config)); |
| 105 | } else { |
| 106 | throw new Error('takeSnapshot is only supported on iOS with Fabric.'); |
| 107 | } |
| 108 | }, |
| 109 | async getCamera() { |
| 110 | if (fabricRef.current) { |
| 111 | return NativeAirMapsModule.getCamera(node); |
nothing calls this directly
no test coverage detected
searching dependent graphs…