Skip to content

Commit 1798118

Browse files
authored
Update example project (#2097)
1 parent bc3e3b8 commit 1798118

39 files changed

+7428
-3874
lines changed

android/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
</intent>
77
</queries>
88

9-
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
9+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
10+
android:maxSdkVersion="28" />
1011

1112
<application>
1213

example/.buckconfig

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

example/.bundle/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUNDLE_PATH: "vendor/bundle"
2+
BUNDLE_FORCE_RUBY_PLATFORM: 1

example/.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native',
4+
};
5+

example/.flowconfig

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

example/.gitignore

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,47 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23-
project.xcworkspace
23+
ios/.xcode.env.local
2424

25-
# Android/IJ
25+
# Android/IntelliJ
2626
#
27-
*.iml
27+
build/
2828
.idea
2929
.gradle
3030
local.properties
31+
*.iml
32+
*.hprof
33+
.cxx/
34+
*.keystore
35+
!debug.keystore
3136

3237
# node.js
3338
#
3439
node_modules/
3540
npm-debug.log
41+
yarn-error.log
42+
43+
# fastlane
44+
#
45+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
46+
# screenshots whenever they are needed.
47+
# For more information about the recommended setup visit:
48+
# https://docs.fastlane.tools/best-practices/source-control/
49+
50+
**/fastlane/report.xml
51+
**/fastlane/Preview.html
52+
**/fastlane/screenshots
53+
**/fastlane/test_output
54+
55+
# Bundle artifact
56+
*.jsbundle
57+
58+
# Ruby / CocoaPods
59+
/ios/Pods/
60+
/vendor/bundle/
61+
62+
# Temporary files created by Metro to check the health of the file watcher
63+
.metro-health-check*
3664

37-
# BUCK
38-
buck-out/
39-
\.buckd/
40-
android/app/libs
41-
android/keystores/debug.keystore
65+
# testing
66+
/coverage

example/.prettierrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
arrowParens: 'always',
3+
bracketSpacing: true,
4+
embeddedLanguageFormatting: 'auto',
5+
htmlWhitespaceSensitivity: 'css',
6+
insertPragma: false,
7+
bracketSameLine: true,
8+
jsxSingleQuote: true,
9+
printWidth: 120,
10+
proseWrap: 'never',
11+
quoteProps: 'as-needed',
12+
semi: true,
13+
singleQuote: true,
14+
tabWidth: 4,
15+
trailingComma: 'all',
16+
useTabs: false,
17+
};

0 commit comments

Comments
 (0)