| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:tools="http://schemas.android.com/tools" |
| | | package="com.demo.app"> |
| | | package="com.demo"> |
| | | |
| | | <uses-permission android:name="android.permission.READ_PHONE_STATE"></uses-permission> |
| | | |
| | | <application |
| | | android:name="com.demo.app.MyApplication" |
| | | android:name=".app.MyApplication" |
| | | android:allowBackup="true" |
| | | android:icon="@mipmap/ic_launcher" |
| | | android:label="@string/app_name" |
| | | android:supportsRtl="true" |
| | | tools:replace="android:allowBackup,android:theme" |
| | | android:theme="@style/Theme.Android"> |
| | | android:theme="@style/Theme.Android" |
| | | tools:replace="android:allowBackup,android:theme"> |
| | | |
| | | <meta-data |
| | | android:name="UMENG_CHANNEL" |
| | |
| | | |
| | | |
| | | <activity |
| | | android:name="com.demo.app.ui.SplashActivity" |
| | | android:name=".app.ui.SplashActivity" |
| | | android:label="@string/app_name"> |
| | | <intent-filter> |
| | | <action android:name="android.intent.action.MAIN" /> |
| | |
| | | </activity> |
| | | |
| | | <activity |
| | | android:name="com.demo.app.ui.MainActivity" |
| | | android:name=".app.ui.MainActivity" |
| | | android:configChanges="keyboard|orientation|screenSize" |
| | | android:exported="true" |
| | | android:launchMode="singleTask"></activity> |
| | | |
| | | |
| | | <activity |
| | | android:name=".wxapi.WXEntryActivity" |
| | | android:exported="true" |
| | | android:label="@string/app_name" |
| | | android:launchMode="singleTask" |
| | | android:screenOrientation="portrait" |
| | | android:taskAffinity="${applicationId}" |
| | | android:theme="@android:style/Theme.Translucent.NoTitleBar"></activity> |
| | | |
| | | <!-- 极光推送--> |
| | | <service |
| | | android:name=".app.push.MyJpushService" |
| | | android:enabled="true" |
| | | android:exported="false" |
| | | android:process=":pushcore"> |
| | | <intent-filter> |
| | | <action android:name="cn.jiguang.user.service.action" /> |
| | | </intent-filter> |
| | | </service> |
| | | |
| | | <receiver |
| | | android:name=".app.push.MyJpushReceiver" |
| | | android:enabled="true" |
| | | android:exported="false"> |
| | | <intent-filter> |
| | | <!--Required 用户注册 SDK 的 intent--> |
| | | <action android:name="cn.jpush.android.intent.REGISTRATION" /> |
| | | <!--Required 用户接收 SDK 消息的 intent--> |
| | | <action android:name="cn.jpush.android.intent.MESSAGE_RECEIVED" /> |
| | | <!--Required 用户接收 SDK 通知栏信息的 intent--> |
| | | <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED" /> |
| | | <!--Required 用户打开自定义通知栏的 intent--> |
| | | <action android:name="cn.jpush.android.intent.NOTIFICATION_OPENED" /> |
| | | <!-- 接收网络变化 连接/断开 since 1.6.3 --> |
| | | <action android:name="cn.jpush.android.intent.CONNECTION" /> |
| | | |
| | | <category android:name="${applicationId}" /> |
| | | </intent-filter> |
| | | </receiver> |
| | | |
| | | <activity |
| | | android:name=".app.push.PushOpenClickActivity" |
| | | android:exported="true"> |
| | | |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.JNotifyActivity" /> |
| | | <category android:name="android.intent.category.DEFAULT" /><!--Required SDK核心功能 since 4.2.2--> |
| | | <category android:name="${applicationId}" /> |
| | | </intent-filter> |
| | | |
| | | </activity> |
| | | |
| | | |
| | | </application> |
| | | |
| | | </manifest> |