Jacob Parker abb8ea3aea Implement a postMessage function and an onMessage event for webviews …
Summary:
JS API very similar to web workers and node's child process.

Work has been done by somebody else for the Android implementation over at #7020, so we'd need to have these in sync before anything gets merged.

I've made a prop `messagingEnabled` to be more explicit about creating globals—it might be sufficient to just check for an onMessage handler though.

![screen shot 2016-09-06 at 10 28 23](https://cloud.githubusercontent.com/assets/7275322/18268669/b1a12348-741c-11e6-91a1-ad39d5a8bc03.png)
Closes https://github.com/facebook/react-native/pull/9762

Differential Revision: D4008260

fbshipit-source-id: 84b1afafbc0ab1edc3dfbf1a8fb870218e171a4c
2016-10-16 06:43:46 -07:00
..
2016-01-07 12:03:17 -08:00
2016-08-10 13:13:34 -07:00
2016-07-12 05:59:12 -07:00
2016-09-08 17:58:50 -07:00
2016-09-08 17:58:50 -07:00
2015-06-03 09:49:35 -08:00
2016-07-20 08:58:59 -07:00
2015-03-26 02:42:24 -08:00
2016-06-09 09:58:31 -07:00
2016-06-07 07:43:49 -07:00
2016-07-12 05:59:12 -07:00
2016-06-09 09:58:31 -07:00