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

AppsFlyerUtils.java « analytics « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66370c05e5cc79b758256dab3b9fe4dd5b210109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.mapswithme.maps.analytics;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import java.util.Map;

class AppsFlyerUtils
{
  private AppsFlyerUtils()
  {
    // Utility class.
  }

  static boolean isFirstLaunch(@NonNull Map<String, String> conversionData)
  {
    String isFirstLaunch = conversionData.get("is_first_launch");
    return Boolean.parseBoolean(isFirstLaunch);
  }

  @Nullable
  static String getDeepLink(@NonNull Map<String, String> conversionData)
  {
    return conversionData.get("af_dp");
  }
}