//
//  PhobosConfig.h
//  Pods
//
//  Created by Thierry on 16/2/15.
//
//

#ifndef PhobosConfig_h
#define PhobosConfig_h

typedef NS_ENUM (NSInteger, PhobosSigningType) {
    PhobosSigningTypeUndefined = 0,
    PhobosSigningTypeAppStore,
    PhobosSigningTypeRelease,
    PhobosSigningTypeDebug
};

static NSString *sdkVersion = @"2.0.4";

#ifdef DEBUG
#define phobosLog(...) NSLog(@"[Phobos] %@",__VA_ARGS__)
#else
#define phobosLog(...)
#endif

#define PhobosGray            @"PhobosGray"

#define PhobosBeginTime       @"PhobosBeginTime"          //记录APP打开|从后台启动时的时间戳
#define PhobosEndTime         @"PhobosEndTime"            //记录APP退出|退到后台时的时间戳
#define PhobosCacheKey        @"PhobosCacheKey"           //old 存放持久化埋点数据的key
#define PhobosTempCacheKey    @"PhobosTempCacheKey"       //old 临时存放待发送埋点数据的key

#define PhobosShardCount      50                          //收集数据分段发送的个数
#define PhobosMaxSendCount    100                         // 最大发送数量

#define PhobosSafeString(string) (string ?: @"")

#endif /* PhobosConfig_h */
