Skip to content

Commit c7d45c9

Browse files
committed
chore: add new examples
1 parent f18a2e7 commit c7d45c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1956
-349
lines changed

example/assets/ue_black_logo.png

7.69 KB
Loading

example/assets/urbanears_blue.png

160 KB
Loading

example/assets/urbanears_grey.png

126 KB
Loading

example/assets/urbanears_mint.png

155 KB
Loading

example/assets/urbanears_pink.png

157 KB
Loading

example/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AppRegistry } from 'react-native';
2-
import App from './src/App';
2+
import { Navigation } from './src/App';
33
import { name as appName } from './app.json';
44

5-
AppRegistry.registerComponent(appName, () => App);
5+
AppRegistry.registerComponent(appName, () => Navigation);

example/ios/Podfile.lock

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ PODS:
236236
- React-cxxreact (= 0.63.4)
237237
- React-jsi (= 0.63.4)
238238
- React-jsinspector (0.63.4)
239+
- react-native-safe-area-context (3.1.9):
240+
- React-Core
239241
- react-native-viewpager (5.0.5):
240242
- React-Core
241243
- React-RCTActionSheet (0.63.4):
@@ -298,6 +300,14 @@ PODS:
298300
- React-Core (= 0.63.4)
299301
- React-cxxreact (= 0.63.4)
300302
- React-jsi (= 0.63.4)
303+
- RNCMaskedView (0.1.10):
304+
- React
305+
- RNGestureHandler (1.9.0):
306+
- React-Core
307+
- RNReanimated (1.13.2):
308+
- React-Core
309+
- RNScreens (2.16.1):
310+
- React-Core
301311
- Yoga (1.14.0)
302312
- YogaKit (1.18.1):
303313
- Yoga (~> 1.14)
@@ -339,6 +349,7 @@ DEPENDENCIES:
339349
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
340350
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
341351
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
352+
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
342353
- react-native-viewpager (from `../..`)
343354
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
344355
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
@@ -350,6 +361,10 @@ DEPENDENCIES:
350361
- React-RCTText (from `../node_modules/react-native/Libraries/Text`)
351362
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
352363
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
364+
- "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
365+
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
366+
- RNReanimated (from `../node_modules/react-native-reanimated`)
367+
- RNScreens (from `../node_modules/react-native-screens`)
353368
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
354369

355370
SPEC REPOS:
@@ -398,6 +413,8 @@ EXTERNAL SOURCES:
398413
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
399414
React-jsinspector:
400415
:path: "../node_modules/react-native/ReactCommon/jsinspector"
416+
react-native-safe-area-context:
417+
:path: "../node_modules/react-native-safe-area-context"
401418
react-native-viewpager:
402419
:path: "../.."
403420
React-RCTActionSheet:
@@ -420,6 +437,14 @@ EXTERNAL SOURCES:
420437
:path: "../node_modules/react-native/Libraries/Vibration"
421438
ReactCommon:
422439
:path: "../node_modules/react-native/ReactCommon"
440+
RNCMaskedView:
441+
:path: "../node_modules/@react-native-community/masked-view"
442+
RNGestureHandler:
443+
:path: "../node_modules/react-native-gesture-handler"
444+
RNReanimated:
445+
:path: "../node_modules/react-native-reanimated"
446+
RNScreens:
447+
:path: "../node_modules/react-native-screens"
423448
Yoga:
424449
:path: "../node_modules/react-native/ReactCommon/yoga"
425450

@@ -450,6 +475,7 @@ SPEC CHECKSUMS:
450475
React-jsi: a0418934cf48f25b485631deb27c64dc40fb4c31
451476
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
452477
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
478+
react-native-safe-area-context: b6e0e284002381d2ff29fa4fff42b4d8282e3c94
453479
react-native-viewpager: 3999842b7e7637be0bba66defdb986d4edef2d93
454480
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
455481
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
@@ -461,6 +487,10 @@ SPEC CHECKSUMS:
461487
React-RCTText: 5c51df3f08cb9dedc6e790161195d12bac06101c
462488
React-RCTVibration: ae4f914cfe8de7d4de95ae1ea6cc8f6315d73d9d
463489
ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b
490+
RNCMaskedView: 5a8ec07677aa885546a0d98da336457e2bea557f
491+
RNGestureHandler: 9b7e605a741412e20e13c512738a31bd1611759b
492+
RNReanimated: e03f7425cb7a38dcf1b644d680d1bfc91c3337ad
493+
RNScreens: 45c457af3d2ee9e08fc01e70da87e653d46b1198
464494
Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6
465495
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
466496

example/ios/ViewPagerExample.xcodeproj/project.pbxproj

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,19 @@
173173
name = Products;
174174
sourceTree = "<group>";
175175
};
176+
2642DEB477C04E4F9680A1BE /* Resources */ = {
177+
isa = "PBXGroup";
178+
children = (
179+
8380EE266CF84889B54D6E01 /* ue_black_logo.png */,
180+
F4693596CD434018B84A86E9 /* urbanears_blue.png */,
181+
D7BE455AE6554CCBAD423FD7 /* urbanears_grey.png */,
182+
D4AB88917DF44FF99D76A690 /* urbanears_mint.png */,
183+
CDD204FFC4AB488EB0A80628 /* urbanears_pink.png */,
184+
);
185+
name = Resources;
186+
sourceTree = "<group>";
187+
path = "";
188+
};
176189
/* End PBXGroup section */
177190

178191
/* Begin PBXNativeTarget section */

example/ios/ViewpagerExample.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/ios/ViewpagerExample/Info.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</dict>
3939
</dict>
4040
<key>NSLocationWhenInUseUsageDescription</key>
41-
<string></string>
41+
<string/>
4242
<key>UILaunchStoryboardName</key>
4343
<string>LaunchScreen</string>
4444
<key>UIRequiredDeviceCapabilities</key>
@@ -53,5 +53,7 @@
5353
</array>
5454
<key>UIViewControllerBasedStatusBarAppearance</key>
5555
<false/>
56+
<key>UIAppFonts</key>
57+
<array/>
5658
</dict>
5759
</plist>

0 commit comments

Comments
 (0)