Skip to content

Commit bd1b27b

Browse files
authored
Merge pull request #523 from Kudo/fix-expo-go-integration
Fix some build errors from expo go integration
2 parents 4766ee9 + 8c42a6c commit bd1b27b

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

package/cpp/api/JsiSkVertices.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#include <utility>
55
#include <jsi/jsi.h>
66

7-
#include <jsi/jsi.h>
8-
97
#include "JsiSkHostObjects.h"
108

119
#pragma clang diagnostic push

package/cpp/rnskia/values/RNSkValue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class RNSkValue : public RNSkReadonlyValue
4343
unsubscribe();
4444

4545
// Verify input
46-
if(value.isObject() && value.asObject(runtime).isHostObject(runtime)) {
46+
if(value.isObject() && value.asObject(runtime).isHostObject<RNSkAnimation>(runtime)) {
4747
auto animation = value.asObject(runtime).getHostObject<RNSkAnimation>(runtime);
4848
if(animation != nullptr) {
4949
// Now we have a value animation - let us connect and start

package/ios/RNSkia-iOS/PlatformContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#import "RCTBridge.h"
3+
#import <React/RCTBridge.h>
44

55
#include <functional>
66
#include <memory>

package/ios/RNSkia-iOS/SkiaDrawView.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "RCTBridge.h"
1+
#import <React/RCTBridge.h>
22

33
#import <SkiaDrawView.h>
44

0 commit comments

Comments
 (0)