| | |
| | | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| | | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| | | <uses-permission android:name="android.permission.READ_LOGS" /> |
| | | <!-- 极光推送结束 --> |
| | | |
| | | |
| | | <application android:allowBackup="true" android:debuggable="false" android:icon="@drawable/Icon" android:requestLegacyExternalStorage="true" android:networkSecurityConfig="@xml/network_security_config" android:largeHeap="true" android:label="优数养老"> |
| | | <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.jinlu.onpro.fileProvider" android:grantUriPermissions="true" android:exported="false"> |
| | | <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths" /> |
| | | </provider> |
| | | <!--极光推送--> |
| | | <!--<provider android:name="Shared.Droid.JPush.HmsContentProvider" android:authorities="${applicationId}.hmspushprovider" android:exported="false"></provider>--> |
| | | <!-- Required SDK 核心功能--> |
| | | <!-- 可配置 android:process 参数将 PushService 放在其他进程中 --> |
| | | <service android:name="cn.jpush.android.service.PushService" android:enabled="true" android:exported="false"> |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.REGISTER" /> |
| | | <action android:name="cn.jpush.android.intent.REPORT" /> |
| | | <action android:name="cn.jpush.android.intent.PushService" /> |
| | | <action android:name="cn.jpush.android.intent.PUSH_TIME" /> |
| | | </intent-filter> |
| | | </service> |
| | | <!-- since 3.0.9 Required SDK 核心功能--> |
| | | <provider android:authorities="com.jinlu.onpro.DataProvider" android:name="cn.jpush.android.service.DataProvider" android:exported="true" /> |
| | | <!-- since 1.8.0 option 可选项。用于同一设备中不同应用的 JPush 服务相互拉起的功能。 --> |
| | | <!-- 若不启用该功能可删除该组件,或把 enabled 设置成 false ;App 不会被其他 App 拉起,但会拉起其他的 App。 --> |
| | | <service android:name="cn.jpush.android.service.DaemonService" android:enabled="false" android:exported="true"> |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.DaemonService" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </service> |
| | | <!-- since 3.1.0 Required SDK 核心功能--> |
| | | <provider android:authorities="com.jinlu.onpro.DownloadProvider" android:name="cn.jpush.android.service.DownloadProvider" android:exported="true" /> |
| | | <!-- Required SDK 核心功能--> |
| | | <receiver android:name="cn.jpush.android.service.PushReceiver" android:enabled="true"> |
| | | <intent-filter android:priority="1000"> |
| | | <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | <intent-filter> |
| | | <action android:name="android.intent.action.USER_PRESENT" /> |
| | | <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> |
| | | </intent-filter> |
| | | <!-- Optional --> |
| | | <intent-filter> |
| | | <action android:name="android.intent.action.PACKAGE_ADDED" /> |
| | | <action android:name="android.intent.action.PACKAGE_REMOVED" /> |
| | | <data android:scheme="package" /> |
| | | </intent-filter> |
| | | </receiver> |
| | | <!-- Required SDK 核心功能--> |
| | | <!-- 若您的业务中有使用极光富媒体功能,或者极光早上好功能,需要把此 Activity 的 exported 设置成 true。 --> |
| | | <activity android:name="cn.jpush.android.ui.PushActivity" android:configChanges="orientation|keyboardHidden" android:theme="@android:style/Theme.NoTitleBar" android:exported="false"> |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.ui.PushActivity" /> |
| | | <category android:name="android.intent.category.DEFAULT" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- SDK 核心功能--> |
| | | <!-- 若您的业务中有使用极光富媒体功能,或者极光早上好功能,需要把此 Activity 的 exported 设置成 true。 --> |
| | | <activity android:name="cn.jpush.android.ui.PopWinActivity" android:configChanges="orientation|keyboardHidden" android:exported="false" android:theme="@style/MyDialogStyle"> |
| | | <intent-filter> |
| | | <category android:name="android.intent.category.DEFAULT" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- since 3.6.0 --> |
| | | <activity android:name="cn.jpush.android.service.DActivity" android:enabled="true" android:exported="true" android:theme="@android:style/Theme.Translucent.NoTitleBar" android:taskAffinity="jpush.custom"> |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.DActivity" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- Required SDK 核心功能--> |
| | | <receiver android:name="cn.jpush.android.service.AlarmReceiver" /> |
| | | <!-- 3.5.0新增,用于定时展示功能 --> |
| | | <receiver android:name="cn.jpush.android.service.SchedulerReceiver" android:exported="false" /> |
| | | <!--Required SDK核心功能 since 3.3.0--> |
| | | <activity android:name="cn.jpush.android.service.JNotifyActivity" android:exported="true" android:taskAffinity="jpush.custom" android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.JNotifyActivity" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- Required. For publish channel feature --> |
| | | <!-- JPUSH_CHANNEL 是为了方便开发者统计 APK 分发渠道。--> |
| | | <!-- 例如: --> |
| | | <!-- 发到 Google Play 的 APK 可以设置为 google-play; --> |
| | | <!-- 发到其他市场的 APK 可以设置为 xxx-market。 --> |
| | | <!-- Required SDK 核心功能--> |
| | | <!-- 可配置 android:process 参数将 PushService 放在其他进程中 --> |
| | | <service |
| | | android:name="cn.jpush.android.service.PushService" |
| | | android:enabled="true" |
| | | android:exported="false" > |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.REGISTER" /> |
| | | <action android:name="cn.jpush.android.intent.REPORT" /> |
| | | <action android:name="cn.jpush.android.intent.PushService" /> |
| | | <action android:name="cn.jpush.android.intent.PUSH_TIME" /> |
| | | </intent-filter> |
| | | </service> |
| | | |
| | | |
| | | <!-- since 3.0.9 Required SDK 核心功能--> |
| | | <provider |
| | | android:authorities="com.jinlu.onpro.DataProvider" |
| | | android:name="cn.jpush.android.service.DataProvider" |
| | | android:exported="true" |
| | | /> |
| | | |
| | | <!-- Required SDK 核心功能--> |
| | | <receiver |
| | | android:name="cn.jpush.android.service.PushReceiver" |
| | | android:enabled="true" > |
| | | <intent-filter android:priority="1000"> |
| | | <action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" /> |
| | | <category android:name="com.jinlu.onpro"/> |
| | | </intent-filter> |
| | | </receiver> |
| | | |
| | | <!-- Required SDK 核心功能--> |
| | | <activity |
| | | android:name="cn.jpush.android.ui.PushActivity" |
| | | android:configChanges="orientation|keyboardHidden" |
| | | android:theme="@android:style/Theme.NoTitleBar" |
| | | android:exported="true" > |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.ui.PushActivity" /> |
| | | <category android:name="android.intent.category.DEFAULT" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- SDK 核心功能--> |
| | | <activity |
| | | android:name="cn.jpush.android.ui.PopWinActivity" |
| | | android:configChanges="orientation|keyboardHidden" |
| | | android:exported="true" |
| | | android:theme="@style/MyDialogStyle"> |
| | | <intent-filter> |
| | | <category android:name="android.intent.category.DEFAULT" /> |
| | | <action android:name="cn.jpush.android.ui.PopWinActivity" /> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | |
| | | |
| | | <!-- Required SDK 核心功能--> |
| | | <receiver android:name="cn.jpush.android.service.AlarmReceiver" /> |
| | | |
| | | <!--Required SDK核心功能 since 3.3.0,主要用来统一各大推送厂商跳转逻辑,透明窗体也是为了通知跳转时候,保持UI效果一致。--> |
| | | <activity |
| | | android:name="cn.jpush.android.service.JNotifyActivity" |
| | | android:exported="true" |
| | | android:taskAffinity="" |
| | | android:theme="@style/JPushTheme"> |
| | | <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="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- since 4.6.0 Required SDK核心功能,各大推送厂商跳转 备份Activity。防止JNotifyActivity 被封后,通知不能跳转。 --> |
| | | <activity |
| | | android:name="cn.android.service.JTransitActivity" |
| | | android:exported="true" |
| | | android:taskAffinity="" |
| | | android:theme="@style/JPushTheme" > |
| | | <intent-filter> |
| | | <action android:name="cn.android.service.JTransitActivity" /> |
| | | <category android:name="android.intent.category.DEFAULT"/> |
| | | <category android:name="com.jinlu.onpro" /> |
| | | </intent-filter> |
| | | </activity> |
| | | <!-- since 5.0.0 Required SDK核心功能 --> |
| | | <provider |
| | | android:exported="false" |
| | | android:authorities="com.jinlu.onpro.jiguang.InitProvider" |
| | | android:name="cn.jpush.android.service.InitProvider" /> |
| | | |
| | | |
| | | <meta-data android:name="JPUSH_CHANNEL" android:value="developer-default" /> |
| | | <!-- Required. AppKey copied from Portal --> |
| | | <meta-data android:name="JPUSH_APPKEY" android:value="55d229c2e34c2ed2acf14a04" /> |