Commit Graph

16 Commits

Author SHA1 Message Date
Adam Miskiewicz
8455b75dbd BackAndroid -> BackHandler 2017-07-19 12:59:39 -07:00
Adam Miskiewicz
1919bff719 Disable noisy logging unless process.env.REACT_NAV_LOGGING is set 2017-07-19 12:59:39 -07:00
Koen Punt
fac91e097b allow empty path to be matched (#1811)
previously when opening a deeplink without a path, it would result in an array of 2 empty strings, which is are falsy values, so the full url was passed on.

by checking if the value is actually `undefined` instead of falsy we have no more false positives
2017-06-22 20:30:12 -07:00
Gabriel Bull
77b04f342d Removed dependency on fbjs (#1698) 2017-06-03 12:21:08 -07:00
Adam Miskiewicz
f3a958dca1 Update/Fix Prettier + Eslint config for codebase
Run Prettier/Eslint on entire codebase, fix issues
2017-05-14 14:18:09 -07:00
Koen Punt
506214f9ab allow uriPrefix to be a regular expression (#1431)
when accepting both a protocol url and a normal url, it's hard to define a static prefix.
2017-05-12 14:40:10 -07:00
Mike Grabowski
a14ac29c30 Remove navigationOptions from component props (#1231) 2017-04-26 17:06:00 +05:30
Mike Grabowski
bbe9caff06 Fix eslint issues and turn on prettier by default (#1195)
* Automatically generate prop-types from Flow

* Remove propTypes usage

* Fix flow

* Modify some eslint settings

* Fix flowtype

* Lint tweaks

* use prop-types pkg

* Run prettier

* Fix flow

* Fix few lint issues

* Make eslint pass

* Run lint on tests

* Fix flow

* Fixes

* Alphabetical

* Trailing comma: ES5 for website compat, also fix config/paths

* Apply eslint --fix only to src now

* Fix missing transitionconfig

* Update TypeDefinition.js

* New stuff

* Unstage website and examples

* reformat code

* Update circle.yml
2017-04-24 17:31:22 +05:30
Mike Grabowski
0f6b328687 Add an ability to disable built-in logger (#1115)
* Fix logger

* Update Navigators.md

* Update Navigators.md
2017-04-24 11:08:36 +02:00
Mike Grabowski
a252b46c50 Breaking: Replace containerOptions with just props (#1100) 2017-04-19 14:10:50 +05:30
Mike Grabowski
26b165200f Add onNavigationStateChange (#453)
* Support

* Revert consoleg

* Add very bad doc

* Improve docs

* Surpress flow
2017-02-23 22:18:06 -08:00
Satyajit Sahoo
a7b1243053 Fix flow (#305)
* Fix Flow and Android build

* Enable flow on CI

* Fix and suppress flow errors
2017-02-13 08:26:30 -08:00
Satyajit Sahoo
1247806f9b Make compatible with webpack (#244) 2017-02-08 13:00:58 -08:00
Emiel Mols
33767311ae createNavigationContainer: cache previously used navigation when stateful (#202)
Prevents unnecessary creating new navigation objects when the container is passing through other props that are changing
2017-02-06 22:42:33 +05:30
Jeff Carbonella
2e6f7a015f Use redux constants and action creator functions (#120) 2017-02-02 02:57:51 +05:30
Adam Miskiewicz
c37ad8a0a9 Initial public release of React Navigation 2017-01-26 11:53:33 -08:00