agoldis / react-native-mlkit-ocr

Google on-device MLKit Text Recognition for React Native
MIT License
172 stars 39 forks source link

update podspec #44

Open kabus202 opened 1 year ago

kabus202 commented 1 year ago

Hi! πŸ‘‹

Firstly, thanks for your work on this project! πŸ™‚

Today I used patch-package to patch react-native-mlkit-ocr@0.2.5 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-mlkit-ocr/react-native-mlkit-ocr.podspec b/node_modules/react-native-mlkit-ocr/react-native-mlkit-ocr.podspec
index 334c87e..e5f67e3 100644
--- a/node_modules/react-native-mlkit-ocr/react-native-mlkit-ocr.podspec
+++ b/node_modules/react-native-mlkit-ocr/react-native-mlkit-ocr.podspec
@@ -16,5 +16,5 @@ Pod::Spec.new do |s|
   s.source_files = "ios/**/*.{h,m,mm}"

   s.dependency "React"
-  s.dependency "GoogleMLKit/TextRecognition", "2.6.0"
+  s.dependency "GoogleMLKit/TextRecognition", "3.2.0"
 end

This issue body was partially generated by patch-package.

zabojad commented 10 months ago

Good share, thank you. That should be a PR for the next release, really...