Skip to content

Commit

Permalink
Update docs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasjunior committed May 6, 2024
1 parent f4d15b1 commit f52a632
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ npm i -S react-native-keyboard-manager
2. Add the CocoaPods dependency to your `ios/Podfile`:

```ruby
# Add temporary IQKeyboardManagerSwift fork to solve problems with PrivacyInfo.xcprivacy
pod 'IQKeyboardManagerSwift', :git => 'https://github.com/douglasjunior/IQKeyboardManager.git', :branch => 'react-native-keyboard-manager'
```

Expand Down Expand Up @@ -138,8 +139,9 @@ jest.mock('react-native-keyboard-manager', () => require('react-native-keyboard-
# Known issues

- If your project is managed by Expo, you will need to eject.
- Problem with "@react-navigation/native-stack" and "IQKeyboardManager" on iOS: https://github.com/douglasjunior/react-native-keyboard-manager/issues/89
- Pod install failed on M1 machines: https://github.com/douglasjunior/react-native-keyboard-manager/issues/104
- ~~Problem with "@react-navigation/native-stack" and "IQKeyboardManager" on iOS: https://github.com/douglasjunior/react-native-keyboard-manager/issues/89~~
- Seems to be fixed in version `6.5.16-0`

## Contribute

Expand Down
4 changes: 2 additions & 2 deletions ReactNativeKeyboardManager.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require 'json'
packageJson = JSON.parse(File.read('package.json'))
version = packageJson["version"]
repository = packageJson["repository"]["url"]
# iqVersion = version.split('-').first
iqVersion = version.split('-').first

Pod::Spec.new do |s|
s.name = "ReactNativeKeyboardManager"
Expand All @@ -20,5 +20,5 @@ Pod::Spec.new do |s|

s.dependency 'React-Core'
s.dependency 'React-RCTText'
# s.dependency 'IQKeyboardManagerSwift', iqVersion
s.dependency 'IQKeyboardManagerSwift', iqVersion
end
3 changes: 2 additions & 1 deletion Sample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1167,6 +1167,7 @@ PODS:
- React-perflogger (= 0.74.0)
- React-utils (= 0.74.0)
- ReactNativeKeyboardManager (6.5.16-2):
- IQKeyboardManagerSwift (= 6.5.16)
- React-Core
- React-RCTText
- RNScreens (3.31.1):
Expand Down Expand Up @@ -1441,7 +1442,7 @@ SPEC CHECKSUMS:
React-runtimescheduler: 7fe561d179b97cecd0c2bec0bbd08f9fd8581c26
React-utils: f013537c3371270d2095bff1d594d00d4bc9261b
ReactCommon: 2cde697fd80bd31da1d6448d25a5803088585219
ReactNativeKeyboardManager: ae7667e55e56d06d5f98b036e970b390d4776cd8
ReactNativeKeyboardManager: 09175ead9756f987356e914fd45b92ca65c16a26
RNScreens: b32a9ff15bea7fcdbe5dff6477bc503f792b1208
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: 56f906bf6c11c931588191dde1229fd3e4e3d557
Expand Down

0 comments on commit f52a632

Please sign in to comment.