You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 📝 **Note**#1: Staring on version `2.x`, this library now uses `expo-modules`, and contains a peer dependency to `react-native-ios-utilites`. |
22
-
| 📝 **Note**#2: The documentation + examples are currently being rewritten.<br><br>💅[`README-old-v1.md`](./README-old-v1.md) — The old version of the documentation (archived).<br>💖[`example/src/examples`](./example/src/examples) — The typescript rewrite of the examples (WIP). |
21
+
| 📝 **Note**#1: Version `3.x` is a rewrite of this library to support both fabric (the new architecture), and offer backwards compatibility to paper (the old architecture).<br><br> The support for both paper and fabric is possible via a peer dependency to [`react-native-ios-utilites@v5`](https://github.com/dominicstop/react-native-ios-utilities). |
22
+
| 📝 **Note**#2: The documentation + examples are currently being rewritten.<br><br>❤️[`README-old-v1.md`](./README-old-v1.md) — Documentation for `v1.x`<br>🧡 [`README-old-v2.md`](./README-old-v2.md) — Documentation for `v2.x`<br>💛[`example/src/examples`](./example/src/examples) — The typescript rewrite of the examples (WIP). |
|`2.1`+ | Uses `Expo-Modules`<br/>Depends on `react-native-ios-utilities@4.x`<br/>Depends on `ContextMenuAuxiliaryPreview`<br>iOS 13+<br/>Xcode 15+ |
30
+
|`3.x`+ | Depends on `react-native-ios-utilities@5.x`<br/>iOS 13+<br/>Xcode 15+` |
31
+
|`2.1`| Uses `Expo-Modules`<br/>Depends on `react-native-ios-utilities@4.x`<br/>Depends on `ContextMenuAuxiliaryPreview`<br>iOS 13+<br/>Xcode 15+ |
31
32
|`2.0.x`| Uses `Expo-Modules`<br>Depends on `react-native-ios-utilities@4.x`<br>iOS 13+<br>Xcode 15+ |
32
33
|`1.6.2`| iOS 10 to iOS 15<br>Xcode 12+ |
33
34
|`1.4`| iOS 10 to iOS 15<br>Xcode 13+ |
@@ -106,6 +107,18 @@
106
107
107
108
<br><br>
108
109
110
+
### Acknowledgements
111
+
112
+
The initial fabric rewrite (i.e. version `5.x`) was made possible through a generous `$3,250` sponsorship by [natew](https://github.com/natew) + [tamagui](https://github.com/tamagui/tamagui) over the course of ≈ 3.5 months (from: `05/27/24` to `09/24`) 🐦✨
113
+
114
+
<br>
115
+
116
+
Very special thanks to: [junzhengca](https://github.com/junzhengca), [brentvatne](https://github.com/brentvatne), and [expo](https://github.com/expo) for sponsoring my work 🥺
117
+
118
+
<br><br>
119
+
120
+
<br><br>
121
+
109
122
## A. Introduction
110
123
111
124
A react native component to use [`UIMenu`](https://developer.apple.com/documentation/uikit/uimenu) on iOS 13 and later.
@@ -172,8 +185,8 @@ A react native component to use [`UIMenu`](https://developer.apple.com/documenta
172
185
173
186
```sh
174
187
# 1. install library + dependencies
175
-
npm install react-native-ios-utilities
176
-
npm install react-native-ios-context-menu
188
+
npm install react-native-ios-utilities@next
189
+
npm install react-native-ios-context-menu@next
177
190
178
191
# 2. then run pod install (uses auto-linking)
179
192
cd ios && pod install
@@ -208,11 +221,12 @@ cd ios && pod install
208
221
209
222
### Updating
210
223
211
-
This library has cocoapods dependency to [`ContextMenuAuxiliaryPreview`](https://github.com/dominicstop/ContextMenuAuxiliaryPreview), so you need to update it separately.
224
+
This library has cocoapods dependency to [`ContextMenuAuxiliaryPreview`](https://github.com/dominicstop/ContextMenuAuxiliaryPreview) and [`DGSwiftUtilities`](https://github.com/dominicstop/DGSwiftUtilities), so you may need to update them separately (as needed).
212
225
213
226
```sh
214
227
# A. Either update this specific pod...
215
-
pod update ContextMenuAuxiliaryPreview
228
+
pod update ContextMenuAuxiliaryPreview DGSwiftUtilities
| 📝 **Note**#1: Staring on version `2.x`, this library now uses `expo-modules`, and contains a peer dependency to `react-native-ios-utilites`. |
22
-
| 📝 **Note**#2: The documentation + examples are currently being rewritten.<br><br>💅[`README-old-v1.md`](./README-old-v1.md) — The old version of the documentation (archived).<br>💖[`example/src/examples`](./example/src/examples) — The typescript rewrite of the examples (WIP). |
21
+
| 📝 **Note**#1: Version `3.x` is a rewrite of this library to support both fabric (the new architecture), and offer backwards compatibility to paper (the old architecture).<br><br> The support for both paper and fabric is possible via a peer dependency to [`react-native-ios-utilites@v5`](https://github.com/dominicstop/react-native-ios-utilities). |
22
+
| 📝 **Note**#2: The documentation + examples are currently being rewritten.<br><br>❤️[`README-old-v1.md`](./README-old-v1.md) — Documentation for `v1.x`<br>🧡 [`README-old-v2.md`](./README-old-v2.md) — Documentation for `v2.x`<br>💛[`example/src/examples`](./example/src/examples) — The typescript rewrite of the examples (WIP). |
|`2.1`+ | Uses `Expo-Modules`<br/>Depends on `react-native-ios-utilities@4.x`<br/>Depends on `ContextMenuAuxiliaryPreview`<br>iOS 13+<br/>Xcode 15+ |
30
+
|`3.x`+ | Depends on `react-native-ios-utilities@5.x`<br/>iOS 13+<br/>Xcode 15+` |
31
+
|`2.1`| Uses `Expo-Modules`<br/>Depends on `react-native-ios-utilities@4.x`<br/>Depends on `ContextMenuAuxiliaryPreview`<br>iOS 13+<br/>Xcode 15+ |
31
32
|`2.0.x`| Uses `Expo-Modules`<br>Depends on `react-native-ios-utilities@4.x`<br>iOS 13+<br>Xcode 15+ |
32
33
|`1.6.2`| iOS 10 to iOS 15<br>Xcode 12+ |
33
34
|`1.4`| iOS 10 to iOS 15<br>Xcode 13+ |
34
35
|`1.3` and Below | iOS 10 to 14<br>Xcode 12+ |
35
36
36
-
📝 **Note**: Supports projects targeting iOS 10 but will use the action sheet fallback when running on iOS 12 and older.
37
-
38
37
<br><br>
39
38
40
39
## Table of Contents
@@ -106,6 +105,18 @@
106
105
107
106
<br><br>
108
107
108
+
### Acknowledgements
109
+
110
+
The initial fabric rewrite (i.e. version `5.x`) was made possible through a generous `$3,250` sponsorship by [natew](https://github.com/natew) + [tamagui](https://github.com/tamagui/tamagui) over the course of ≈ 3.5 months (from: `05/27/24` to `09/24`) 🐦✨
111
+
112
+
<br>
113
+
114
+
Very special thanks to: [junzhengca](https://github.com/junzhengca), [brentvatne](https://github.com/brentvatne), and [expo](https://github.com/expo) for sponsoring my work 🥺
115
+
116
+
<br><br>
117
+
118
+
<br><br>
119
+
109
120
## A. Introduction
110
121
111
122
A react native component to use [`UIMenu`](https://developer.apple.com/documentation/uikit/uimenu) on iOS 13 and later.
@@ -172,8 +183,8 @@ A react native component to use [`UIMenu`](https://developer.apple.com/documenta
172
183
173
184
```sh
174
185
# 1. install library + dependencies
175
-
npm install react-native-ios-utilities
176
-
npm install react-native-ios-context-menu
186
+
npm install react-native-ios-utilities@next
187
+
npm install react-native-ios-context-menu@next
177
188
178
189
# 2. then run pod install (uses auto-linking)
179
190
cd ios && pod install
@@ -208,11 +219,12 @@ cd ios && pod install
208
219
209
220
### Updating
210
221
211
-
This library has cocoapods dependency to [`ContextMenuAuxiliaryPreview`](https://github.com/dominicstop/ContextMenuAuxiliaryPreview), so you need to update it separately.
222
+
This library has cocoapods dependency to [`ContextMenuAuxiliaryPreview`](https://github.com/dominicstop/ContextMenuAuxiliaryPreview) and [`DGSwiftUtilities`](https://github.com/dominicstop/DGSwiftUtilities), so you may need to update them separately (as needed).
212
223
213
224
```sh
214
225
# A. Either update this specific pod...
215
-
pod update ContextMenuAuxiliaryPreview
226
+
pod update ContextMenuAuxiliaryPreview DGSwiftUtilities
227
+
pod install --repo-update
216
228
217
229
# B. Or update all the pods
218
230
pod update
@@ -239,7 +251,7 @@ pod update
239
251
240
252
### Troubleshooting
241
253
242
-
If you encounter any errors/bugs while using this library, or want a particular feature implemented, please create an issue! (my inbox is a mess, please feel free to tag me). ✨
254
+
If you encounter any errors/bugs while using this library, or want a particular feature implemented, please create an issue (my inbox is a mess, please feel free to tag me). ✨
0 commit comments