Welcome to mirror list, hosted at ThFree Co, Russian Federation.

marketing_service_ios.mm « platform - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7d32d3d0febd362fbbf11b23382b070f4cf99680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "platform/marketing_service.hpp"

void MarketingService::SendPushWooshTag(string const & tag)
{
  SendPushWooshTag(tag, vector<string>{"1"});
}

void MarketingService::SendPushWooshTag(string const & tag, string const & value)
{
  SendPushWooshTag(tag, vector<string>{value});
}

void MarketingService::SendPushWooshTag(string const & tag, vector<string> const & values)
{
  if (m_pushwooshSender)
    m_pushwooshSender(tag, values);
}

void MarketingService::SendMarketingEvent(string const & tag, map<string, string> const & params)
{
  if (m_marketingSender)
    m_marketingSender(tag, params);
}