//
//  AppDelegate+RemotePush.h
//  Gengmei
//
//  Created by licong on 16/1/4.
//  Copyright © 2016年 Wanmeichuangyi. All rights reserved.
//
@class GMPushObject;

@interface AppDelegate (RemotePush)

/**
 *  @author wangyang, 16-03-25 11:03:03
 *
 *  启动参数需要保存，以方便在app完全启动后，再处理启动参数
 *  @since 5.9.2
 */
@property (nonatomic, strong) NSDictionary *launchOptions;


/**
 *  @author wangyang, 16-03-25 14:03:40
 *
 *  调用该方法以处理 launchOptions
 *  @since 5.9.2
 */
- (void)manageLaunchOptions;

- (BOOL)remoteNotificationsGranted; //代表是否注册成功
- (void)setupJPushIfAllowed;
- (void)setupJPushNotification;

- (BOOL)userIsAllowPush;

- (void)didReceiveConversationPushWithUserKey:(GMPushObject *)pushInfo;
- (void)didReceiveCustomerServicePushWithUserKey:(GMPushObject *)pushInfo;
@end
