// // AppDelegate.h // JSJPCoach // // Created by apple on 2017/3/10. // Copyright © 2017年 Danson. All rights reserved. // #import #import #import "LocationTracker.h" //语音 #import //个推 #import // iOS10 及以上需导入 UserNotifications.framework #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0 #import #endif /// 个推开发者网站中申请App时,注册的AppId、AppKey、AppSecret #define kGtAppId @"SzkJDeohQw5eiqF6hZU01A" #define kGtAppKey @"XokJOiykLiABMmO0Ci3lC3" #define kGtAppSecret @"981RLJonkj8MCmWv1Ze7O" //bugly #define BUGLY_APP_ID @"892772f2c8" @interface AppDelegate : UIResponder { BMKMapManager *_mapManager; } @property (strong, nonatomic) UIWindow *window; @property (nonatomic, assign) BOOL isBackgroundTask; @property (nonatomic, assign) BOOL isPeriodIng; //嵌入后台相关 @property (nonatomic, retain) LocationTracker *locationTracker; @property (nonatomic, retain) NSTimer *locationUpdateTimer; //记录当前播放语音 好做关闭处理 @property (retain, nonatomic) AVSpeechSynthesizer *myAudioPlayer; //个推token @property(nonatomic,strong)NSString* token; /** 接口留给推送用的。 */ -(void)gotoLoad; @end