mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Include manufacturer in deviceName metadata (#55699)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55699 Helps with devices that have obscure model names, and aligns with presentation in Android Studio (e.g. Logcat device selection). Changelog: [Android][Changed] - CDP: The`deviceName` field in app metadata is now prefixed with the manufacturer Reviewed By: rubennorte, emily8rown Differential Revision: D94082955 fbshipit-source-id: 4305eaefed0170354480a88501c6b95560421dfd
This commit is contained in:
1 parent
aabdf55f0d
commit
9b906753d9
1 file changed
+1
-1
+1
-1
@@ -77,7 +77,7 @@ public object AndroidInfoHelpers {
|
||||
"appDisplayName" to appDisplayName,
|
||||
"appIdentifier" to appIdentifier,
|
||||
"platform" to "android",
|
||||
"deviceName" to Build.MODEL,
|
||||
"deviceName" to "${Build.MANUFACTURER} ${Build.MODEL}",
|
||||
"reactNativeVersion" to getReactNativeVersionString(),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user