File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Text input mask for React Native on iOS and Android.
1818``` bash
1919npm install --save react-native-text-input-mask
2020# --- or ---
21- yarn add react-native-permissions
21+ yarn add react-native-text-input-mask
2222```
2323
2424#Installation
@@ -59,8 +59,7 @@ No need to do anything.
5959
6060</details >
6161
62- <details >
63- <summary ><h4 >For RN < 0.60</h4 ></summary >
62+ <details ><summary ><h4 >For RN < 0.60</h4 ></summary >
6463
6564### Auto Linking
6665``` bash
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-text-input-mask" ,
3- "version" : " 1 .0.6 " ,
3+ "version" : " 2 .0.0 " ,
44 "description" : " Text input mask for React Native." ,
55 "main" : " index.js" ,
66 "repository" : {
Original file line number Diff line number Diff line change 66# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
77#
88
9+ require 'json'
10+ package = JSON . parse ( File . read ( File . join ( __dir__ , 'package.json' ) ) )
11+
912Pod ::Spec . new do |s |
10- s . name = 'RNTextInputMask'
11- s . version = '2.0.0'
12- s . summary = 'react community react-native-text-input-mask iOS库'
13-
14- s . description = <<-DESC
15- Text input mask for React Native, Android and iOS
16- DESC
17-
18- s . homepage = 'https://github.com/react-native-community/react-native-text-input-mask'
13+ s . name = package [ 'name' ]
14+ s . version = package [ 'version' ]
15+ s . summary = package [ 'description' ]
16+ s . description = package [ 'description' ]
17+ s . homepage = package [ 'homepage' ]
18+ s . license = package [ 'license' ]
19+ s . author = package [ 'author' ]
1920 s . license = { :type => 'MIT' , :file => 'LICENSE' }
20- s . author = { 'react-native-community' => 'react-native-text-input-mask' }
2121 s . source = { :git => 'https://github.com/react-native-community/react-native-text-input-mask.git' , :tag => s . version . to_s }
2222
2323 s . ios . deployment_target = '8.0'
You can’t perform that action at this time.
0 commit comments