mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
9baff8f437
Summary: public This is the first module moving to the new model of working with Promises. We now warn on uses of callback version. At some point we will remove that. Reviewed By: davidaurelio Differential Revision: D2849811 fb-gh-sync-id: 8a31924cc2b438efc58f3ad22d5f27c273563472
21 lines
509 B
JavaScript
21 lines
509 B
JavaScript
/**
|
|
* Copyright (c) 2015-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
* @providesModule Platform
|
|
* @flow
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
var Platform = {
|
|
OS: 'android',
|
|
get Version() { return require('NativeModules').AndroidConstants.Version; },
|
|
};
|
|
|
|
module.exports = Platform;
|