You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash occurs in SDLDisplayCapabilities+ShowManagerExtensions#maxNumberOfMainFieldLines because the type of textFields.name is not "String".
Due to this SDL Core's bug smartdevicelink/sdl_core#2485 , MOBILE_API and HMI_API have different "TextFieldName" information. The 24th and subsequent TextFieldName differ.
As a result, some textFields.name has "long" value.
Type check is required as a temporary fix until above issue #2485 is resolved.
Reproduction Steps
HMI returns UI.GetCapabilities response which includes "textFields" with "addressLines" or "phoneNumber"
SDL app connects to SDL Core
SDL app update screen with SDLScreenManager and call maxNumberOfMainFieldLines function.
Expected Behavior
Crash do not occur
Observed Behavior
Crash occurs
OS & Version Information
SDL iOS Version: 6.1.1
Testing Against: Our internal HU
Test Case, Sample Code, and / or Example App
I will create PR later.
Additional information
MOBILE_API do not have navigationText, notificationText. So, following fields are shifted.
HMI
Mobile
navigationText
locationName
notificationText
locationDescription
locationName
addressLines
locationDescription
phoneNumber
addressLines
28
phoneNumber
29
//HMI's UI.GetCapabilities response to SDLCore. Each textFields has correct value.
Bug Report
Crash occurs in SDLDisplayCapabilities+ShowManagerExtensions#maxNumberOfMainFieldLines because the type of textFields.name is not "String".
Due to this SDL Core's bug smartdevicelink/sdl_core#2485 , MOBILE_API and HMI_API have different "TextFieldName" information. The 24th and subsequent TextFieldName differ.
As a result, some textFields.name has "long" value.
Type check is required as a temporary fix until above issue #2485 is resolved.
Reproduction Steps
Expected Behavior
Crash do not occur
Observed Behavior
Crash occurs
OS & Version Information
Test Case, Sample Code, and / or Example App
I will create PR later.
Additional information
MOBILE_API do not have navigationText, notificationText. So, following fields are shifted.
//HMI's UI.GetCapabilities response to SDLCore. Each textFields has correct value.
// Core's displayCapabilities response to HS. textFields have incorrect value.
// See above 28 value at function maxNumberOfMainFieldLines in Xcode debugger.
// Its type is "long".
The text was updated successfully, but these errors were encountered: