From 0f61a2f90f911334a5a1c87f3f895acd8efa688d Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Fri, 6 Sep 2024 19:55:54 +0200 Subject: [PATCH] Add visionOS support (#194) --- RNLiveMarkdown.podspec | 2 +- ios/RCTMarkdownStyle.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/RNLiveMarkdown.podspec b/RNLiveMarkdown.podspec index 51aa3ea8..a22f0de0 100644 --- a/RNLiveMarkdown.podspec +++ b/RNLiveMarkdown.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |s| s.license = package["license"] s.authors = package["author"] - s.platforms = { :ios => "11.0" } + s.platforms = { :ios => "11.0", :visionos => "1.0" } s.source = { :git => "https://github.com/expensify/react-native-live-markdown.git", :tag => "#{s.version}" } s.source_files = "ios/**/*.{h,m,mm}" diff --git a/ios/RCTMarkdownStyle.h b/ios/RCTMarkdownStyle.h index dc41a369..75a27f16 100644 --- a/ios/RCTMarkdownStyle.h +++ b/ios/RCTMarkdownStyle.h @@ -1,3 +1,5 @@ +#import + #ifdef RCT_NEW_ARCH_ENABLED #import #endif /* RCT_NEW_ARCH_ENABLED */