Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
789 commits
Select commit Hold shift + click to select a range
ed8ef63
trigger build 3
DanielZlotin Apr 20, 2017
859d409
trigger build 4
DanielZlotin Apr 20, 2017
a5abda3
trigger build 5
DanielZlotin Apr 20, 2017
8e538de
Update .travis.yml
DanielZlotin Apr 20, 2017
a656855
trigger build
DanielZlotin Apr 20, 2017
bf2a61e
trigger build 2
DanielZlotin Apr 20, 2017
af8e5bd
trigger build 3
DanielZlotin Apr 20, 2017
aa19194
viewController holds ref to navigationController
DanielZlotin Apr 20, 2017
67a7186
temp disable sidemenu and bottom tabs
DanielZlotin Apr 20, 2017
9db1883
temp disable failing e2e
DanielZlotin Apr 20, 2017
3f220b4
increase ios e2e timeout to 5 minutes due to flaky travis builds
DanielZlotin Apr 20, 2017
59471e0
update travis yml
DanielZlotin Apr 20, 2017
7ba1f11
handleBack
DanielZlotin Apr 20, 2017
4ab5af1
try fix travis flakiness with CODE_SIGNING_REQUIRED=NO
DanielZlotin Apr 20, 2017
f721116
try reproduce travis bug
DanielZlotin Apr 23, 2017
c44f47a
try reproduce travis bug 2
DanielZlotin Apr 23, 2017
63ba5be
try reproduce travis bug 3
DanielZlotin Apr 23, 2017
e25ce17
try reproduce travis bug 4
DanielZlotin Apr 23, 2017
326dd50
try reproduce travis bug 5
DanielZlotin Apr 23, 2017
3d3b811
try reproduce travis bug 6
DanielZlotin Apr 23, 2017
87aa2e4
try reproduce travis bug 7
DanielZlotin Apr 23, 2017
a5a5a10
try reproduce travis bug 8
DanielZlotin Apr 23, 2017
c4c8a42
try reproduce travis bug 9
DanielZlotin Apr 23, 2017
d07f0fa
try reproduce travis bug 10
DanielZlotin Apr 23, 2017
3f4cc9e
back to normal
DanielZlotin Apr 23, 2017
4063abb
remove xcpretty as it hides build errors
DanielZlotin Apr 23, 2017
6d3eada
trigger build
DanielZlotin Apr 23, 2017
14efda2
fiddling with controllers
DanielZlotin Apr 23, 2017
b064e1f
abstract ViewController
DanielZlotin Apr 23, 2017
2a21ed0
stackController
DanielZlotin Apr 23, 2017
d627a40
push and pop mechanics
DanielZlotin Apr 24, 2017
a6df80b
pop specific
DanielZlotin Apr 24, 2017
9646d9f
refactor
DanielZlotin Apr 24, 2017
f795aa4
generic stack
DanielZlotin Apr 24, 2017
2784709
migrate to controllers
DanielZlotin Apr 24, 2017
8d0e813
stack refactor
DanielZlotin Apr 24, 2017
7f913b1
refactor
DanielZlotin Apr 24, 2017
41ecebb
update slack integration
DanielZlotin Apr 24, 2017
423858a
update travis slack integration
DanielZlotin Apr 24, 2017
dea6d13
update scripts
DanielZlotin Apr 24, 2017
49c2c5a
fixed e2e, pop specific screen
DanielZlotin Apr 24, 2017
0425945
Update .travis.yml
DanielZlotin Apr 25, 2017
34a7d78
update slack integration
DanielZlotin Apr 26, 2017
a1cf102
trigger build
DanielZlotin Apr 26, 2017
4503385
added CONTRIBUTING
DanielZlotin Apr 26, 2017
5da01f4
Create v1tov2diff.md (#1142)
bogobogo Apr 26, 2017
ead78d3
update readme
DanielZlotin Apr 26, 2017
14b11b7
trigger build
DanielZlotin Apr 26, 2017
2e74d2c
try fix travis
DanielZlotin Apr 26, 2017
a4fa525
removed old output print
DanielZlotin Apr 26, 2017
7e7db44
update deps
DanielZlotin Apr 26, 2017
8384bb7
using killPort
DanielZlotin Apr 26, 2017
fbbd6ee
added clean step in travis
DanielZlotin Apr 26, 2017
9cb4d0d
update clean script
DanielZlotin Apr 26, 2017
9894d0a
fixed detox update
DanielZlotin Apr 27, 2017
f93fc24
update env scripts
DanielZlotin Apr 27, 2017
d5a24df
fix installAndroidSDK
DanielZlotin Apr 27, 2017
395a046
try solve travis scripts
DanielZlotin Apr 27, 2017
ede1840
try fix travis
DanielZlotin Apr 27, 2017
73916d2
try fix travis
DanielZlotin Apr 27, 2017
3a8089e
try fix travis
DanielZlotin Apr 27, 2017
12d41f8
try fix travis
DanielZlotin Apr 27, 2017
ee590cd
fix travis scripts
DanielZlotin Apr 27, 2017
02875a7
fix typo
DanielZlotin Apr 27, 2017
62f3779
update release script
DanielZlotin Apr 27, 2017
6cd9e23
try fix travis
DanielZlotin Apr 27, 2017
3e3c464
verbose log
DanielZlotin Apr 27, 2017
a93d612
verbose log'
DanielZlotin Apr 27, 2017
722394d
fcking bash
DanielZlotin Apr 27, 2017
9670151
fixed shell script
DanielZlotin Apr 27, 2017
8d7a17e
download gradlew bin for faster builds
DanielZlotin Apr 27, 2017
ba186d6
RCT_NO_LAUNCH_PACKAGER=true will solves port problems
DanielZlotin Apr 27, 2017
7f98ca1
Update CONTRIBUTING.md
DanielZlotin Apr 27, 2017
d8a06bd
Update CONTRIBUTING.md
DanielZlotin Apr 27, 2017
ef0ccb3
work on #1154
DanielZlotin Apr 27, 2017
0786940
support for android test release builds, fixed #1154
DanielZlotin Apr 27, 2017
40cb2f1
Add basic docs files (#1156)
Ehesp Apr 27, 2017
8377393
android popTo viewController
DanielZlotin Apr 27, 2017
b76a1c7
android popToRoot
DanielZlotin Apr 27, 2017
5810865
android controller lifecycle #1065
DanielZlotin Apr 30, 2017
a607f8c
#1065
DanielZlotin Apr 30, 2017
a96926e
revert #1065 impl, going a different route
DanielZlotin Apr 30, 2017
f729052
increate timeout to solve flaky e2e
DanielZlotin May 1, 2017
4cf4ff1
ignoring other tests temporarily to tackle Samsung bugs
DanielZlotin May 1, 2017
8a02cb1
fixed android e2e samsung bugs
DanielZlotin May 1, 2017
7816853
extract installFbSimCtl
DanielZlotin May 1, 2017
fbc7a1b
language generic
DanielZlotin May 1, 2017
66d591d
work on #1065
DanielZlotin May 1, 2017
8504566
navigator setContentView
DanielZlotin May 1, 2017
0f21db4
navigator setContentView
DanielZlotin May 1, 2017
4ebe331
navigator setRoot
DanielZlotin May 1, 2017
1194467
navigator setRoot
DanielZlotin May 1, 2017
f6924be
removed store, viewControllers now have id
DanielZlotin May 1, 2017
f67c2bf
navigator id
DanielZlotin May 1, 2017
db93d20
IdStack
DanielZlotin May 8, 2017
0d4d1f7
indexed stack
DanielZlotin May 8, 2017
6a25f0a
id stack
DanielZlotin May 8, 2017
f97f063
id stack
DanielZlotin May 8, 2017
63c5e60
indexed stack
DanielZlotin May 8, 2017
6e700b0
setRoot
DanielZlotin May 8, 2017
eb7d8b8
simple push
DanielZlotin May 8, 2017
55ee2d7
bottom tabs
DanielZlotin May 8, 2017
93055be
showing tabs
DanielZlotin May 8, 2017
4703a82
showing tabs
DanielZlotin May 8, 2017
31024b8
Update LICENSE
DanielZlotin May 9, 2017
5fbe960
ParentController
DanielZlotin May 9, 2017
e745532
tabs selection
DanielZlotin May 9, 2017
7da6722
view groups
DanielZlotin May 9, 2017
f6c635f
push
DanielZlotin May 9, 2017
2442a27
Merge branch 'navigator' into v2
DanielZlotin May 9, 2017
b529f84
fixed push e2e
DanielZlotin May 9, 2017
7923cbc
navigator pop
DanielZlotin May 9, 2017
9c4babb
findParentStackControllerForChildId
DanielZlotin May 9, 2017
4917d99
navigator pop
DanielZlotin May 9, 2017
a31bdc8
popTo
DanielZlotin May 9, 2017
5cc5067
pop and popTo
DanielZlotin May 9, 2017
78ad324
pop specific
DanielZlotin May 9, 2017
bdff728
popToRoot
DanielZlotin May 9, 2017
1db91f8
navigator popToRoot
DanielZlotin May 9, 2017
d6282a4
ignore sideMenu for now
DanielZlotin May 9, 2017
80e52be
sideMenu
DanielZlotin May 9, 2017
0dd6181
naming
DanielZlotin May 9, 2017
62f23b3
moving stuff around
DanielZlotin May 9, 2017
14e3195
oops
DanielZlotin May 9, 2017
652e9bc
push animation
DanielZlotin May 9, 2017
104385d
refactor
DanielZlotin May 9, 2017
da693c4
push pop android animations
DanielZlotin May 10, 2017
4b7349e
fixed wrong test
DanielZlotin May 10, 2017
30c2211
android onAppear
DanielZlotin May 10, 2017
2814f64
android onAppear
DanielZlotin May 10, 2017
ce47fb3
android onAppear
DanielZlotin May 10, 2017
8e375a4
android onAppear
DanielZlotin May 10, 2017
d98dd11
android onDisappear
DanielZlotin May 10, 2017
d27b090
extract
DanielZlotin May 10, 2017
9af8b14
android screen lifecycle
DanielZlotin May 10, 2017
e5fcf65
destroy on pop
DanielZlotin May 10, 2017
83ec0b8
handleBack in navigator and bottomtabs
DanielZlotin May 10, 2017
8c8e0d2
unmount fix
DanielZlotin May 10, 2017
5d92701
fix nullify view on unmount
DanielZlotin May 10, 2017
0a16f4b
update release script, publish v2 as 2.0.0 alpha
DanielZlotin May 10, 2017
1bb4983
releasing 2.0.0
DanielZlotin May 10, 2017
759fe01
2.0.0
DanielZlotin May 10, 2017
2c7021a
Use table and omit “run” in yarn commands (#1233)
junedomingo May 11, 2017
f3b5f62
Update CONTRIBUTING.md
DanielZlotin May 11, 2017
4b1f0fe
Update CONTRIBUTING.md
DanielZlotin May 11, 2017
08524de
support for apps using cocoapods
DanielZlotin May 14, 2017
e94f5d1
update podspec
DanielZlotin May 14, 2017
8718370
Update .travis.yml
DanielZlotin May 16, 2017
999ae93
refactor, reloadReactNative on android
DanielZlotin May 16, 2017
c2d7433
jsDevReload
DanielZlotin May 16, 2017
93d074a
unneeded
DanielZlotin May 16, 2017
dda074c
JsDevReload
DanielZlotin May 17, 2017
a00c121
pass down lifecycle methods
DanielZlotin May 21, 2017
d7411e0
pass down lifecycle methods to children
DanielZlotin May 21, 2017
dba0b69
rr to reload js, passed e2e
DanielZlotin May 22, 2017
6b93ea1
removed comments
DanielZlotin May 22, 2017
2f1a349
format
DanielZlotin May 22, 2017
2d95d1b
lifecycle methods inconsistant
DanielZlotin May 22, 2017
71ebedb
fix tests
DanielZlotin May 25, 2017
63fe640
fix typo
DanielZlotin May 25, 2017
65b655a
simplified commands api
DanielZlotin May 26, 2017
d97bdce
update to RN44
DanielZlotin May 26, 2017
0ef8b00
add INSTALLING
DanielZlotin May 26, 2017
5efb5fc
update libs
DanielZlotin May 27, 2017
ebcf770
refctor ios e2e
DanielZlotin May 27, 2017
5abff9f
wrote empty modal e2e's
DanielZlotin May 27, 2017
5613738
ignored android modal e2e
DanielZlotin May 27, 2017
bbbb089
empty android e2e
DanielZlotin May 27, 2017
626b5f6
update INSTALLING
DanielZlotin May 27, 2017
b2d4820
update CONTRIBUTING
DanielZlotin May 27, 2017
9a398c3
OptionsScreen
DanielZlotin May 27, 2017
e57c42b
fixing tests
DanielZlotin May 28, 2017
6d03a3c
fixed e2e
DanielZlotin May 28, 2017
30d0111
navigationOptions
DanielZlotin May 31, 2017
6cea5e1
captureScreenshot
DanielZlotin Jun 1, 2017
5346561
static navigationOptions
DanielZlotin Jun 1, 2017
de8b323
trigger build
DanielZlotin Jun 1, 2017
ee6e881
ver
DanielZlotin Jun 1, 2017
ceb8c7f
ver
DanielZlotin Jun 1, 2017
c200b3c
update package.json
DanielZlotin Jun 1, 2017
300c5e3
refactor
DanielZlotin Jun 1, 2017
82ed894
fix release script
DanielZlotin Jun 1, 2017
7265e7e
v2.0.19 [ci skip]
DanielZlotin Jun 1, 2017
f342c57
force version
DanielZlotin Jun 1, 2017
3b74b96
v2.0.21
DanielZlotin Jun 1, 2017
0aa23a2
v2.0.22
DanielZlotin Jun 1, 2017
adbf388
v2.0.23
DanielZlotin Jun 1, 2017
7f3de37
v2.0.24
DanielZlotin Jun 1, 2017
1c948ee
v2.0.25
DanielZlotin Jun 1, 2017
9b09012
v2.0.26 [ci skip]
DanielZlotin Jun 1, 2017
d759665
v2.0.27 [ci skip]
DanielZlotin Jun 1, 2017
a391826
v2.0.28 [ci skip]
DanielZlotin Jun 1, 2017
492c792
v2.0.29 [ci skip]
DanielZlotin Jun 1, 2017
b200a91
update package.json
DanielZlotin Jun 1, 2017
2112c48
v2.0.29 [ci skip]
DanielZlotin Jun 1, 2017
5a914c4
v2.0.30 [ci skip]
DanielZlotin Jun 1, 2017
6e7576a
v2.0.31 [ci skip]
DanielZlotin Jun 1, 2017
242c3bd
update to node 7 due to bug in npm5
DanielZlotin Jun 1, 2017
bb9a7a4
Change "tabs" to "bottomTabs" (#1314)
Ehesp Jun 2, 2017
f4c3972
navigationOptions
DanielZlotin Jun 4, 2017
e837e36
docs, feature parity, about - work in progress (#1328)
bogobogo Jun 4, 2017
31c2b8a
Update v1tov2diff.md
DanielZlotin Jun 4, 2017
c16d3dc
Update v1tov2diff.md
DanielZlotin Jun 4, 2017
6b0ce5b
changed this.props.id to this.props.containerId (#1327)
bogobogo Jun 5, 2017
7d800f2
try run android emulator on travis
DanielZlotin Jun 8, 2017
b3276f5
try run emulator on travis
DanielZlotin Jun 8, 2017
01b3287
try run emulator on Travis
DanielZlotin Jun 8, 2017
5476b8c
try run emulator on Travis
DanielZlotin Jun 8, 2017
a71a4aa
back to trying to run ARM
DanielZlotin Jun 8, 2017
d9d89e2
back to no android e2e on CI
DanielZlotin Jun 8, 2017
74a7bce
Create v1tov2diff.md
DanielZlotin Jun 8, 2017
ec0493f
showModal android
DanielZlotin Jun 8, 2017
1eefe4b
modals android
DanielZlotin Jun 8, 2017
e29fcf4
refactor e2e
DanielZlotin Jun 13, 2017
42cf874
Create v1tov2diff.md
DanielZlotin Jun 13, 2017
6908403
dismissAllModals android
DanielZlotin Jun 14, 2017
9de187e
update v1tov2diff
DanielZlotin Jun 14, 2017
f8f0ad2
packager edge case fix
DanielZlotin Jun 14, 2017
c7c4507
fix packager init
DanielZlotin Jun 14, 2017
7d919d3
fix for late packer start
DanielZlotin Jun 14, 2017
66afbb4
refactor
DanielZlotin Jun 15, 2017
d1cf12f
fixed some typos in v2 docs (#1368)
bogobogo Jun 16, 2017
d63d9a6
update deps
DanielZlotin Jun 18, 2017
673435b
install fbsimctl from HEAD
DanielZlotin Jun 18, 2017
a037a29
trigger build 1
DanielZlotin Jun 18, 2017
bdbdb86
trigger build 2
DanielZlotin Jun 18, 2017
f9b70fe
trigger build 3
DanielZlotin Jun 18, 2017
7fce4c4
trigger build 5
DanielZlotin Jun 18, 2017
c059ea0
trigger build 6
DanielZlotin Jun 18, 2017
cbc6529
trigger build 7
DanielZlotin Jun 18, 2017
c9f66c8
cleanup CI
DanielZlotin Jun 18, 2017
fcc5c85
trigger build 1
DanielZlotin Jun 18, 2017
4177966
trigger build 2
DanielZlotin Jun 18, 2017
bc1e2a8
trigger build 3
DanielZlotin Jun 18, 2017
889e621
trigger build 4
DanielZlotin Jun 18, 2017
aa6ce53
trigger build 5
DanielZlotin Jun 18, 2017
ead414c
patch version is commit count
DanielZlotin Jun 18, 2017
aa0e0d1
update RELEASE
DanielZlotin Jun 18, 2017
e1e9598
fixed releases and ios e2e on travis
DanielZlotin Jun 18, 2017
e2d771f
fix e2e
DanielZlotin Jun 18, 2017
c6f0ae8
travis depth
DanielZlotin Jun 18, 2017
2c4c5c7
react lifecycle events fixed on android
DanielZlotin Jun 22, 2017
6ef95a4
fix travis
DanielZlotin Jun 22, 2017
b21c9cb
trigger build
DanielZlotin Jun 22, 2017
2166e02
fixing travis
DanielZlotin Jun 25, 2017
978fc28
update deps, fix release tests
DanielZlotin Jul 6, 2017
8a20e7b
Upgrade Gradle version
overengineered Jul 10, 2017
02785a9
Allow playground app to run on x86_64 emulator
overengineered Jul 10, 2017
2748a09
#1071 Allow changing navigation title
overengineered Jul 10, 2017
fcfa89c
#1071 Add tests for JavaScript
overengineered Jul 10, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
74 changes: 17 additions & 57 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"ecmaVersion": 8,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
Expand All @@ -27,7 +27,7 @@
"error",
"except-parens"
],
"no-console": "warn",
"no-console": "error",
"no-constant-condition": "error",
"no-control-regex": "error",
"no-debugger": "warn",
Expand Down Expand Up @@ -107,7 +107,7 @@
"no-param-reassign": "error",
"no-proto": "error",
"no-redeclare": 0,
"no-return-assign": "error",
"no-return-assign": 0,
"no-script-url": "error",
"no-self-assign": "error",
"no-self-compare": "error",
Expand Down Expand Up @@ -303,7 +303,7 @@
"no-whitespace-before-property": "error",
"object-curly-spacing": [
"error",
"never"
"always"
],
"one-var": 0,
"one-var-declaration-per-line": 0,
Expand Down Expand Up @@ -339,10 +339,6 @@
"error",
"always"
],
"space-before-function-paren": [
"error",
"never"
],
"space-in-parens": [
"error",
"never"
Expand All @@ -355,7 +351,10 @@
* ECMAScript 6
*/
"arrow-body-style": 0,
"arrow-parens": 0,
"arrow-parens": [
"error",
"always"
],
"arrow-spacing": [
"error",
{
Expand All @@ -364,7 +363,10 @@
}
],
"constructor-super": "error",
"generator-star-spacing": 0,
"generator-star-spacing": [
"error",
"after"
],
"no-class-assign": "error",
"no-confusing-arrow": "error",
"no-const-assign": "error",
Expand Down Expand Up @@ -417,26 +419,13 @@
"always"
],
"react/prefer-stateless-function": 0,
"react/prop-types": "error",
"react/prop-types": 0,
"react/react-in-jsx-scope": "error",
"react/require-extension": 0,
"react/self-closing-comp": "error",
"react/sort-comp": [
"error",
{
"order": [
"static-methods",
"lifecycle",
"/^on.+$/",
"/^(get|set)(?!(InitialState$|DefaultProps$|ChildContext$)).+$/",
"everything-else",
"/^render.+$/",
"render"
]
}
],
"react/sort-comp": 0,
"react/sort-prop-types": 0,
"react/wrap-multilines": "error",
"react/jsx-wrap-multilines": "error",
"react/jsx-boolean-value": [
"error",
"always"
Expand Down Expand Up @@ -489,35 +478,6 @@
* react-native plugin
*/
"react-native/no-unused-styles": "error",
"react-native/split-platform-components": "error",
/*
* babel plugin
*/
"babel/generator-star-spacing": [
"error",
"after"
],
"babel/new-cap": [
"error",
{
"capIsNewExceptions": [
"Immutable"
]
}
],
"babel/array-bracket-spacing": [
"error",
"never"
],
"babel/object-curly-spacing": [
"error",
"never"
],
"babel/object-shorthand": 0,
"babel/arrow-parens": [
"error",
"always"
],
"babel/no-await-in-loop": 0
"react-native/split-platform-components": "error"
}
}
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Before contributing...
Before contributing... COMING SOON!
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
### Issue Description

[ENTER DESCRIPTION HERE - Please make sure to use the current [naming conventions](https://github.com/wix/react-native-navigation/issues/197)]
[ENTER DESCRIPTION HERE]

### Steps to Reproduce / Code Snippets / Screenshots

[FILL THIS OUT - It will be extremely helpful]
[FILL THIS OUT]

---
### Environment
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist
.vscode/

############
# Node
Expand Down
14 changes: 10 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
example
old-example-redux
AndroidE2E/
coverage/
e2e/
integration/
playground/
scripts/
.travis.yml
wallaby.js


#################
# from .gitignore:
################



############
# Node
############
Expand Down Expand Up @@ -148,7 +156,6 @@ fastlane/screenshots
android/bin/
android/gen/
android/out/
android/app/build/

# Gradle files
android/.gradle/
Expand Down Expand Up @@ -218,4 +225,3 @@ buck-out/
\.buckd/
android/app/libs
android/keystores/debug.keystore

60 changes: 28 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,49 @@
language: java

jdk:
- oraclejdk8
os: osx
osx_image: xcode8.3
language: generic

env:
global:
- NODE_VERSION=stable
- PATH=$PATH:$HOME/.yarn/bin
- ANDROID_HOME=$HOME/android-sdk-linux
- PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

git:
depth: 3
- YARN_CACHE=$HOME/.yarn-cache
- CODE_SIGNING_REQUIRED=NO
- RCT_NO_LAUNCH_PACKAGER=true

branches:
only:
- master
- v2

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
yarn: true
directories:
- $HOME/.gradle/
- $YARN_CACHE
- $HOME/.m2
- $ANDROID_HOME/licenses/

before_cache:
- rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/

before_install:
- set -e
- nvm install $NODE_VERSION
- curl -o- -L https://yarnpkg.com/install.sh | bash
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache

install:
- ./scripts/clean.sh
- yarn install
# node:
- source ./scripts/env/installNode.sh
# yarn:
- source ./scripts/env/installYarn.sh
- yarn config set cache-folder $YARN_CACHE
# android sdk:
- source ./scripts/env/installAndroidSDK.sh
# fbsimctl:
- source ./scripts/env/installFbSimCtl.sh

script:
- yarn run lint
- yarn run test:js
- ./scripts/installAndroidSDK.sh
- yarn run test:android
- yarn run release
- set -e
- ./scripts/travis.sh
- set +e

after_script:
- echo "BUILD FINISHED"

notifications:
email: false
slack:
secure: SjvEQzfbIer3I88UARe7vlARAFkbCRuosrf2EhsUih17SKtpFuFj8BB+0U89xSxt8QmS4KiuIhj67TOGWnM7GDhy0S0rZCxgYD3VU2zm7cTobWueFvZ0zLFkTqa/8xi9+sZ5Xd1OU4aHGgpfONe34O9qbRP61YR5haJYYFWqVUQb0j6Z60MnvSm2kJJkjPx8iuOTiKoEgfZV3qVziKAN9oKVZsSUpp72cYQJeieKEdSwIBYTFt/G4RuxPxQ5uvGih3qTZBls66P3rydSHR73VbkXSi7edDhPYAhPEKMPidC/nN4UqHJNaGB9ua65LHlOXX7/K/frC/D5//WNnVLOuXHL7AXPZRKQsHwTdA2vjDT2NKvQfPBRVp47tEpQdTa7BHcLjhhJgpPoOVWumjoiD98JToI8Hd23V9OCAFYEkVe14Sr7HFWIm49PoxP6w89aGuYVLY39OJ9SmUbktOY1RYeXrp8sUa/wAxoH1u+W344zVrvAuknd0nx33iycwkKSnPDMGUOviN21XbYqQTLn5ob9rxsNBr/tAkXo9HTcZYqAJZZXX9lIUjEvZ1CU+xv1fxH4zfDWct/U5V6kKsv8pYpLqdZMaR/az02hfxD+tbQaoh1dl9KY5z8PYTMZW9SLqEpcSBevKo+JRyKpMok8Pld8RvtCUarfcHduSmzBAJE=
secure: tZRC5hbi7iWy4hgWC0ET67kOKjn77945UZJEm8XeOnahVjfBL7gSpBTtyjD6D7Ah7qJTZNtK2lfItciT4gJfH4HYDVUBlLYKzVvw/9usYpEvsdAaAnpT2gMwXHEIupUYh0tv5ccvHt/SqHmK0HVTFdzGR/IztmHIcFlDcbNdTUtUg+9RUTBkO2n946UHk/I8xKhW4GefEuv4bRbm44H27G/VWcOABsMNvYA+kF7VDTjSlyJmACgG1BMbMDwn6lM6c7HLhVbQi52Oyt9E3dz0o1/puWldq60jiESsay99CrAr4pi4LAeMu+TdQnc8QzsCd+CZBFNIk1t56ElM2aQ8w43W+IYfu1/0+w12ySOasamqyOdLJng0MXmqzVoBcfisefVuBNmx4n+yQO+qu4a3Qze/PgPeqWHF9Jy5EbVezg+lb/4m/0NK/3o2za3dJjTKJGxuCLvdCGLVEeDLw50FQxbV+k+tgeB/1jmIWymhdUteWBjBdPUqL+ntaqWuSbMjC0euOdGkR1ibfYaUy5UmBtTRkcb/AwSti9lCNdBN8Ez1qmIO4U92gN93B10fEObLjv76T7NLJQUPks/u4nCClsYRclJPDTDe/kv9HL6R6eHJGWd045r0tKtYj1WVFUlv8EvB5rIzVKCn6cjM636+enavuTzg66aRZvu8DgNqLNo=

16 changes: 1 addition & 15 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
{
"ignore_dirs": [
".git",
"node_modules",
".gradle",
".idea",
"gradle",
"build",
"example",
"example-redux",
"android/.gradle",
"android/gradle",
"android/app/build"
]
}
{}
9 changes: 9 additions & 0 deletions AndroidE2E/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.externalNativeBuild
1 change: 1 addition & 0 deletions AndroidE2E/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
26 changes: 26 additions & 0 deletions AndroidE2E/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "com.reactnativenavigation.e2e.androide2e"
minSdkVersion 18
targetSdkVersion 25
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.3.1'

androidTestCompile 'org.assertj:assertj-core:2.5.0'
androidTestCompile 'com.android.support:support-annotations:25.3.1'
androidTestCompile 'com.android.support.test:runner:0.5'
androidTestCompile 'com.android.support.test:rules:0.5'
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'
}
17 changes: 17 additions & 0 deletions AndroidE2E/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/danielzl/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Loading