New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| | | package="com.secondworld.univeralsdk" |
| | | android:installLocation="auto" |
| | | android:versionCode="1" |
| | | android:versionName="1.1.0" > |
| | | |
| | | <uses-sdk |
| | | android:minSdkVersion="16" |
| | | android:targetSdkVersion="22" /> |
| | | |
| | | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| | | <uses-permission android:name="android.permission.INTERNET" /> |
| | | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| | | <uses-permission android:name="android.permission.GET_TASKS" /> |
| | | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| | | <uses-permission android:name="ANDROID.PERMISSION.READ_EXTERNAL_STORAGE" /> |
| | | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| | | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
| | | <uses-permission android:name="android.permission.SYSTEM_OVERLAY_WINDOW" /> |
| | | <uses-permission android:name="android.permission.NFC" /> |
| | | |
| | | <!-- 接收短信验证码 --> |
| | | <uses-permission android:name="android.permission.RECEIVE_SMS" /> |
| | | |
| | | <supports-screens |
| | | android:anyDensity="true" |
| | | android:largeScreens="true" |
| | | android:normalScreens="true" |
| | | android:resizeable="true" |
| | | android:smallScreens="true" /> |
| | | |
| | | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
| | | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| | | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| | | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| | | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| | | <uses-permission android:name="android.permission.VIBRATE" /> |
| | | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| | | <uses-permission android:name="android.permission.READ_LOGS" /> |
| | | <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" /> |
| | | <uses-permission android:name="android.permission.RECEIVE_USER_PRESENT" /> |
| | | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
| | | |
| | | <permission |
| | | android:name="android.permission.INTERACT_ACROSS_USERS_FULL" |
| | | android:protectionLevel="signature" /> <!-- Required --> |
| | | <permission android:name="com.mhtj.mg.permission.JPUSH_MESSAGE" /> |
| | | |
| | | <uses-permission android:name="com.mhtj.mg.permission.JPUSH_MESSAGE" /> |
| | | |
| | | <application |
| | | android:allowBackup="true" |
| | | android:hardwareAccelerated="false" |
| | | android:icon="@drawable/app_icon" |
| | | android:isGame="true" |
| | | android:label="@string/app_name" |
| | | android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" > |
| | | <meta-data |
| | | android:name="qd_code" |
| | | android:value="32016" /> |
| | | <meta-data |
| | | android:name="XOPENSDK_APPKEY" |
| | | android:value="323" /> |
| | | |
| | | <activity |
| | | android:name="com.secondworld.univeralsdk.MainActivity" |
| | | android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection" |
| | | android:label="@string/app_name" |
| | | android:launchMode="singleTask" |
| | | android:screenOrientation="sensorLandscape" > |
| | | <intent-filter> |
| | | <action android:name="android.intent.action.MAIN" /> |
| | | |
| | | <category android:name="android.intent.category.LAUNCHER" /> |
| | | <category android:name="android.intent.category.LEANBACK_LAUNCHER" /> |
| | | </intent-filter> |
| | | |
| | | <meta-data |
| | | android:name="unityplayer.UnityActivity" |
| | | android:value="true" /> |
| | | <meta-data |
| | | android:name="unityplayer.SkipPermissionsDialog" |
| | | android:value="true" /> |
| | | <meta-data |
| | | android:name="android.vendor.home_indicator" |
| | | android:value="hide" /> |
| | | <meta-data |
| | | android:name="android.max_aspect" |
| | | android:value="1075419520.000000" /> |
| | | <meta-data |
| | | android:name="com.samsung.android.keepalive.density" |
| | | android:value="true" /> |
| | | </activity> |
| | | |
| | | <!-- 针对7.0以上的api开放的文件权限 --> |
| | | <provider |
| | | android:name="android.support.v4.content.FileProvider" |
| | | android:authorities="com.mhtj.mg.fileProvider" |
| | | android:exported="false" |
| | | android:grantUriPermissions="true" > |
| | | <meta-data |
| | | android:name="android.support.FILE_PROVIDER_PATHS" |
| | | android:resource="@xml/file_paths" /> |
| | | </provider> |
| | | |
| | | <meta-data |
| | | android:name="TrackAppID" |
| | | android:value="34984be594b93353e6fd41d0b4f3b78" /> |
| | | <meta-data |
| | | android:name="TrackChannelID" |
| | | android:value="_default_" /> |
| | | |
| | | <!-- 今日头条相关配置 --> |
| | | <meta-data |
| | | android:name="TouTiao_AppName" |
| | | android:value="mhtj_ne" /> |
| | | <meta-data |
| | | android:name="TouTiao_AppID" |
| | | android:value="16232" /> |
| | | <meta-data |
| | | android:name="TouTiao_Chanel" |
| | | android:value="_default_" /> |
| | | |
| | | <!-- MG SDK 配置 start --> |
| | | <activity |
| | | android:name="com.mgbase.ui.LoginActivity" |
| | | android:configChanges="keyboardHidden|orientation|screenSize" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.LogoutActivity" |
| | | android:configChanges="keyboardHidden|orientation|screenSize" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.UserCenterActivity" |
| | | android:configChanges="keyboardHidden|orientation|screenSize" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.dialog.SelectAutonymDialog" |
| | | android:screenOrientation="landscape" |
| | | android:theme="@style/DialogActivityTheme" |
| | | android:windowSoftInputMode="adjustPan|stateHidden" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.HelpActivity" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.ProtocolActivity" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/dialog_activity" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgpay.ui.PayCenterActivity" |
| | | android:configChanges="keyboardHidden|orientation|screenSize" |
| | | android:launchMode="singleTask" |
| | | android:screenOrientation="behind" |
| | | android:theme="@style/DialogActivity" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.AccountDetailActivity" |
| | | android:label="@string/app_name" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.ModifyPwdActivity" |
| | | android:label="@string/app_name" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/dialog_activity" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.AccountSecurityActivity" |
| | | android:label="@string/app_name" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/dialog_activity" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.BindPhoneActivity" |
| | | android:label="@string/app_name" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/dialog_activity" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.RealNameActivity" |
| | | android:label="@string/app_name" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/dialog_activity" > |
| | | </activity> |
| | | <activity |
| | | android:name="com.mgbase.ui.FloatWebActivity" |
| | | android:label="@string/app_name" |
| | | android:screenOrientation="portrait" |
| | | android:theme="@style/dialog_activity" > |
| | | </activity> |
| | | |
| | | <!-- <activity --> |
| | | <!-- android:name="com.mokredit.payment.MktPayment" --> |
| | | <!-- android:configChanges="orientation|keyboardHidden|screenLayout|screenSize" --> |
| | | <!-- android:excludeFromRecents="true" --> |
| | | <!-- android:label="@string/app_name"> --> |
| | | <!-- </activity> --> |
| | | |
| | | <activity |
| | | android:name="com.switfpass.pay.activity.QQWapPayWebView" |
| | | android:configChanges="orientation|keyboardHidden|navigation" |
| | | android:exported="false" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Translucent.NoTitleBar" /> |
| | | |
| | | <!-- 汇付宝 SDK 需添加 --> |
| | | <activity |
| | | android:name="com.heepay.plugin.activity.HyNotityActivity" |
| | | android:configChanges="orientation|keyboardHidden|screenSize" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Translucent.NoTitleBar" /> |
| | | <activity |
| | | android:name="com.alipay.sdk.app.H5PayActivity" |
| | | android:configChanges="orientation|keyboardHidden|navigation|screenSize" |
| | | android:exported="false" |
| | | android:screenOrientation="behind" |
| | | android:theme="@style/AppBaseTheme" |
| | | android:windowSoftInputMode="adjustResize|stateHidden" /> |
| | | <!-- 支付宝原生 SDK 需添加 --> |
| | | <activity |
| | | android:name="com.alipay.sdk.auth.AuthActivity" |
| | | android:configChanges="orientation|keyboardHidden|navigation" |
| | | android:exported="false" |
| | | android:screenOrientation="behind" /> |
| | | <!-- 现在支付 --> |
| | | <activity |
| | | android:name="com.ipaynow.plugin.presenter.PayMethodActivity" |
| | | android:configChanges="orientation|keyboardHidden|navigation|screenSize" |
| | | android:exported="false" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Dialog" > |
| | | </activity> |
| | | |
| | | <!-- 微信WAP版支付 android:windowSoftInputMode="stateHidden" --> |
| | | <activity |
| | | android:name="com.ipaynow.plugin.inner_plugin.wechatwp.activity.WeChatNotifyActivity" |
| | | android:configChanges="keyboardHidden|navigation|orientation|screenSize" |
| | | android:exported="false" |
| | | android:launchMode="singleTop" |
| | | android:screenOrientation="behind" |
| | | android:theme="@android:style/Theme.Dialog" /> |
| | | |
| | | <service android:name="com.mgbase.service.FloatWindowService" /> |
| | | <!-- MG SDK 配置 end --> |
| | | |
| | | <meta-data |
| | | android:name="android.max_aspect" |
| | | android:value="1075838976.000000" /> |
| | | <meta-data |
| | | android:name="com.samsung.android.keepalive.density" |
| | | android:value="true" /> <!-- <meta-data --> |
| | | <!-- android:name="android.notch_support" --> |
| | | <!-- android:value="true" /> --> |
| | | <meta-data |
| | | android:name="notch.config" |
| | | android:value="none" /> |
| | | <meta-data |
| | | android:name="android.vendor.full_screen" |
| | | android:value="true" /> <!-- 针对7.0以上的api开放的文件权限 --> |
| | | <!-- <provider --> |
| | | <!-- android:name="android.support.v4.content.FileProvider" --> |
| | | <!-- android:authorities="${appId}.fileProvider" --> |
| | | <!-- android:grantUriPermissions="true" --> |
| | | <!-- android:exported="false"> --> |
| | | <!-- <meta-data --> |
| | | <!-- android:name="android.support.FILE_PROVIDER_PATHS" --> |
| | | <!-- android:resource="@xml/file_paths" /> --> |
| | | <!-- </provider> --> |
| | | <!-- Required SDK 核心功能 --> |
| | | <!-- 可配置android:process参数将PushService放在其他进程中 --> |
| | | <service |
| | | android:name="cn.jpush.android.service.PushService" |
| | | android:exported="false" |
| | | android:process=":mult" > |
| | | <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:name="cn.jpush.android.service.DataProvider" |
| | | android:authorities="com.mhtj.mg.DataProvider" |
| | | android:exported="true" /> <!-- since 1.8.0 option 可选项。用于同一设备中不同应用的JPush服务相互拉起的功能。 --> |
| | | <!-- 若不启用该功能可删除该组件,将不拉起其他应用也不能被其他应用拉起 --> |
| | | <service |
| | | android:name="cn.jpush.android.service.DaemonService" |
| | | android:enabled="true" |
| | | android:exported="true" > |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.intent.DaemonService" /> |
| | | |
| | | <category android:name="com.mhtj.mg" /> |
| | | </intent-filter> |
| | | </service> <!-- since 3.1.0 Required SDK 核心功能 --> |
| | | <provider |
| | | android:name="cn.jpush.android.service.DownloadProvider" |
| | | android:authorities="com.mhtj.mg.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.mhtj.mg" /> |
| | | </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 |
| | | android:name="cn.jpush.android.ui.PushActivity" |
| | | android:configChanges="orientation|keyboardHidden" |
| | | android:exported="false" |
| | | android:theme="@android:style/Theme.NoTitleBar" > |
| | | <intent-filter> |
| | | <action android:name="cn.jpush.android.ui.PushActivity" /> |
| | | |
| | | <category android:name="android.intent.category.DEFAULT" /> |
| | | <category android:name="com.mhtj.mg" /> |
| | | </intent-filter> |
| | | </activity> <!-- SDK核心功能 --> |
| | | <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.mhtj.mg" /> |
| | | </intent-filter> |
| | | </activity> <!-- Required SDK核心功能 --> |
| | | <service |
| | | android:name="cn.jpush.android.service.DownloadService" |
| | | android:enabled="true" |
| | | android:exported="false" /> <!-- Required SDK核心功能 --> |
| | | <receiver android:name="cn.jpush.android.service.AlarmReceiver" /> <!-- Required since 3.0.7 --> |
| | | <!-- 新的tag/alias接口结果返回需要开发者配置一个自定的广播 --> |
| | | <!-- 该广播需要继承JPush提供的JPushMessageReceiver类, 并如下新增一个 Intent-Filter --> |
| | | <!-- <receiver --> |
| | | <!-- android:name="自定义 Receiver" --> |
| | | <!-- android:enabled="true" > --> |
| | | <!-- <intent-filter> --> |
| | | <!-- <action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" /> --> |
| | | <!-- <category android:name="您应用的包名" /> --> |
| | | <!-- </intent-filter> --> |
| | | <!-- </receiver> --> |
| | | <!-- <!– User defined. 用户自定义的广播接收器–> --> |
| | | <receiver |
| | | android:name="com.secondworld.univeralsdk.JPushReceiver" |
| | | android:enabled="true" > |
| | | <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" /> |
| | | <!-- 接收网络变化 连接/断开 since 1.6.3 --> |
| | | <action android:name="cn.jpush.android.intent.CONNECTION" /> |
| | | |
| | | <category android:name="com.mhtj.mg" /> |
| | | </intent-filter> |
| | | </receiver> <!-- Required. For publish channel feature --> |
| | | <!-- JPUSH_CHANNEL 是为了方便开发者统计APK分发渠道。 --> |
| | | <!-- 例如: --> |
| | | <!-- 发到 Google Play 的APK可以设置为 google-play; --> |
| | | <!-- 发到其他市场的 APK 可以设置为 xxx-market。 --> |
| | | <meta-data |
| | | android:name="JPUSH_CHANNEL" |
| | | android:value="developer-default" /> <!-- Required. AppKey copied from Portal --> |
| | | <meta-data |
| | | android:name="JPUSH_APPKEY" |
| | | android:value="fde69694a5e00c2813740da3" /> |
| | | </application> |
| | | |
| | | </manifest> |