Android App consuming the latest ACL 2.8.0 is crashing for cards that use images with specified height in px.
Images with height auto and stretch work fine. It's the Image height given in pixels that causes issues.
Note: Previous versions before 2.8.0 work fine and are able to render such cards.
Upon further investigation through Android Studio, the app sends a A/libc: SIGABRT Signal when trying to parse the height in the object model method -
AdaptiveCards::HeightTypeFromString(param) [Screenshot attached of the stack trace]
Please comment if further info is required.
Screenshots
The below gif shows a rendering of a card in Android ACL 2.7.0 (which works) and the same card in Android ACL 2.8.0 which crashes the app
Target Platforms
Android
SDK Version
2.8.0
Application Name
Cisco Webex
Problem Description
Android App consuming the latest ACL 2.8.0 is crashing for cards that use images with specified height in px.
Images with height auto and stretch work fine. It's the Image height given in pixels that causes issues.
Note: Previous versions before 2.8.0 work fine and are able to render such cards.
Upon further investigation through Android Studio, the app sends a A/libc: SIGABRT Signal when trying to parse the height in the object model method -
AdaptiveCards::HeightTypeFromString(param)
[Screenshot attached of the stack trace]Please comment if further info is required.
Screenshots
The below gif shows a rendering of a card in Android ACL 2.7.0 (which works) and the same card in Android ACL 2.8.0 which crashes the app
Card JSON
Sample Code Language
Java
Sample Code
AdaptiveCardObjectModel.java
public static HeightType HeightTypeFromString(String t) { return HeightType.swigToEnum(AdaptiveCardObjectModelJNI.HeightTypeFromString(t)); }