From 65935b773ce414227e6c9751c543f832884bd319 Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Sat, 16 Nov 2024 18:00:47 +0100 Subject: [PATCH] fix: mock `nativeID` to pass iOS unit tests --- .../KeyboardControllerNative/Extension+UIView.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/KeyboardControllerNative/KeyboardControllerNative/Extension+UIView.swift b/ios/KeyboardControllerNative/KeyboardControllerNative/Extension+UIView.swift index ee010d42a..fcb3f8b2a 100644 --- a/ios/KeyboardControllerNative/KeyboardControllerNative/Extension+UIView.swift +++ b/ios/KeyboardControllerNative/KeyboardControllerNative/Extension+UIView.swift @@ -12,4 +12,8 @@ public extension UIView { var reactTag: NSNumber { return tag as NSNumber } + + var nativeID: String { + return accessibilityIdentifier ?? "" + } }