# The card inside the app

The card is drawn natively in the app. It can show when the app comes to the foreground, or when the app calls a name you set. It is not a web page, and it is not sent through Apple’s push service.

## The record

The panel and an agent fill the same record: image, title, body, one button, link, colors, a close button, and a place. One card shows at a time. If several match, the newest published card wins. The type is the system font.

## Where it sits

Center is a window in the middle, and the app behind it is dimmed. Full screen fills the app. There is no separate dim. A banner sits on the top edge or the bottom edge, and the app behind it stays usable.

Every place uses the same fields, including a close button. A second button, a countdown, and a custom font are not part of this record. There is no fifth place.

## On an open

An open is the app coming to the foreground. Coming forward again while the app is already open does not count as another open.

Once, on the next open. That device does not see it again. On every open, it shows each time the app comes to the foreground. On the first open only, it shows the first time that device opens the app. On the open you number, once. You write the number in the panel. After a specific push, it shows on the next open of the devices that received that push.

## A name the app calls

The name is a short text on the campaign. The app calls that name at the moment you choose, with one line of code. The SDK asks then, and draws the card if this device has one for that name.

The call is not a log. It is not stored. If the app never calls the name, the card does not show. On that device it can show once, or on every call.
