Marketing Cloud EngagementのMobilePush における受信トレイメッセージの画面表示に関するご質問をいただく場合がありますが、MobilePush SDKはデータ授受のみを行うため、画面描画には関与しません。そのため画面表示に関してはアプリ側での個別の開発が必要となります。本記事ではこの点に関してよくある QA を記載します。
Q. MobilePush SDKを組み込んでInbox Messageを送信しましたが、アプリケーションの画面上に何も表示されません。
A. MobilePush SDKは受信トレイメッセージ画面の作成や描画処理を行いません。受信トレイメッセージを画面上で見せるには、MobilePush SDKが受信したデータを取り出し、リストビューなどの画面UI要素をアプリケーション側で自作して描画する必要があります。
Q. リストビューで受信トレイメッセージを表示する際、どの項目をどの画面要素にマッピングすればよいですか(あるいはマッピングはどのようになっていますか)
A. アプリ側の実装に依存します。MobilePush SDKの関与によりデータ項目が自動的に画面へマッピングされることはありません。
MobilePush SDKから取得した件名や本文などのデータをどの画面項目に割り当てるかは、アプリケーションの開発側で自由に決定していただいて構いません。
Q. 受信トレイメッセージの表示画面やレイアウトを変更したい場合はどのように対応すればよいですか。
A. 上記と同様の理由により、モバイルアプリ開発担当者と調整のうえ、画面の開発・修正を行ってください。
Q. 受信トレイメッセージのリストビュー等に画像を表示することはできますか。
A. デフォルト機能の範囲では画像データを含めて表示する機能は提供されていません。
ただし、カスタムキー(Custom Keys)を利用して画像のURLを送信し、アプリケーション側でそのURLを呼び出して描画するなどのカスタマイズが代表的です。
Marketing Cloud Engagement | MobilePush 受信トレイ メッセージ (Inbox Messages) に関してのポイントまとめ
カスタムキーについて (iOS)
005393426

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.