热云sdk修改

This commit is contained in:
xiaohui.wang 2022-05-23 10:15:16 +08:00
parent f31a89bfc5
commit 8b1aed29ac
60 changed files with 884 additions and 31 deletions

View File

@ -1,5 +1,6 @@
fileFormatVersion: 2
guid: acb3950be72d04b4987fa4c723d354fa
guid: 92601ed0376ed4146beb8d7220306094
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
@ -14,7 +15,7 @@ PluginImporter:
- first:
Any:
second:
enabled: 0
enabled: 1
settings: {}
- first:
Editor: Editor
@ -22,11 +23,6 @@ PluginImporter:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b15101531c3f64b8cb5703573ae356c3
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3fd55ecbb5c0a47f2bf307912d5510c2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
//
// AppProxyBuildConfig.h
// TrackTest
//
// Created by apple on 2022/5/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface AppProxyBuildConfig : NSObject
+ (AppProxyBuildConfig *)shareInstance;
/// 是否打开Debug模式 总日志开关
/// 需要在初始化之前调用
@property (nonatomic, assign) BOOL AppProxyLog;
/// 控制上报SSid 和 热云Id 以及归因结果的域名环境
@property (nonatomic, assign) BOOL AppProxyIsProductEnvironment;
@property (nonatomic, assign, readonly) NSInteger VERSION_CODE;
@property (nonatomic, strong, readonly) NSString *VERSION_NAME;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2ee172b69853d4629959489c5380029a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
//
// AppProxyFramework.h
// AppProxyFramework
//
// Created by apple on 2022/5/16.
//
#import <Foundation/Foundation.h>
//! Project version number for AppProxyFramework.
FOUNDATION_EXPORT double AppProxyFrameworkVersionNumber;
//! Project version string for AppProxyFramework.
FOUNDATION_EXPORT const unsigned char AppProxyFrameworkVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AppProxyFramework/PublicHeader.h>
#import <AppProxyFramework/AppProxyManager.h>
#import <AppProxyFramework/AppProxyUserSourceManager.h>
#import <AppProxyFramework/AppProxyPaymentMarco.h>
#import <AppProxyFramework/AppProxyBuildConfig.h>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 30c0f31b2c5404c1dabae77db75190d6
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,133 @@
//
// HotCloudsManager.h
// TrackTest
//
// Created by apple on 2022/4/28.
//
#import <Foundation/Foundation.h>
#import "AppProxyPaymentMarco.h"
NS_ASSUME_NONNULL_BEGIN
extern NSString *const CODE_SUPPLY_RECORD;
extern NSString *const CODE_DISPATCH_ALL_RECORD;
extern NSString *const CODE_RECORD_TYPE;
extern NSString *const ReportItemKey;
extern NSString *const KEY_SP_USER_ID;
@interface AppProxyManager : NSObject
@property (nonatomic, strong) NSString *ssid;//finder ssid
@property (nonatomic, strong) NSString *did;//Finder did
+ (AppProxyManager *)sharedManager;
/// 初始化appProxy,目前是空实现
- (void)initAppProxy;
#pragma mark - Finder and Tracking method
///获取uuid
- (NSString *)getUUid;
/// 登录方法
- (void)onLogin:(NSInteger)uid isWechatLogin:(BOOL)isWechatLogin;
/// 用户退出登录
- (void)onLogout:(NSInteger)uid;
/**
*
*
* @param transactionId ,
* @param amount 1.111
* @param sourceFrom
* @param paymentType (weixinpay)
* @param currencyType CNY
*
*/
- (void)paymentSuccess:(NSString *)transactionId amount:(float)amount sourceFrom:(NSString *)sourceFrom paymentType:(AppProxyPaymentType)paymentType currencyType:(AppProxyCurrencyType)currencyType;
#pragma mark - Finder method
/// App设置Retention
- (void)applicationDidFinishLaunchingSetRetention;
/// 设置Finder的HeadInfo
- (void)setHeaderInfo:(nullable NSNumber *)uid params:(nullable NSDictionary *)params;
/// 设置Finder的用户属性
- (void)appLogProfileSet:(NSDictionary *)profile;
/// Finder上报事件
- (void)recordEvent:(NSString *)key map:(NSDictionary *)map;
- (void)recordEventNoFilter:(NSString *)key map:(NSDictionary *)map;
- (void)record:(NSString *)key map:(NSDictionary *)map;
- (void)record:(NSString *)key;
/// 付费取消
- (void)paymentCancel:(float)amount sourceFrom:(NSString *)sourceFrom paymentType:(AppProxyPaymentType)paymentType currencyType:(AppProxyCurrencyType)currencyType;
/// 获取Finder的header参数
- (NSDictionary *)getFinderHeadInfoBaseMap;
#pragma mark - Tracking method
/// 获取热云设备ID
- (NSString *)getRyDeviceId;
/// 注册用户
- (void)onRegister:(NSInteger)uid isWechatLogin:(BOOL)isWechatLogin;
/// 热云上报事件
- (void)trackingKeyEventNoFilter:(NSString *)key map:(NSDictionary *)map;
- (void)reyunAdIdRequest:(NSDictionary *)map;
- (void)reyunAdIdClick:(NSDictionary *)map;
- (void)reyunAdIdFill:(NSDictionary *)map;
- (void)reyunAdIdShow:(NSDictionary *)map;
- (void)reyunAdIdFailed:(NSDictionary *)map;
- (void)reyunPlacmentRequest:(NSDictionary *)map;
- (void)reyunPlacmentLoad:(NSDictionary *)map;
- (void)reyunPlacmentFailed:(NSDictionary *)map;
- (void)reyunLayerRequest:(NSDictionary *)map;
- (void)reyunLayerLoad:(NSDictionary *)map;
- (void)reyunLayerFailed:(NSDictionary *)map;
- (void)reyunLifeAvailable:(NSDictionary *)map;
//使用event_9
- (void)reyunKeyEvent1:(NSDictionary *)map;
//使用event_10
- (void)reyunKeyEvent2:(NSDictionary *)map;
//使用event_11
- (void)reyunKeyEvent3:(NSDictionary *)map;
//使用event_12
- (void)reyunKeyEvent4:(NSDictionary *)map;
- (void)reyunKeyEvent9:(NSDictionary *)map;
- (void)reyunKeyEvent10:(NSDictionary *)map;
- (void)reyunKeyEvent11:(NSDictionary *)map;
- (void)reyunKeyEvent12:(NSDictionary *)map;
//jump
- (void)reyunKeyEvent13:(NSDictionary *)map;
- (void)reyunKeyEvent14:(NSDictionary *)map;
- (void)reyunKeyEvent15:(NSDictionary *)map;
- (void)reyunKeyEvent16:(NSDictionary *)map;
- (void)reyunKeyEvent17:(NSDictionary *)map;
- (void)reyunKeyEvent18:(NSDictionary *)map;
- (void)reyunKeyEvent19:(NSDictionary *)map;
- (void)reyunKeyEvent20:(NSDictionary *)map;
- (void)reyunKeyEvent21:(NSDictionary *)map;
- (void)reyunKeyEvent22:(NSDictionary *)map;
- (void)reyunKeyEvent23:(NSDictionary *)map;
- (void)reyunKeyEvent24:(NSDictionary *)map;
- (void)reyunKeyEvent25:(NSDictionary *)map;
- (void)reyunKeyEvent26:(NSDictionary *)map;
- (void)reyunKeyEvent27:(NSDictionary *)map;
- (void)reyunKeyEvent28:(NSDictionary *)map;
- (void)reyunKeyEvent29:(NSDictionary *)map;
- (void)reyunKeyEvent30:(NSDictionary *)map;
- (void)reyunRelatedAdShow:(NSString *)adPlatform sourceId:(NSString *)sourceId;
- (void)reyunRelatedAdClick:(NSString *)adPlatform sourceId:(NSString *)sourceId;
#pragma mark - init
/// 初始化Finder
- (BOOL)initAppLog:(NSString *)appId isChina:(BOOL)isChina launchOptions:(nullable NSDictionary *)launchOptions;
/// 初始化热云
- (BOOL)initTracking:(NSString *)reyunAppKey;
/// 初始化热云和Finder
/// appID 是项目AppID 自己设定的
- (BOOL)initFinderAndTracking:(NSInteger)appID reyunAppKey:(NSString *)reyunAppKey finderAppID:(NSString *)finderAppID finderIsChina:(BOOL)finderIsChina;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 25936efddc36f49bf95e9b756c0c8284
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,26 @@
//
// AppProxyPaymentMarco.h
// AppProxyFramework
//
// Created by apple on 2022/5/16.
//
#ifndef AppProxyPaymentMarco_h
#define AppProxyPaymentMarco_h
/// 定义一个AppProxyPaymentType的字符串类型作为枚举类型
typedef NSString *AppProxyPaymentType NS_STRING_ENUM;
FOUNDATION_EXPORT AppProxyPaymentType const AppProxyPaymentTypeAlipay;
FOUNDATION_EXPORT AppProxyPaymentType const AppProxyPaymentTypeWeixinpay;
FOUNDATION_EXPORT AppProxyPaymentType const AppProxyPaymentTypeUnionpay;
FOUNDATION_EXPORT AppProxyPaymentType const AppProxyPaymentTypeYeepay;
typedef NSString *AppProxyCurrencyType NS_STRING_ENUM;
FOUNDATION_EXPORT AppProxyCurrencyType const AppProxyCurrencyTypeCNY;
FOUNDATION_EXPORT AppProxyCurrencyType const AppProxyCurrencyTypeUSD;
#endif /* AppProxyPaymentMarco_h */

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 92666220c701241afbae02c243d022a2
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
//
// AppProxyUserSourceManager.h
// TrackTest
//
// Created by apple on 2022/5/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface AppProxyUserSourceManager : NSObject
+ (AppProxyUserSourceManager *)sharedManager;
/// 项目的APPID,每个项目都会有一个AppID
- (void)initUserSource:(NSInteger)appId;
/// 获取归因结果
- (NSInteger)getRealSource;
- (NSInteger)getSource;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2943441cfb945451191cb6189037f1a7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ceaeab5f577ef4dd59c54f8e754714bd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 509d4fd64487244d0b4056716cfdfd7f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
framework module AppProxyFramework {
umbrella header "AppProxyFramework.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6f0989a95770f476dbb2140ac7a99ae6
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Headers/AppProxyBuildConfig.h</key>
<data>
MFD7rEfyn2F1n+c65JQieS1PzC4=
</data>
<key>Headers/AppProxyFramework.h</key>
<data>
UA1oZCUN15NAfH2brkSGWNWFytw=
</data>
<key>Headers/AppProxyManager.h</key>
<data>
13BuAuyYNWYGTCK8kx7Z2JfQtpY=
</data>
<key>Headers/AppProxyPaymentMarco.h</key>
<data>
Y5Hl/an5DuD/NNCQzm5zTntQmk4=
</data>
<key>Headers/AppProxyUserSourceManager.h</key>
<data>
DhySDYdPskkKmf9zu318larcmro=
</data>
<key>Info.plist</key>
<data>
XWCnFw5sJCjoe71suqt0K2H/4p8=
</data>
<key>Modules/module.modulemap</key>
<data>
oejaYlvz+1CGnDot6/q/H5XRTig=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/AppProxyBuildConfig.h</key>
<dict>
<key>hash</key>
<data>
MFD7rEfyn2F1n+c65JQieS1PzC4=
</data>
<key>hash2</key>
<data>
kPBCkblQtG/05z6zGk3gsN4PEfu5srRk1aM+EDMdIxQ=
</data>
</dict>
<key>Headers/AppProxyFramework.h</key>
<dict>
<key>hash</key>
<data>
UA1oZCUN15NAfH2brkSGWNWFytw=
</data>
<key>hash2</key>
<data>
HzlHTcVr/V0CHM6MHKsbIkFY2TKf9DiS9+bRUPNWlDo=
</data>
</dict>
<key>Headers/AppProxyManager.h</key>
<dict>
<key>hash</key>
<data>
13BuAuyYNWYGTCK8kx7Z2JfQtpY=
</data>
<key>hash2</key>
<data>
CAP++HAL/Ur6hXyrBoJeNjtprTxf3kNy9d+2fgRP27U=
</data>
</dict>
<key>Headers/AppProxyPaymentMarco.h</key>
<dict>
<key>hash</key>
<data>
Y5Hl/an5DuD/NNCQzm5zTntQmk4=
</data>
<key>hash2</key>
<data>
G9SkWMBnyzczusUCkJ3GeUn6gn8WlVxCGhUdvXX7QJE=
</data>
</dict>
<key>Headers/AppProxyUserSourceManager.h</key>
<dict>
<key>hash</key>
<data>
DhySDYdPskkKmf9zu318larcmro=
</data>
<key>hash2</key>
<data>
4YqXRIRBqVGeKN3gvGw5qC04p8T+APS8tsdFnF22I7g=
</data>
</dict>
<key>Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
oejaYlvz+1CGnDot6/q/H5XRTig=
</data>
<key>hash2</key>
<data>
rWMhGQlrRPa+viqzUSvKWnqtK7PSXnvooE1BnIgTOUU=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 22dd842db07bc47afa9afc591edbf717
guid: 9c9e06061005a48e5b939903d9640325
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: c93683bed992a4e3681f29a46f132e47
guid: c1d81b0cff2ba4e56ac6b063f5a99ec2
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a0a97e1055c8f4863b6465d5599c23fb
guid: 9024e754db2b24e049608a1dabf90d42
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a62aa8307b9e24912af76fe47689aaac
guid: a22389f79f5b841e7b423fb4709a5a22
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: acb9513871b5b41868c2134e36402fe0
guid: 866f4d7c779be4b21ba5cbd821a3b81e
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2a515d5b55e994d39b1b1cbcd31a6127
guid: f383a74ab258848508a92f695eed6649
DefaultImporter:
externalObjects: {}
userData:

View File

@ -29,6 +29,9 @@ extern NSString *const kRewardVideoUnitIDKey;
extern NSString *const kInterstitialUnitIDKey;
extern NSString *const kNativeUnitIDKey;
extern NSString *const kSplashUnitIDKey;
extern NSString *const kBytePlusAppIdKey;
extern NSString *const kBytePlusEnvironmentalKey;
//extern NSString *const kIPinfoConfigKey;
extern NSString *const kHolidayConfigKey;

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: dba3f301ee0ba40ed90949298466afda
guid: bfd40d753c4784a1ebefdfc04cf7a8bd
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a61217de6e57b4181bebe74c797f4c92
guid: 1c6e0d4a87fb14e4d875a61b0102114e
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: f701726f746bc43dda47170fde0e282d
guid: eabf940933e054b15bd32d0bd583d679
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 90b8e697eed434720ba2cddda4d1142b
guid: f45d64b1010694cbd81916ffa3d67d9b
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 26ef04b55b98f477b869ce8ab90c6911
guid: acf438f4ebe9b4af8b01e6508ea3ea64
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: b463df6d399114b0dbfedc0aaa717628
guid: a6a61aec18ebe4a7880aec7a04865a4e
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 1cf6d579a60e4485eb4fb00800c87ce7
guid: 906ed44ccd5ad45d993f5a82e03d8ee5
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 62850c24318bd48489ebe18d752640df
guid: 005426bc8556242b98d80a6ded2416b4
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fa702c44de33d41cf9b12b3a56dfe731
guid: 5d1d1e9c2d6b14821978efb613d458ee
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 020043201ebe0461584e03793eb38eeb
guid: cefbe21e4bbf747e3ad84623db1d05af
DefaultImporter:
externalObjects: {}
userData:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 470d2299639544b95afff8cf9989ebee
guid: e4ec2b692746a4fcfb6ae2592eb1fcfd
DefaultImporter:
externalObjects: {}
userData:

View File

@ -339,7 +339,7 @@
</data>
<key>Headers/JPCAdvertManager.h</key>
<data>
ZrFHzF8gC2qugm/TqbzwwzGXnaA=
JdNQLgnij2f8AvBfiIjWWaJacrI=
</data>
<key>Headers/JPCAdvertUtils.h</key>
<data>
@ -515,7 +515,11 @@
</data>
<key>Info.plist</key>
<data>
OZSHiUaus43+qeMkL1u+DngcdBc=
FdbHo7JYWhYzm2MFBj+Gs47TsTM=
</data>
<key>slience.mp3</key>
<data>
J3Pb4NhTpkAuZvRHGtePenylVL4=
</data>
</dict>
<key>files2</key>
@ -1428,11 +1432,11 @@
<dict>
<key>hash</key>
<data>
ZrFHzF8gC2qugm/TqbzwwzGXnaA=
JdNQLgnij2f8AvBfiIjWWaJacrI=
</data>
<key>hash2</key>
<data>
VAeAeRI/84Ql4YH9Nx7VhcUiDfNSA3OgIdLpfxDZ9oA=
PtdLzRVOJoGVH8tPn2bBcNw3cp+UcHVoisJT5wxB2l0=
</data>
</dict>
<key>Headers/JPCAdvertUtils.h</key>
@ -1908,6 +1912,17 @@
ywfK7ptQqeH1ZhK7dL6AaUaZl1EjqzC6ZQ6KDvVSxDc=
</data>
</dict>
<key>slience.mp3</key>
<dict>
<key>hash</key>
<data>
J3Pb4NhTpkAuZvRHGtePenylVL4=
</data>
<key>hash2</key>
<data>
v7ztv5l0gXN7M8JOEJ3nCcM3B2pUWAPrOX4LQX4hyNY=
</data>
</dict>
</dict>
<key>rules</key>
<dict>

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3f4df6a50178a4af99ebb9cf1555f643
guid: eb1ee68b7ca06495db51873e52626e06
DefaultImporter:
externalObjects: {}
userData:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0a0650b82d8474269b3eab1140571b75
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5a5a4ea734dac4447a517299477ebb04
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,46 @@
//
// Tracking.h
// ReYun_Tracking
//
// Created by jesse on 2018/1/19.
// Copyright © 2018年 yun. All rights reserved.
// based 1.9.4_a1
#define REYUN_TRACKING_VERSION @"1.9.4.2_jsfc"
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface Tracking : NSObject
//开启打印日志(在initWithAppKey:withChannelId:前调用)
//正式上线包请关掉
+(void) setPrintLog :(BOOL)print;
// 开启数据统计
+ (void)initWithAppKey:(NSString *)appKey withChannelId:(NSString *)channelId withParam:(nullable NSDictionary *)params;
//注册成功后调用
+ (void)setRegisterWithAccountID:(NSString *)account withParam:(nullable NSDictionary *)regParam;
//登陆成功后调用
+ (void)setLoginWithAccountID:(NSString *)account withParam:(nullable NSDictionary *)loginParam;
//生成订单
+(void)setDD:(NSString *)ryTID hbType:(NSString*)hbType hbAmount:(float)hbAmount;
// 支付完成,付费分析,记录玩家充值的金额(人民币单位是元)
+(void)setRyzf:(NSString *)ryTID ryzfType:(NSString*)ryzfType hbType:(NSString*)hbType hbAmount:(float)hbAmount;
//广告展示时调用 playSuccess 参数调用广告填充成功时传1 不成功时传2
+(void)onAdShow:(NSString *)adPlatform adId:(NSString *)adId isSuccess:(int)playSuccess;
//广告点击时调用
+(void)onAdClick:(NSString *)adPlatform adId:(NSString *)adId;
//页面时长监测
+(void)trackViewName:(NSString *)pageID duration:(long)duration;
//APP使用时长监测
+(void)setTrackAppDuration:(long)duration;
//自定义事件
+(void)setEvent:(NSString *)eventName param:(nullable NSDictionary *)custom_params;
+(void)retention;
//获取设备信息
+(NSString*)getDeviceId;
+(void)setEventInternal:(NSString *)eventName andExtra:(NSDictionary *)extra;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,80 @@
fileFormatVersion: 2
guid: 400b1e78b60b24c72aa8813a086a7e85
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
fileFormatVersion: 2
guid: 43b9a84bc84c04256b50a92df7b50f07
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3e86d280457a1498ba19e3e7ac4d9a02
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,68 @@
fileFormatVersion: 2
guid: 7e250c83ba8ed4630bea6e8d51100fa7
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -12,6 +12,24 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
@ -20,14 +38,44 @@ PluginImporter:
- first:
Editor: Editor
second:
enabled: 1
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: None
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: None
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant: