@shopify/react-native-skia 1.3.9 → 1.3.10
Sign up to get free protection for your applications and to get access to all the features.
- package/ios/RNSkiaModule.mm +5 -3
- package/package.json +1 -1
package/ios/RNSkiaModule.mm
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
}
|
10
10
|
|
11
11
|
RCT_EXPORT_MODULE()
|
12
|
+
@synthesize bridge = _bridge;
|
12
13
|
|
13
14
|
#pragma Accessors
|
14
15
|
|
@@ -34,11 +35,12 @@ RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(install) {
|
|
34
35
|
// Already initialized, ignore call.
|
35
36
|
return @true;
|
36
37
|
}
|
37
|
-
|
38
|
+
RCTCxxBridge *cxxBridge = (RCTCxxBridge *)self.bridge;
|
38
39
|
if (!jsInvoker) {
|
39
|
-
jsInvoker =
|
40
|
+
jsInvoker = cxxBridge.jsCallInvoker;
|
40
41
|
}
|
41
|
-
skiaManager = [[SkiaManager alloc] initWithBridge:
|
42
|
+
skiaManager = [[SkiaManager alloc] initWithBridge:cxxBridge
|
43
|
+
jsInvoker:jsInvoker];
|
42
44
|
return @true;
|
43
45
|
}
|
44
46
|
|
package/package.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"setup-skia-web": "./scripts/setup-canvaskit.js"
|
8
8
|
},
|
9
9
|
"title": "React Native Skia",
|
10
|
-
"version": "1.3.
|
10
|
+
"version": "1.3.10",
|
11
11
|
"description": "High-performance React Native Graphics using Skia",
|
12
12
|
"main": "lib/module/index.js",
|
13
13
|
"react-native": "src/index.ts",
|