Files
react-native/Libraries
Jakub Šimo 82f3964f2d Change Promise.done to Promise.then
Summary:
- [X] Explain the **motivation** for making this change.
- [X] Provide a **test plan** demonstrating that the code is solid.
- [X] Match the **code formatting** of the rest of the codebase.
- [X] Target the `master` branch, NOT a "stable" branch.

`Promise.done` is non-standard, `Promise.then` is preferred as a standardized method. On Android, polyfill filling in `Promise.done` has been most probably taken out in newer versions of `react-native` and app crashes when it tries to query network state through `NetInfo`.

No tests are required for this change.
Closes https://github.com/facebook/react-native/pull/13489

Differential Revision: D4897566

Pulled By: mkonicek

fbshipit-source-id: 140720d7367cd1d9bf8924ec8a118c1bff4e461d
2017-04-16 15:30:46 -07:00
..
2017-02-21 09:11:01 -08:00
2017-04-05 18:31:06 -07:00
2017-03-28 08:38:13 -07:00
2016-11-02 12:29:15 -07:00
2017-04-05 18:31:06 -07:00
2017-04-12 16:31:35 -07:00
2017-03-29 02:35:59 -07:00
2017-04-13 04:49:51 -07:00
2017-01-31 11:13:50 -08:00
2016-11-23 11:28:29 -08:00
2017-02-21 15:18:40 -08:00
2017-04-11 12:25:38 -07:00
2017-03-21 08:01:58 -07:00