From f346521609245473c0df1d8f4b0fd8c7d4186437 Mon Sep 17 00:00:00 2001 From: dojolew Date: Fri, 15 Dec 2023 13:27:46 +0000 Subject: [PATCH 1/2] fix: capture default view events --- ios/RiveReactNativeView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RiveReactNativeView.swift b/ios/RiveReactNativeView.swift index 92d15b8..445f07f 100644 --- a/ios/RiveReactNativeView.swift +++ b/ios/RiveReactNativeView.swift @@ -1,7 +1,7 @@ import UIKit import RiveRuntime -class RiveReactNativeView: UIView, RivePlayerDelegate, RiveStateMachineDelegate { +class RiveReactNativeView: RCTView, RivePlayerDelegate, RiveStateMachineDelegate { // MARK: RiveReactNativeView Properties private var resourceFromBundle = true private var requiresLocalResourceReconfigure = false From 5086b3e694c4fd2e1c869a108ad14c71e377a08c Mon Sep 17 00:00:00 2001 From: Lewis Yearsley Date: Tue, 19 Dec 2023 11:32:10 +0000 Subject: [PATCH 2/2] fix: missing import --- ios/RiveReactNative-Bridging-Header.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/RiveReactNative-Bridging-Header.h b/ios/RiveReactNative-Bridging-Header.h index 5a2bb3f..373b1d7 100644 --- a/ios/RiveReactNative-Bridging-Header.h +++ b/ios/RiveReactNative-Bridging-Header.h @@ -4,5 +4,6 @@ #import "React/RCTUIManager.h" #import #import "React/RCTExceptionsManager.h" +#import