/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/React/DevSupport/RCTInspectorUtils.h
26 строк
773 B
Alex Hunt
Update device APIs for macOS compatibility (#45515)
23 июл 2024, 15:55
23 июл 2024, 15:55
7571e9a
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> // This is a subset of jsinspector_modern::HostTargetMetadata with ObjC types, // containing the members implemented by getHostMetadata. @interface CommonHostMetadata : NSObject @property (nonatomic, strong) NSString *appDisplayName; @property (nonatomic, strong) NSString *appIdentifier; @property (nonatomic, strong) NSString *deviceName; @property (nonatomic, strong) NSString *platform; @property (nonatomic, strong) NSString *reactNativeVersion; @end @interface RCTInspectorUtils : NSObject + (CommonHostMetadata *)getHostMetadata; @end