AndroidManifest.xml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. package="com.edufound.mobile"
  5. android:installLocation="auto">
  6. <uses-feature android:glEsVersion="0x00020000" />
  7. <uses-permission android:name="android.permission.INTERNET" />
  8. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  9. <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  10. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  11. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  12. <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
  13. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /><!-- 切换⽹络通道 -->
  14. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /><!-- 本地信息缓存 -->
  15. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <!--开关wifi状态,解决国内机型移动⽹络权限问题需要 -->
  16. <!-- <queries>-->
  17. <!-- &lt;!&ndash; 正式环境 &ndash;&gt;-->
  18. <!-- <package android:name="com.eg.android.AlipayGphone" />-->
  19. <!-- &lt;!&ndash; 沙箱环境 &ndash;&gt;-->
  20. <!-- <package android:name="com.eg.android.AlipayGphoneRC" />-->
  21. <!-- <package android:name="hk.alipay.wallet" />-->
  22. <!-- </queries>-->
  23. <application
  24. android:name="org.cocos2dx.javascript.application.EApplication"
  25. android:allowBackup="true"
  26. android:icon="${icon}"
  27. android:label="@string/app_name"
  28. android:usesCleartextTraffic="true"
  29. tools:replace="allowBackup">
  30. <!-- Tell Cocos2dxActivity the name of our .so -->
  31. <meta-data
  32. android:name="android.app.lib_name"
  33. android:value="cocos2djs" />
  34. <activity
  35. android:name="org.cocos2dx.javascript.AppActivity"
  36. android:configChanges="orientation|keyboardHidden|screenSize|screenLayout"
  37. android:label="@string/app_name"
  38. android:launchMode="singleTask"
  39. android:screenOrientation="sensorLandscape"
  40. android:taskAffinity="com.edufound.mobile"
  41. android:theme="@style/AppStartTheme">
  42. <intent-filter>
  43. <action android:name="android.intent.action.MAIN" />
  44. <category android:name="android.intent.category.LAUNCHER" />
  45. </intent-filter>
  46. <intent-filter>
  47. <action android:name="android.intent.action.VIEW" />
  48. <category android:name="android.intent.category.DEFAULT" />
  49. <category android:name="android.intent.category.BROWSABLE" />
  50. <data
  51. android:host="com.edufound.mobile"
  52. android:path="/main"
  53. android:scheme="efunbox" />
  54. </intent-filter>
  55. </activity>
  56. <!--联通电信授权页 -->
  57. <!--如果不需要使用窗口模式,不要使用authsdk_activity_dialog主题,会出现异常动画-->
  58. <!--如果需要使用authsdk_activity_dialog主题,则screenOrientation一定不能指定明确的方向,
  59. 比如portrait、sensorPortrait,在8.0的系统上不允许窗口模式指定orientation,会发生crash,需要指定为behind,
  60. 然后在授权页的前一个页面指定具体的orientation-->
  61. <activity
  62. android:name="com.mobile.auth.gatewayauth.LoginAuthActivity"
  63. android:configChanges="orientation|keyboardHidden|screenSize"
  64. android:exported="false"
  65. android:launchMode="singleTop"
  66. android:theme="@style/authsdk_activity_dialog" />
  67. <!--协议页面webview-->
  68. <activity
  69. android:name="com.mobile.auth.gatewayauth.activity.AuthWebVeiwActivity"
  70. android:configChanges="orientation|keyboardHidden|screenSize"
  71. android:exported="false"
  72. android:launchMode="singleTop"
  73. android:screenOrientation="behind" />
  74. <!--移动授权页-->
  75. <activity
  76. android:name="com.cmic.sso.sdk.activity.LoginAuthActivity"
  77. android:configChanges="orientation|keyboardHidden|screenSize"
  78. android:exported="false"
  79. android:launchMode="singleTop" />
  80. <activity
  81. android:name=".wxapi.WXEntryActivity"
  82. android:exported="true"
  83. android:launchMode="singleTask"
  84. android:screenOrientation="landscape"
  85. android:taskAffinity="com.edufound.mobile"
  86. android:theme="@style/transcutestyle"></activity>
  87. <activity
  88. android:name=".wxapi.WXPayEntryActivity"
  89. android:exported="true"
  90. android:screenOrientation="landscape"
  91. android:theme="@style/transcutestyle">
  92. </activity>
  93. <activity
  94. android:name="com.alipay.sdk.app.H5PayActivity"
  95. android:configChanges="orientation|keyboardHidden|navigation|screenSize"
  96. android:exported="false"
  97. android:screenOrientation="behind"
  98. android:windowSoftInputMode="adjustResize|stateHidden"></activity>
  99. <activity
  100. android:name="com.alipay.sdk.app.H5AuthActivity"
  101. android:configChanges="orientation|keyboardHidden|navigation"
  102. android:exported="false"
  103. android:screenOrientation="behind"
  104. android:windowSoftInputMode="adjustResize|stateHidden"></activity>
  105. <!-- 友盟推送小米start-->
  106. <activity
  107. android:name=".push.MfrMessageActivity"
  108. android:exported="true"
  109. android:launchMode="singleTask"
  110. android:theme="@style/transcutestyle">
  111. <intent-filter>
  112. <action android:name="android.intent.action.VIEW" />
  113. <category android:name="android.intent.category.DEFAULT" />
  114. <category android:name="android.intent.category.BROWSABLE" />
  115. <data
  116. android:host="${applicationId}"
  117. android:path="/thirdpush"
  118. android:scheme="agoo" />
  119. </intent-filter>
  120. </activity>
  121. <!-- 友盟推送小米end-->
  122. <!-- 友盟推送魅族-->
  123. <receiver android:name=".receiver.MfrMzMessageReceiver">
  124. <intent-filter>
  125. <action android:name="com.meizu.flyme.push.intent.MESSAGE" />
  126. <action android:name="com.meizu.flyme.push.intent.REGISTER.FEEDBACK" />
  127. <action android:name="com.meizu.flyme.push.intent.UNREGISTER.FEEDBACK" />
  128. <action android:name="com.meizu.c2dm.intent.REGISTRATION" />
  129. <action android:name="com.meizu.c2dm.intent.RECEIVE" />
  130. <category android:name="com.edufound.mobile" />
  131. </intent-filter>
  132. </receiver>
  133. <!-- 友盟推送魅族end-->
  134. <!-- 友盟厂商VIVO-->
  135. <meta-data
  136. android:name="com.vivo.push.api_key"
  137. android:value="6cf08542-16fa-48b5-9d26-8ebbb35432e4" />
  138. <meta-data
  139. android:name="com.vivo.push.app_id"
  140. android:value="18875" />
  141. <!-- 友盟厂商VIVOend-->
  142. <!-- 华为-->
  143. <meta-data
  144. android:name="com.huawei.hms.client.appid"
  145. android:value="appid=10658746" />
  146. <!-- 华为end-->
  147. <!--友盟start-->
  148. <meta-data
  149. android:name="UMENG_APPKEY"
  150. android:value="5e34d2fb4ca3574b1800005b" />
  151. <meta-data
  152. android:name="UMENG_CHANNEL"
  153. android:value="${UMENG_CHANNEL_VALUE}" />
  154. <!--友盟end-->
  155. </application>
  156. </manifest>