Files
react-native/ReactAndroid/src/main/java/com/facebook/react
Jimmy Mayoukou 31f30aa4b3 Return empty bundle when passing an empty map to toBundle
Summary:
(I swear this was working before...)

Right now, when passing an empty map to `toBundle` it returns null:
- It feels counter-intuitive to have the data modified without any good reason;
- It is different from what iOS does

This PR fixes this behavior by returning an empty `Bundle` instead of `null`.

It is a breaking change though, and I'm not sure where it goes with the new bridge.
Closes https://github.com/facebook/react-native/pull/7847

Differential Revision: D3504024

fbshipit-source-id: 97ca19259fdf3219e8237e44a313645503a695fd
2016-06-30 10:43:58 -07:00
..
2016-04-23 02:37:28 -07:00
2016-01-22 16:20:13 +00:00
2016-06-17 16:28:27 -07:00
2016-06-15 09:43:58 -07:00
2016-02-16 16:51:39 -08:00
2016-06-29 07:43:23 -07:00
2016-06-30 07:43:22 -07:00
2016-06-29 04:13:23 -07:00
2016-06-22 04:13:36 -07:00
2016-06-17 04:13:29 -07:00
2016-06-17 04:13:29 -07:00
2016-06-17 04:13:29 -07:00