Skip to content

Commit f52a632

Browse files
committed
Update docs and examples
1 parent f4d15b1 commit f52a632

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ npm i -S react-native-keyboard-manager
4141
2. Add the CocoaPods dependency to your `ios/Podfile`:
4242

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

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

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

144146
## Contribute
145147

ReactNativeKeyboardManager.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require 'json'
33
packageJson = JSON.parse(File.read('package.json'))
44
version = packageJson["version"]
55
repository = packageJson["repository"]["url"]
6-
# iqVersion = version.split('-').first
6+
iqVersion = version.split('-').first
77

88
Pod::Spec.new do |s|
99
s.name = "ReactNativeKeyboardManager"
@@ -20,5 +20,5 @@ Pod::Spec.new do |s|
2020

2121
s.dependency 'React-Core'
2222
s.dependency 'React-RCTText'
23-
# s.dependency 'IQKeyboardManagerSwift', iqVersion
23+
s.dependency 'IQKeyboardManagerSwift', iqVersion
2424
end

Sample/ios/Podfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1167,6 +1167,7 @@ PODS:
11671167
- React-perflogger (= 0.74.0)
11681168
- React-utils (= 0.74.0)
11691169
- ReactNativeKeyboardManager (6.5.16-2):
1170+
- IQKeyboardManagerSwift (= 6.5.16)
11701171
- React-Core
11711172
- React-RCTText
11721173
- RNScreens (3.31.1):
@@ -1441,7 +1442,7 @@ SPEC CHECKSUMS:
14411442
React-runtimescheduler: 7fe561d179b97cecd0c2bec0bbd08f9fd8581c26
14421443
React-utils: f013537c3371270d2095bff1d594d00d4bc9261b
14431444
ReactCommon: 2cde697fd80bd31da1d6448d25a5803088585219
1444-
ReactNativeKeyboardManager: ae7667e55e56d06d5f98b036e970b390d4776cd8
1445+
ReactNativeKeyboardManager: 09175ead9756f987356e914fd45b92ca65c16a26
14451446
RNScreens: b32a9ff15bea7fcdbe5dff6477bc503f792b1208
14461447
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
14471448
Yoga: 56f906bf6c11c931588191dde1229fd3e4e3d557

0 commit comments

Comments
 (0)