microsoft / microsoft/AdaptiveCards

[Rendering] can not render

Open
#8,728 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Renderers Bug
Dominant language
C#
Stars
2k
Forks
595
Avg merge
1d 19h
Merged PRs (30d)
1

Description

Target Platforms

Android

SDK Version

1.4

Application Name

Microsoft Teams

Problem Description

can not render Application Card on Android app

Screenshots

wecom-temp-396818-f958b8ada9ca1cb21aa433ca3ab4f7cb
wecom-temp-266902-e1d1bca64e7cbdbefe3cf2efe50ba16e

Card JSON
{
  $schema: 'http://adaptivecards.io/schemas/adaptive-card.json',
  version: '1.4',
  type: 'AdaptiveCard',
  body: [
    {
      type: "TextBlock",
      size: "Medium",
      weight: "Bolder",
      text: "👏 Welcome to ONES.com for Teams! Let’s increase efficiency and productivity!",
      wrap: true,
    },
    {
      type: "Container",
      items: [
        {
          type: "TextBlock",
          text: "🔔 Issue notifications",
          wrap: true,
          weight: "Bolder",
        },
        {
          type: "TextBlock",
          wrap: true,
          text: 'Send "notify" to  App, to subscribe and receive notifications you care about.',
        },
      ],
    },
    {
      type: "Container",
      items: [
        {
          type: "TextBlock",
          text: "📜 Help guide",
          wrap: true,
          weight: "Bolder",
        },
        {
          type: "TextBlock",
          wrap: true,
          text: 'Get instructions by sending "help" to App..',
        },
      ],
      separator: true,
      spacing: "Medium",
    },
    {
      type: "Container",
      items: [
        {
          type: "TextBlock",
          text: "👩 Contact us",
          wrap: true,
          weight: "Bolder",
        },
        {
          type: "TextBlock",
          wrap: true,
          text: "Questions, bug reports, feedbacks — we’re here for it all, please [contact us]",
        },
      ],
      separator: true,
      spacing: "Medium",
    },
    {
      type: "Container",
      items: [
        {
          type: "TextBlock",
          text: "👤 Log out your account",
          wrap: true,
          weight: "Bolder",
        },
        {
          type: "TextBlock",
          wrap: true,
          text: 'Send "logout" to App.',
        },
      ],
      spacing: "Medium",
      separator: true,
    },
  ],
}
Sample Code Language

nodejs

Sample Code

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied Adaptive Card on Android with SDK version 1.4 in Microsoft Teams, then validate the Card JSON and compare the Android rendering result with the screenshots. Done means the cause of the failed Application Card rendering is identified and the card renders correctly, with a focused reproduction or test documenting the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, nodejs
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.