itgoyo / AndroidSummary

12 stars 4 forks source link

极光推送 #100

Open itgoyo opened 5 years ago

itgoyo commented 5 years ago

接入的重点,或者说推送的重点是 PushService

package com.chindle.inclass.jpushdemo;

import cn.jpush.android.service.JCommonService;

public class PushService extends JCommonService {

}
<service android:name="com.chindle.inclass.jpushdemo.PushService"
        android:process=":pushcore">
        <intent-filter>
        <action android:name="cn.jiguang.user.service.action" />
        </intent-filter>
        </service>