Skip to content

Commit 2f5295a

Browse files
authored
Merge pull request #17 from seatsio/matti/expo-example
Turned example into Expo project for simplicity
2 parents 07160bf + a06ab21 commit 2f5295a

File tree

76 files changed

+3372
-7051
lines changed

Some content is hidden

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

76 files changed

+3372
-7051
lines changed

README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,6 @@ seatsio-react-native allows rendering seats.io seating charts inside a react-nat
66

77
It uses [React Native Webview](https://github.com/react-native-webview/react-native-webview) as an embedded browser.
88

9-
## Running the examples
10-
11-
First, clone the repo:
12-
13-
```
14-
git clone git@github.com:seatsio/seatsio-react-native.git
15-
cd seatsio-react-native
16-
cd example
17-
yarn install
18-
```
19-
20-
Then, for iOS:
21-
22-
```
23-
cd ios && pod install && cd ..
24-
yarn ios
25-
```
26-
27-
28-
For Android, simply do:
29-
```
30-
yarn android
31-
```
32-
33-
349
## Usage
3510

3611
Tip: be sure to check out the [examples folder](https://github.com/seatsio/seatsio-react-native/tree/master/example/examples), it contains samples for many configuration options.

android/README.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

android/build.gradle

Lines changed: 0 additions & 74 deletions
This file was deleted.

android/src/main/AndroidManifest.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

android/src/main/java/com/reactlibrary/SeatsioReactNativeModule.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

android/src/main/java/com/reactlibrary/SeatsioReactNativePackage.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

example/.buckconfig

Lines changed: 0 additions & 6 deletions
This file was deleted.

example/.eslintrc.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

example/.expo-shared/assets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"12bb71342c6255bbf50437ec8f4441c083f47cdb74bd89160c15e4f43e52a1cb": true,
3+
"40b842e832070c58deac6aa9e08fa459302ee3f9da492c7e77d93d2fbf4a56fd": true
4+
}

example/.flowconfig

Lines changed: 0 additions & 66 deletions
This file was deleted.

example/.gitattributes

Lines changed: 0 additions & 3 deletions
This file was deleted.

example/.gitignore

Lines changed: 13 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,14 @@
1-
# OSX
2-
#
3-
.DS_Store
4-
5-
# Xcode
6-
#
7-
build/
8-
*.pbxuser
9-
!default.pbxuser
10-
*.mode1v3
11-
!default.mode1v3
12-
*.mode2v3
13-
!default.mode2v3
14-
*.perspectivev3
15-
!default.perspectivev3
16-
xcuserdata
17-
*.xccheckout
18-
*.moved-aside
19-
DerivedData
20-
*.hmap
21-
*.ipa
22-
*.xcuserstate
23-
24-
# Android/IntelliJ
25-
#
26-
build/
27-
.idea
28-
.gradle
29-
local.properties
30-
*.iml
31-
32-
# node.js
33-
#
341
node_modules/
35-
npm-debug.log
36-
yarn-error.log
37-
38-
# BUCK
39-
buck-out/
40-
\.buckd/
41-
*.keystore
42-
!debug.keystore
43-
44-
# fastlane
45-
#
46-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47-
# screenshots whenever they are needed.
48-
# For more information about the recommended setup visit:
49-
# https://docs.fastlane.tools/best-practices/source-control/
50-
51-
*/fastlane/report.xml
52-
*/fastlane/Preview.html
53-
*/fastlane/screenshots
54-
55-
# Bundle artifact
56-
*.jsbundle
57-
58-
# CocoaPods
59-
/ios/Pods/
2+
.expo/
3+
dist/
4+
npm-debug.*
5+
*.jks
6+
*.p8
7+
*.p12
8+
*.key
9+
*.mobileprovision
10+
*.orig.*
11+
web-build/
12+
13+
# macOS
14+
.DS_Store

example/.prettierrc.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

example/.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

example/Gemfile

Lines changed: 0 additions & 5 deletions
This file was deleted.

example/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```
2+
yarn
3+
yarn android
4+
yarn ios
5+
```

example/__tests__/App-test.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

example/_editorconfig

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)