Commit 19fb7fbf by 刘卓鑫

友盟第三方SDK导入

parent 4f142d2e
//
++ /dev/null
//
// TXADHeader.h
// ColorfulSchool
//
// Created by liuZX on 2019/1/4.
// Copyright © 2019年 Colorful Any Door. All rights reserved.
//
#ifndef TXADHeader_h
#define TXADHeader_h
#define kTXAdAPPID @"1108089964"
#define kTXAdNativePLACEMENTID @"8030751158735005" //原生广告id
#define kTXAdLauchPLACEMENTID @"9090758636743260" //开屏广告id
#define kTXAdBannerPLACEMENTID @"1090852550236628" //banner广告id
#endif /* TXADHeader_h */
//
++ /dev/null
//
// ZXTXAdTool.h
// ColorfulSchool
//
// Created by liuZX on 2019/1/4.
// Copyright © 2019年 Colorful Any Door. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GDTMobSDK/GDTSDKDefines.h>
#import <GDTMobSDK/GDTSDKConfig.h>
#import <GDTMobSDK/GDTNativeAd.h>
#import <GDTMobSDK/GDTSplashAd.h>
#import <GDTMobSDK/GDTMobBannerView.h>
#import <GDTMobSDK/GDTMobInterstitial.h>
#import <GDTMobSDK/GDTNativeExpressAd.h>
#import <GDTMobSDK/GDTNativeExpressAdView.h>
NS_ASSUME_NONNULL_BEGIN
@interface ZXTXAdTool : NSObject
//单例化
kSINGLETON_FOR_HEADER(ZXTXAdTool)
/*开屏广告**/
-(void) createLauchAdByPlacmentId:(NSString *) placenmentId;
/**原生广告 */
- (void) createNativieAdByView:(UIView *) view
topView:(UIView *) topView
viewController:(UIViewController *) viewController
isFirstPage:(BOOL) isFirstPage
isHasBottomMargin:(BOOL) isHasBottomMargin;
/**banner广告*/
-(void) createBannerAdByPlacmentId:(NSString *) placenmentId currentViewController:(UIViewController *) viewController
superView:(UIView *) superView;
@property (nonatomic, copy) dispatch_block_t closeAction;
@end
NS_ASSUME_NONNULL_END
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "mineNavBg@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForAnalyzing = "YES"
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "FD2E8643412994484A50DA7D3BFB1EFC"
BuildableName = "UMCAnalytics"
BlueprintName = "UMCAnalytics"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
buildConfiguration = "Debug"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForAnalyzing = "YES"
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6F6B630FA5213AB083E7CEF1F986FE44"
BuildableName = "UMCCommon"
BlueprintName = "UMCCommon"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
buildConfiguration = "Debug"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1100"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForAnalyzing = "YES"
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "6075E73CE9761233A64B697DA4780D60"
BuildableName = "UMCCommonLog"
BlueprintName = "UMCCommonLog"
ReferencedContainer = "container:Pods.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
buildConfiguration = "Debug"
allowLocationSimulation = "YES">
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES"
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/UMCAnalytics
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/UMCAnalytics" "${PODS_ROOT}/UMCCommon"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/UMCAnalytics
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/UMCCommon
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/UMCCommon"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/UMCCommon
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/UMCCommonLog
FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/UMCCommonLog/UMCommonLog"
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_ROOT = ${SRCROOT}
PODS_TARGET_SRCROOT = ${PODS_ROOT}/UMCCommonLog
PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
SKIP_INSTALL = YES
Versions/Current/Headers
\ No newline at end of file
Versions/Current/UMAnalytics
\ No newline at end of file
//
// MobClick.h
// Analytics
//
// Copyright (C) 2010-2017 Umeng.com . All rights reserved.
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
typedef void(^CallbackBlock)();
/**
统计的场景类别,默认为普通统计;若使用游戏统计API,则需选择游戏场景类别,如E_UM_NORMAL。
*/
typedef NS_ENUM (NSUInteger, eScenarioType)
{
E_UM_NORMAL = 0, // default value
};
@class CLLocation;
@interface MobClick : NSObject <UIAlertViewDelegate>
#pragma mark basics
///---------------------------------------------------------------------------------------
/// @name 设置
///---------------------------------------------------------------------------------------
/** 设置 统计场景类型,默认为普通应用统计:E_UM_NORMAL
@param
@return void.
*/
+ (void)setScenarioType:(eScenarioType)eSType;
/** 开启CrashReport收集, 默认YES(开启状态).
@param value 设置为NO,可关闭友盟CrashReport收集功能.
@return void.
*/
+ (void)setCrashReportEnabled:(BOOL)value;
#pragma mark event logs
///---------------------------------------------------------------------------------------
/// @name 页面计时
///---------------------------------------------------------------------------------------
/** 手动页面时长统计, 记录某个页面展示的时长.
@param pageName 统计的页面名称.
@param seconds 单位为秒,int型.
@return void.
*/
+ (void)logPageView:(NSString *)pageName seconds:(int)seconds;
/** 自动页面时长统计, 开始记录某个页面展示时长.
使用方法:必须配对调用beginLogPageView:和endLogPageView:两个函数来完成自动统计,若只调用某一个函数不会生成有效数据。
在该页面展示时调用beginLogPageView:,当退出该页面时调用endLogPageView:
@param pageName 统计的页面名称.
@return void.
*/
+ (void)beginLogPageView:(NSString *)pageName;
/** 自动页面时长统计, 结束记录某个页面展示时长.
使用方法:必须配对调用beginLogPageView:和endLogPageView:两个函数来完成自动统计,若只调用某一个函数不会生成有效数据。
在该页面展示时调用beginLogPageView:,当退出该页面时调用endLogPageView:
@param pageName 统计的页面名称.
@return void.
*/
+ (void)endLogPageView:(NSString *)pageName;
///---------------------------------------------------------------------------------------
/// @name 事件统计
///---------------------------------------------------------------------------------------
/** 自定义事件,数量统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID
@param eventId 网站上注册的事件Id.
@param label 分类标签。不同的标签会分别进行统计,方便同一事件的不同标签的对比,为nil或空字符串时后台会生成和eventId同名的标签.
@param accumulation 累加值。为减少网络交互,可以自行对某一事件ID的某一分类标签进行累加,再传入次数作为参数。
@return void.
*/
+ (void)event:(NSString *)eventId; //等同于 event:eventId label:eventId;
/** 自定义事件,数量统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID
*/
+ (void)event:(NSString *)eventId label:(NSString *)label; // label为nil或@""时,等同于 event:eventId label:eventId;
/** 自定义事件,数量统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID
*/
+ (void)event:(NSString *)eventId attributes:(NSDictionary *)attributes;
+ (void)event:(NSString *)eventId attributes:(NSDictionary *)attributes counter:(int)number;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
beginEvent,endEvent要配对使用,也可以自己计时后通过durations参数传递进来
@param eventId 网站上注册的事件Id.
@param label 分类标签。不同的标签会分别进行统计,方便同一事件的不同标签的对比,为nil或空字符串时后台会生成和eventId同名的标签.
@param primarykey 这个参数用于和event_id一起标示一个唯一事件,并不会被统计;对于同一个事件在beginEvent和endEvent 中要传递相同的eventId 和 primarykey
@param millisecond 自己计时需要的话需要传毫秒进来
@return void.
@warning 每个event的attributes不能超过10个
eventId、attributes中key和value都不能使用空格和特殊字符,必须是NSString,且长度不能超过255个字符(否则将截取前255个字符)
id, ts, du是保留字段,不能作为eventId及key的名称
*/
+ (void)beginEvent:(NSString *)eventId;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)endEvent:(NSString *)eventId;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)beginEvent:(NSString *)eventId label:(NSString *)label;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)endEvent:(NSString *)eventId label:(NSString *)label;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)beginEvent:(NSString *)eventId primarykey :(NSString *)keyName attributes:(NSDictionary *)attributes;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)endEvent:(NSString *)eventId primarykey:(NSString *)keyName;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)event:(NSString *)eventId durations:(int)millisecond;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)event:(NSString *)eventId label:(NSString *)label durations:(int)millisecond;
/** 自定义事件,时长统计.
使用前,请先到友盟App管理后台的设置->编辑自定义事件 中添加相应的事件ID,然后在工程中传入相应的事件ID.
*/
+ (void)event:(NSString *)eventId attributes:(NSDictionary *)attributes durations:(int)millisecond;
#pragma mark - user methods
/** active user sign-in.
使用sign-In函数后,如果结束该PUID的统计,需要调用sign-Off函数
@param puid : user's ID
@param provider : 不能以下划线"_"开头,使用大写字母和数字标识; 如果是上市公司,建议使用股票代码。
@return void.
*/
+ (void)profileSignInWithPUID:(NSString *)puid;
+ (void)profileSignInWithPUID:(NSString *)puid provider:(NSString *)provider;
/** active user sign-off.
停止sign-in PUID的统计
@return void.
*/
+ (void)profileSignOff;
///---------------------------------------------------------------------------------------
/// @name 地理位置设置
/// 需要链接 CoreLocation.framework 并且 #import <CoreLocation/CoreLocation.h>
///---------------------------------------------------------------------------------------
/** 设置经纬度信息
@param latitude 纬度.
@param longitude 经度.
@return void
*/
+ (void)setLatitude:(double)latitude longitude:(double)longitude;
/** 设置经纬度信息
@param location CLLocation 经纬度信息
@return void
*/
+ (void)setLocation:(CLLocation *)location;
///---------------------------------------------------------------------------------------
/// @name Utility函数
///---------------------------------------------------------------------------------------
/** 判断设备是否越狱,依据是否存在apt和Cydia.app
*/
+ (BOOL)isJailbroken;
/** 判断App是否被破解
*/
+ (BOOL)isPirated;
/** 设置 app secret
@param secret string
@return void.
*/
+ (void)setSecret:(NSString *)secret;
+ (void)setCrashCBBlock:(CallbackBlock)cbBlock;
/** DeepLink事件
@param link 唤起应用的link
@return void.
*/
+ (void)onDeepLinkReceived:(NSURL *)link;
/**
* 设置预置事件属性 键值对 会覆盖同名的key
*/
+(void) registerPreProperties:(NSDictionary *)property;
/**
*
* 删除指定预置事件属性
@param key
*/
+(void) unregisterPreProperty:(NSString *)propertyName;
/**
* 获取预置事件所有属性;如果不存在,则返回空。
*/
+(NSDictionary *)getPreProperties;
/**
*清空所有预置事件属性。
*/
+(void)clearPreProperties;
/**
* 设置关注事件是否首次触发,只关注eventList前五个合法eventID.只要已经保存五个,此接口无效
*/
+(void)setFirstLaunchEvent:(NSArray *)eventList;
/** 设置是否自动采集页面, 默认NO(不自动采集).
@param value 设置为YES, umeng SDK 会将自动采集页面信息
*/
+ (void)setAutoPageEnabled:(BOOL)value;
@end
Versions/Current/Headers
\ No newline at end of file
Versions/Current/UMCommon
\ No newline at end of file
//
// UMCommon.h
// UMCommon
//
// Created by San Zhang on 11/2/16.
// Copyright © 2016 UMeng. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for UMCommon.
FOUNDATION_EXPORT double UMCommonVersionNumber;
//! Project version string for UMCommon.
FOUNDATION_EXPORT const unsigned char UMCommonVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <UMCommon/PublicHeader.h>
#import <UMCommon/UMConfigure.h>
//
// UMConfigure.h
// UMCommon
//
// Created by San Zhang on 9/6/16.
// Copyright © 2016 UMeng. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UMConfigure : NSObject
/** 初始化友盟所有组件产品
@param appKey 开发者在友盟官网申请的appkey.
@param channel 渠道标识,可设置nil表示"App Store".
*/
+ (void)initWithAppkey:(NSString *)appKey channel:(NSString *)channel;
/** 设置是否在console输出sdk的log信息.
@param bFlag 默认NO(不输出log); 设置为YES, 输出可供调试参考的log信息. 发布产品时必须设置为NO.
*/
+ (void)setLogEnabled:(BOOL)bFlag;
/** 设置是否对日志信息进行加密, 默认NO(不加密).
@param value 设置为YES, umeng SDK 会将日志信息做加密处理
*/
+ (void)setEncryptEnabled:(BOOL)value;
+ (NSString *)umidString;
/**
集成测试需要device_id
*/
+ (NSString*)deviceIDForIntegration;
@end
/*
UMCommonLog.strings
testUMCommonLog
Created by 张军华 on 2017/12/11.
Copyright © 2017年 张军华. All rights reserved.
*/
////////////////////////////////////////////////
//init begin
//init 20000 - 20250
common_init_error1 = "[CIE10001]用户传入的appKey不合法,请到官网申请appkey,以免影响自己App的统计数据。网址如下:https://developer.umeng.com/docs/66632/detail/67191?um_channel=sdk";
common_init_warn1 = "当前传入的appkey和用户以前设置过的appkey不一样。";
common_init_warn2 = "当前传入的channel渠道为空。";
common_init_warn3 = "检测用户正在使用UI无埋点功能,检测到UMABTest.framework和UMAutoEventBinding.framework同时并存,在需要release发布需要删除UMABTest.framework。";
common_init_info1 = "正在使用国内Common组件化SDK版本。";
common_init_info2 = "正在使用国际化Common组件化SDK版本。";
common_init_debug1 = "UMCommon版本号:%@。";
common_init_verbose1 = "";
//init end
////////////////////////////////////////////////
////////////////////////////////////////////////
//integration_test begin
common_integrationtest_error1 = "experiment params invalid。";
common_integrationtest_error2 = "unknow experiment group key。";
common_integrationtest_error3 = "unknow experiment test key。";
common_integrationtest_error4 = "experiment params invalid。";
//client_test end
////////////////////////////////////////////////
////////////////////////////////////////////////
//deviceToken begin
common_deviceToken_error1 = "error,tokenStringWithData, token inValid! [%ld]。";
//deviceToken end
////////////////////////////////////////////////
////////////////////////////////////////////////
//Envelope begin
common_envelope_error1 = "信封json创建失败";
common_envelope_error2 = "信封raw size:(%d)超过最大限制,创建失败";
common_envelope_error3 = "信封压缩数据失败";
common_envelope_error4 = "信封打包失败";
common_envelope_error5 = "信封创建失败";
common_envelope_error6 = "信封size:(%d)超过最大限制,创建失败";
common_envelope_error7 = "发送信封(%@)失败";
common_envelope_error8 = "网络请求失败(Response Applog) {\"fail\": \"error\"}";
common_envelope_error9 = "网络请求失败(Response Applog) {\"fail\": \"statusCode\":%d}";
common_envelope_error10 = "网络请求失败(Error Applog) %@";
common_envelope_warn1 = "信封数量超过最大限制%d,并且删除此文件名为:%@";
common_envelope_info1 = "准备发送信封";
common_envelope_info2 = "信封名字的前缀:(%@)";
common_envelope_debug1 = "当前正在发送网络请求,还不能打包信封(network running=YES)。";
common_envelope_debug2 = "当前网络状态不可用。";
common_envelope_debug3 = "当前本地有信封存在,还不能打包新的信封。";
common_envelope_debug4 = "生成信封(%@)成功";
common_envelope_debug5 = "准备发送信封(%@)...";
common_envelope_debug6 = "发送信封(%@)成功";
common_envelope_debug7 = "网络请求成功(Response Applog) {\"success\": \"ok\"}";
common_envelope_debug8 = "将要打包的有状态数据:%@";
common_envelope_debug9 = "信封SerialNum:%d";
common_envelope_verbose1 = "";
//Envelope end
////////////////////////////////////////////////
////////////////////////////////////////////////
//SLEnvelope begin
common_slenvelope_error1 = "无状态信封json创建失败";
common_slenvelope_error2 = "无状态信封raw size:(%d)超过最大限制,创建失败";
common_slenvelope_error3 = "无状态信封压缩数据失败";
common_slenvelope_error4 = "无状态信封打包失败";
common_slenvelope_error5 = "无状态信封创建失败";
common_slenvelope_error6 = "无状态信封size:(%d)超过最大限制,创建失败";
common_slenvelope_error7 = "发送无状态信封(%@)失败";
common_slenvelope_error8 = "无状态信封(%@)不存在";
common_slenvelope_error9 = "网络请求失败(SLResponse Applog) {\"fail\": \"statusCode\":%d}";
common_slenvelope_warn1 = "";
common_slenvelope_info1 = "";
common_slenvelope_debug1 = "生成无状态信封(%@)成功";
common_slenvelope_debug2 = "准备发送无状态信封(%@)...";
common_slenvelope_debug3 = "发送无状态信封(%@)成功";
common_slenvelope_debug4 = "网络请求成功(SLResponse Applog) {\"success\": \"ok\"}";
common_slenvelope_debug5 = "将要打包的无状态数据:%@";
common_slenvelope_verbose1 = "";
//SLEnvelope end
////////////////////////////////////////////////
/*
UMPushLog.strings
UMessage
Created by shile on 2017/12/11.
Copyright © 2017年 shile. All rights reserved.
*/
//tag&alias
push_tagandalias_debug1 = "%@ 方法调用参数是: [%@]";
push_tagandalias_debug2 = "%@ 方法调用成功, 返回的内容是:[%@], remainNumber [%ld]!";
push_tagandalias_debug3 = "%@ 方法调用成功,name [%@] type [%@]!";
push_tagandalias_warning1 = "%@ 长度为0";
push_tagandalias_warning2 = "%@ 长度超过了限制[%ld],长度是[%ld]";
push_tagandalias_warning3 = "%@ 类型不为NSString或者为nil。";
push_tagandalias_error1 = "[PTAE10001] %@ 方法调用错误 ,token 为nil!,请查看:https://developer.umeng.com/docs/66632/detail/66964?um_channel=sdk";
push_tagandalias_error2 = " %@ 方法调用错误 ,服务器异常或禁止请求,请检查是否调用错误!";
push_tagandalias_error3 = "%@ 方法调用错误 ,error 是 %@,responseObject 内容是 %@!";
push_tagandalias_error4 = "%@ 方法调用错误 ,请求过快,请检查是否调用正确!";
push_tagandalias_error6 = "%@ 失败,name [%@] type [%@]![%@]";
//应用内消息
push_innermessage_warning1 = "已经有相同的label存在,label为%@:";
push_innermessage_debug1 = "失败!error code:%d,sql:%@, result,SQL);";
push_innermessage_error1 = "应用内消息统计回传失败,responseObject[%@],error[%@]";
push_innermessage_error2 = "获取UPush应用内 开屏 消息失败,请检查是否在后台创建消息,如不需要开屏功能,请移除相关代码!";
push_innermessage_error3 = "获取UPush应用内 开屏 消息失败 [%@]!";
push_innermessage_error4 = "获取UPush应用内 插屏 消息失败 [%@]!";
push_innermessage_error5 = "label 格式错误,label只能为字符串,且不能为nil,或空串!";
push_innermessage_error6 = "每个app只允许创建10个CardMessage!";
//UMessage
push_umessage_info1 = "UMPush版本号:%@";
push_umessage_debug1 = "payload 内容是: [%@]";
push_umessage_debug2 = "launchOptions 为 nil 或 class [%@] 不是 NSDictionary";
push_umessage_debug3 = "消息到达!内容是:[%@]";
push_umessage_debug4 = "这条消息已经上传到服务器了!msgid是:%@";
push_umessage_debug5 = "UMPushMessage 内容是:[%@]";
push_umessage_debug6 = "消息中不包含Alert, 内容是:[%@]";
push_umessage_debug7 = "今天已经回传过 register 请求了";
push_umessage_debug8 = "今天已经回传过 launch 请求了";
push_umessage_debug9 = "responseDic 返回格式错误,内容是:[%@]";
push_umessage_debug10 = "responseDic内容是:[%@]";
push_umessage_debug11 = "clickPolicy 详情:[%d]";
push_umessage_debug12 = "消息不属于友盟!";
push_umessage_debug13 = "register devicetoken [%@]!";
push_umessage_debug14 = "register AppKey [%@]!";
push_umessage_error1 = "userInfo 不包含msgid,或者消息不来自UPush!";
push_umessage_error3 = "UMPushMessage init异常:[%@]";
push_umessage_error4 = "application:didFailToRegisterForRemoteNotificationsWithError: [%@]";
push_umessage_error5 = "token错误! [%ld]";
push_umessage_error6 = "tagClass错误! tagClass是 [%@]";
push_umessage_error7 = "错误! 每一最多只能发送[%ld]个tag,当前数量是[%ld]!";
push_umessage_error8 = "WeightedTagClass错误! tagClass是 [%@]";
/*
UMCommonLog.strings
testUMCommonLog
Created by 张军华 on 2017/12/11.
Copyright © 2017年 张军华. All rights reserved.
*/
////////////////////////////////////////////////
//init begin
//init 20000 - 20250
common_init_error1 = "[CIE10001]用户传入的appKey不合法,请到官网申请appkey,以免影响自己App的统计数据。网址如下:https://developer.umeng.com/docs/66632/detail/67191?um_channel=sdk";
common_init_warn1 = "当前传入的appkey和用户以前设置过的appkey不一样。";
common_init_warn2 = "当前传入的channel渠道为空。";
common_init_warn3 = "检测用户正在使用UI无埋点功能,检测到UMABTest.framework和UMAutoEventBinding.framework同时并存,在需要release发布需要删除UMABTest.framework。";
common_init_info1 = "正在使用国内Common组件化SDK版本。";
common_init_info2 = "正在使用国际化Common组件化SDK版本。";
common_init_debug1 = "UMCommon版本号:%@。";
common_init_verbose1 = "";
//init end
////////////////////////////////////////////////
////////////////////////////////////////////////
//integration_test begin
common_integrationtest_error1 = "experiment params invalid。";
common_integrationtest_error2 = "unknow experiment group key。";
common_integrationtest_error3 = "unknow experiment test key。";
common_integrationtest_error4 = "experiment params invalid。";
//client_test end
////////////////////////////////////////////////
////////////////////////////////////////////////
//deviceToken begin
common_deviceToken_error1 = "error,tokenStringWithData, token inValid! [%ld]。";
//deviceToken end
////////////////////////////////////////////////
////////////////////////////////////////////////
//Envelope begin
common_envelope_error1 = "信封json创建失败";
common_envelope_error2 = "信封raw size:(%d)超过最大限制,创建失败";
common_envelope_error3 = "信封压缩数据失败";
common_envelope_error4 = "信封打包失败";
common_envelope_error5 = "信封创建失败";
common_envelope_error6 = "信封size:(%d)超过最大限制,创建失败";
common_envelope_error7 = "发送信封(%@)失败";
common_envelope_error8 = "网络请求失败(Response Applog) {\"fail\": \"error\"}";
common_envelope_error9 = "网络请求失败(Response Applog) {\"fail\": \"statusCode\":%d}";
common_envelope_error10 = "网络请求失败(Error Applog) %@";
common_envelope_warn1 = "信封数量超过最大限制%d,并且删除此文件名为:%@";
common_envelope_info1 = "准备发送信封";
common_envelope_info2 = "信封名字的前缀:(%@)";
common_envelope_debug1 = "当前正在发送网络请求,还不能打包信封(network running=YES)。";
common_envelope_debug2 = "当前网络状态不可用。";
common_envelope_debug3 = "当前本地有信封存在,还不能打包新的信封。";
common_envelope_debug4 = "生成信封(%@)成功";
common_envelope_debug5 = "准备发送信封(%@)...";
common_envelope_debug6 = "发送信封(%@)成功";
common_envelope_debug7 = "网络请求成功(Response Applog) {\"success\": \"ok\"}";
common_envelope_debug8 = "将要打包的有状态数据:%@";
common_envelope_debug9 = "信封SerialNum:%d";
common_envelope_verbose1 = "";
//Envelope end
////////////////////////////////////////////////
////////////////////////////////////////////////
//SLEnvelope begin
common_slenvelope_error1 = "无状态信封json创建失败";
common_slenvelope_error2 = "无状态信封raw size:(%d)超过最大限制,创建失败";
common_slenvelope_error3 = "无状态信封压缩数据失败";
common_slenvelope_error4 = "无状态信封打包失败";
common_slenvelope_error5 = "无状态信封创建失败";
common_slenvelope_error6 = "无状态信封size:(%d)超过最大限制,创建失败";
common_slenvelope_error7 = "发送无状态信封(%@)失败";
common_slenvelope_error8 = "无状态信封(%@)不存在";
common_slenvelope_error9 = "网络请求失败(SLResponse Applog) {\"fail\": \"statusCode\":%d}";
common_slenvelope_warn1 = "";
common_slenvelope_info1 = "";
common_slenvelope_debug1 = "生成无状态信封(%@)成功";
common_slenvelope_debug2 = "准备发送无状态信封(%@)...";
common_slenvelope_debug3 = "发送无状态信封(%@)成功";
common_slenvelope_debug4 = "网络请求成功(SLResponse Applog) {\"success\": \"ok\"}";
common_slenvelope_debug5 = "将要打包的无状态数据:%@";
common_slenvelope_verbose1 = "";
//SLEnvelope end
////////////////////////////////////////////////
/*
UMPushLog.strings
UMessage
Created by shile on 2017/12/11.
Copyright © 2017年 shile. All rights reserved.
*/
//tag&alias
push_tagandalias_debug1 = "%@ 方法调用参数是: [%@]";
push_tagandalias_debug2 = "%@ 方法调用成功, 返回的内容是:[%@], remainNumber [%ld]!";
push_tagandalias_debug3 = "%@ 方法调用成功,name [%@] type [%@]!";
push_tagandalias_warning1 = "%@ 长度为0";
push_tagandalias_warning2 = "%@ 长度超过了限制[%ld],长度是[%ld]";
push_tagandalias_warning3 = "%@ 类型不为NSString或者为nil。";
push_tagandalias_error1 = "[PTAE10001] %@ 方法调用错误 ,token 为nil!,请查看:https://developer.umeng.com/docs/66632/detail/66964?um_channel=sdk";
push_tagandalias_error2 = " %@ 方法调用错误 ,服务器异常或禁止请求,请检查是否调用错误!";
push_tagandalias_error3 = "%@ 方法调用错误 ,error 是 %@,responseObject 内容是 %@!";
push_tagandalias_error4 = "%@ 方法调用错误 ,请求过快,请检查是否调用正确!";
push_tagandalias_error6 = "%@ 失败,name [%@] type [%@]![%@]";
//应用内消息
push_innermessage_warning1 = "已经有相同的label存在,label为%@:";
push_innermessage_debug1 = "失败!error code:%d,sql:%@, result,SQL);";
push_innermessage_error1 = "应用内消息统计回传失败,responseObject[%@],error[%@]";
push_innermessage_error2 = "获取UPush应用内 开屏 消息失败,请检查是否在后台创建消息,如不需要开屏功能,请移除相关代码!";
push_innermessage_error3 = "获取UPush应用内 开屏 消息失败 [%@]!";
push_innermessage_error4 = "获取UPush应用内 插屏 消息失败 [%@]!";
push_innermessage_error5 = "label 格式错误,label只能为字符串,且不能为nil,或空串!";
push_innermessage_error6 = "每个app只允许创建10个CardMessage!";
//UMessage
push_umessage_info1 = "UMPush版本号:%@";
push_umessage_debug1 = "payload 内容是: [%@]";
push_umessage_debug2 = "launchOptions 为 nil 或 class [%@] 不是 NSDictionary";
push_umessage_debug3 = "消息到达!内容是:[%@]";
push_umessage_debug4 = "这条消息已经上传到服务器了!msgid是:%@";
push_umessage_debug5 = "UMPushMessage 内容是:[%@]";
push_umessage_debug6 = "消息中不包含Alert, 内容是:[%@]";
push_umessage_debug7 = "今天已经回传过 register 请求了";
push_umessage_debug8 = "今天已经回传过 launch 请求了";
push_umessage_debug9 = "responseDic 返回格式错误,内容是:[%@]";
push_umessage_debug10 = "responseDic内容是:[%@]";
push_umessage_debug11 = "clickPolicy 详情:[%d]";
push_umessage_debug12 = "消息不属于友盟!";
push_umessage_debug13 = "register devicetoken [%@]!";
push_umessage_debug14 = "register AppKey [%@]!";
push_umessage_error1 = "userInfo 不包含msgid,或者消息不来自UPush!";
push_umessage_error3 = "UMPushMessage init异常:[%@]";
push_umessage_error4 = "application:didFailToRegisterForRemoteNotificationsWithError: [%@]";
push_umessage_error5 = "token错误! [%ld]";
push_umessage_error6 = "tagClass错误! tagClass是 [%@]";
push_umessage_error7 = "错误! 每一最多只能发送[%ld]个tag,当前数量是[%ld]!";
push_umessage_error8 = "WeightedTagClass错误! tagClass是 [%@]";
//
// UMCommonLogHeaders.h
// UMCommonLog
//
// Created by 张军华 on 2017/12/4.
// Copyright © 2017年 张军华. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UMCommonLog/UMCommonLogManager.h>
//
// UMCommonLogManager.h
// testUMCommonLog
//
// Created by 张军华 on 2017/11/28.
// Copyright © 2017年 张军华. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UMCommonLogManager : NSObject
+(void) setUpUMCommonLogManager;
@end
framework module UMCommonLog {
umbrella header "UMCommonLog.h"
export *
module * { export * }
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment