react-native/Libraries/JavaScriptAppEngine/Initialization
Chester Wood e966cd1041 Set navigator.product to ReactNative
Summary: Fix for [Issue 1331](https://github.com/facebook/react-native/issues/1331). Sets navigator.product to ReactNative and navigator.productSub to the version string in package.json.

Note that the code requires package.json, which works fine in the RN packager, but webpack users will probably a need to configure a json loader in their config file.

Tested using UIExplorer and console.log printout of the product variables in xcode and Chrome debugger.
Closes https://github.com/facebook/react-native/pull/4083

Reviewed By: svcscm

Differential Revision: D2696881

Pulled By: vjeux

fb-gh-sync-id: 511446432dcd0ec658100715129c77153e743423
2015-11-25 12:45:28 -08:00
..
__tests__ Update jest to 0.7.1 2015-11-04 14:42:13 -08:00
ExceptionsManager.js Simplify logging exceptions from JS to native 2015-11-05 12:51:47 -08:00
InitializeJavaScriptAppEngine.js Set navigator.product to ReactNative 2015-11-25 12:45:28 -08:00
SourceMap.js [react-packager] Rewrite dependency graph (support node_modules, speed, fix bugs etc) 2015-06-19 18:05:18 -08:00
checkFlowAtRuntime.js Make flow check async 2015-08-17 03:13:16 -07:00
loadSourceMap.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
parseErrorStack.js Make flow check async 2015-08-17 03:13:16 -07:00
source-map-url.js [ReactNative] Use ASCII double quotes 2015-07-24 13:16:25 -08:00