diff --git a/README.md b/README.md index 744c3cc..b5d7bd9 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,13 @@ A very compact representation of an image placeholder for react native | Thumbhash is in not ready yet...🚧 A true release is coming soon. | You can only check that thumbhash renders correctly +## Features + +- [x] thumbhash rendering (decoding) +- [x] new arch/old arch support +- [ ] async dencoding +- [ ] thumbhash decoding + ## Installation ```sh @@ -39,4 +46,4 @@ Made with [create-react-native-library](https://github.com/callstack/react-nativ # Resources - [react-native-blurhash](https://github.com/mrousavy/react-native-blurhash). cloned many setting. thx! -- [woltapp/blurhash of course](https://github.com/evanw/thumbhash). Thanks for great algorithm +- [woltapp/blurhash](https://github.com/evanw/thumbhash). Thanks for great algorithm diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index a35153f..8165372 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -935,7 +935,7 @@ PODS: - React-Mapbuffer (0.74.3): - glog - React-debug - - react-native-thumbhash (0.2.1): + - react-native-thumbhash (0.2.2): - DoubleConversion - glog - hermes-engine @@ -1395,7 +1395,7 @@ SPEC CHECKSUMS: React-jsitracing: 6b3c8c98313642140530f93c46f5a6ca4530b446 React-logger: fa92ba4d3a5d39ac450f59be2a3cec7b099f0304 React-Mapbuffer: 9f68550e7c6839d01411ac8896aea5c868eff63a - react-native-thumbhash: 760f68ec4aca8928c1540a716241b677217044b8 + react-native-thumbhash: e2deb9c0005bea0e1c5ded214228960a28da75cf React-nativeconfig: fa5de9d8f4dbd5917358f8ad3ad1e08762f01dcb React-NativeModulesApple: 585d1b78e0597de364d259cb56007052d0bda5e5 React-perflogger: 7bb9ba49435ff66b666e7966ee10082508a203e8 @@ -1420,8 +1420,8 @@ SPEC CHECKSUMS: React-utils: a06061b3887c702235d2dac92dacbd93e1ea079e ReactCommon: f00e436b3925a7ae44dfa294b43ef360fbd8ccc4 SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d - Yoga: 88480008ccacea6301ff7bf58726e27a72931c8d + Yoga: 04f1db30bb810187397fa4c37dd1868a27af229c PODFILE CHECKSUM: b11cddd7acfec45cb0885bddf612bfa0ceb44f48 -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/react-native-thumbhash.podspec b/react-native-thumbhash.podspec index 00eb25b..d8ad3a6 100644 --- a/react-native-thumbhash.podspec +++ b/react-native-thumbhash.podspec @@ -14,7 +14,7 @@ Pod::Spec.new do |s| s.platforms = { :ios => min_ios_version_supported } s.source = { :git => "https://github.com/Lucky-pear/react-native-thumbhash.git", :tag => "#{s.version}" } - s.source_files = "ios/**/*.{h,m,mm}" + s.source_files = "ios/**/*.{h,m,mm,swift}" # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0. # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.