Appearance
Target messenger settings
You can create messenger ads for specific messengers by selecting the messenger in eWizard Editor.
For now, messenger ad is available only for WeChat, stay tuned for future updates.
To set up a target messenger:
Open the
targetMessenger.jsonfile in thecommon/metadatadirectory.json// ./common/metadata/targetMessenger.json { "targetMessenger": [ { "code": "wechat", "name": "WeChat" } ] }codeis the id of the item used for eWizard Editor.nameis the name of the messenger displayed in eWizard Editor.
Add the path to
targetMessenger.jsonin the./.ewizard/settings.jsonfile.json// ./.ewizard/settings.json { "path": { "metadata": { "targetMessenger": "common/metadata/targetMessenger.json" } } }Set the
defaultandcurrentmessengers in./settings.json. For example:json// ./settings.json { "metadata": { "targetMessenger": { "default": "wechat", "current": "wechat" } } }defaultis the default messenger displayed first when selecting a messenger.currentis the current messenger for the messenger ad.