|  |  |  | 
|---|
|  |  |  | </intent-filter> | 
|---|
|  |  |  | </activity> | 
|---|
|  |  |  | <!--        <activity android:name=".activity.MainActivity" />--> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- Required since 5.2.0 --> | 
|---|
|  |  |  | <!-- 新的 tag/alias 接口结果返回需要开发者配置一个自定义的Service --> | 
|---|
|  |  |  | <!-- 3.3.0开始所有事件将通过该类回调 --> | 
|---|
|  |  |  | <!-- 5.2.0开始所有事件将通过该类回调 --> | 
|---|
|  |  |  | <!-- 该广播需要继承 JPush 提供的 JPushMessageService 类, 并如下新增一个 Intent-Filter --> | 
|---|
|  |  |  | <service | 
|---|
|  |  |  | android:name=".service.PushService" | 
|---|
|  |  |  | android:enabled="true" | 
|---|
|  |  |  | android:exported="false"> | 
|---|
|  |  |  | <intent-filter> | 
|---|
|  |  |  | <action android:name="cn.jpush.android.intent.SERVICE_MESSAGE" /> | 
|---|
|  |  |  | <category android:name="com.dayu.pipirrapp" /> | 
|---|
|  |  |  | </intent-filter> | 
|---|
|  |  |  | </service> | 
|---|
|  |  |  | <!-- Since JCore2.0.0 Required SDK核心功能--> | 
|---|
|  |  |  | <!-- 可配置android:process参数将Service放在其他进程中;android:enabled属性不能是false --> | 
|---|
|  |  |  | <!-- 这个是自定义Service,要继承极光JCommonService,可以在更多手机平台上使得推送通道保持的更稳定 --> | 
|---|
|  |  |  | <service android:name="xx.xx.XService" | 
|---|
|  |  |  | android:enabled="true" | 
|---|
|  |  |  | android:exported="false" | 
|---|
|  |  |  | android:process=":pushcore"> | 
|---|
|  |  |  | <intent-filter> | 
|---|
|  |  |  | <action android:name="cn.jiguang.user.service.action" /> | 
|---|
|  |  |  | </intent-filter> | 
|---|
|  |  |  | </service> | 
|---|
|  |  |  | </application> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </manifest> | 
|---|