12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- //
- // AppDelegate.h
- // JSJPCoach
- //
- // Created by apple on 2017/3/10.
- // Copyright © 2017年 Danson. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import <BaiduMapAPI_Base/BMKMapManager.h>
- #import "LocationTracker.h"
- //语音
- #import <AVFoundation/AVFoundation.h>
- //个推
- #import <GTSDK/GeTuiSdk.h>
- // iOS10 及以上需导入 UserNotifications.framework
- #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_10_0
- #import <UserNotifications/UserNotifications.h>
- #endif
- /// 个推开发者网站中申请App时,注册的AppId、AppKey、AppSecret
- #define kGtAppId @"SzkJDeohQw5eiqF6hZU01A"
- #define kGtAppKey @"XokJOiykLiABMmO0Ci3lC3"
- #define kGtAppSecret @"981RLJonkj8MCmWv1Ze7O"
- //bugly
- #define BUGLY_APP_ID @"892772f2c8"
- @interface AppDelegate : UIResponder <UIApplicationDelegate>
- {
- 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
|