UNPKG

react-native-tizen-dotnet

Version:

react-native-tizen-dotnet is a React Native framework for developer to build Tizen.NET apps on Tizen.

25 lines (22 loc) 661 B
/** * 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: 'tizen', get isTVOS() { //const constants = require('NativeModules').IOSConstants; //return constants ? (constants.interfaceIdiom === 'tv') : false; return true; }, select: (obj: Object) => obj.tizen, }; module.exports = Platform;