BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/React/DevSupport
Run
Logout
Edit File
Size: 1.86 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/React/DevSupport/RCTInspectorUtils.mm
Text
Base64
/* * 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 "RCTInspectorUtils.h" #import <React/RCTConstants.h> #import <React/RCTVersion.h> #import <UIKit/UIKit.h> @implementation CommonHostMetadata @end @implementation RCTInspectorUtils + (CommonHostMetadata *)getHostMetadata { #if TARGET_OS_IPHONE UIDevice *device = [UIDevice currentDevice]; NSString *deviceName = [device name]; #else // macOS does not support UIDevice. Use System Configuration. This API // returns a nullable value, but is non-blocking (compared with // `[NSHost currentHost]`) and is ideal since deviceName is optional. NSString *deviceName = (__bridge NSString *)SCDynamicStoreCopyComputerName(nil, nil); #endif // TARGET_OS_IPHONE auto version = RCTGetReactNativeVersion(); CommonHostMetadata *metadata = [[CommonHostMetadata alloc] init]; metadata.appDisplayName = [[[NSBundle mainBundle] infoDictionary] objectForKey:(NSString *)kCFBundleNameKey]; metadata.appIdentifier = [[NSBundle mainBundle] bundleIdentifier]; metadata.platform = RCTPlatformName; metadata.deviceName = deviceName; metadata.reactNativeVersion = [NSString stringWithFormat:@"%i.%i.%i%@", [version[@"major"] intValue], [version[@"minor"] intValue], [version[@"patch"] intValue], [version[@"prerelease"] isKindOfClass:[NSNull class]] ? @"" : [@"-" stringByAppendingString:version[@"prerelease"]]]; return metadata; } @end
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 15
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
RCTDevLoadingViewProtocol.h
540 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTDevLoadingViewSetEnabled.h
331 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTDevLoadingViewSetEnabled.m
514 B
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorDevServerHelper.h
655 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorDevServerHelper.mm
7.31 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorNetworkHelper.h
953 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorNetworkHelper.mm
4.15 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorUtils.h
773 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTInspectorUtils.mm
1.86 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerClient.h
1.05 KB
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerClient.m
1.51 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerConnection.h
2.69 KB
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPackagerConnection.mm
11.39 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPausedInDebuggerOverlayController.h
385 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RCTPausedInDebuggerOverlayController.mm
4.88 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).