AndroidManifest.xml 7.7 KB

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