AndroidManifest.xml 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.edufound.mobile"
  4. android:installLocation="auto">
  5. <uses-feature android:glEsVersion="0x00020000" />
  6. <uses-permission android:name="android.permission.INTERNET" />
  7. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  8. <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  9. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  10. <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
  11. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /><!-- 切换⽹络通道 -->
  12. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /><!-- 本地信息缓存 -->
  13. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <!--开关wifi状态,解决国内机型移动⽹络权限问题需要 -->
  14. <!-- <queries>-->
  15. <!-- &lt;!&ndash; 正式环境 &ndash;&gt;-->
  16. <!-- <package android:name="com.eg.android.AlipayGphone" />-->
  17. <!-- &lt;!&ndash; 沙箱环境 &ndash;&gt;-->
  18. <!-- <package android:name="com.eg.android.AlipayGphoneRC" />-->
  19. <!-- <package android:name="hk.alipay.wallet" />-->
  20. <!-- </queries>-->
  21. <application
  22. android:name="org.cocos2dx.javascript.application.EApplication"
  23. android:allowBackup="true"
  24. android:icon="@drawable/icon"
  25. android:label="@string/app_name"
  26. android:usesCleartextTraffic="true">
  27. <!-- Tell Cocos2dxActivity the name of our .so -->
  28. <meta-data
  29. android:name="android.app.lib_name"
  30. android:value="cocos2djs" />
  31. <activity
  32. android:name="org.cocos2dx.javascript.AppActivity"
  33. android:configChanges="orientation|keyboardHidden|screenSize|screenLayout"
  34. android:label="@string/app_name"
  35. android:launchMode="singleTask"
  36. android:screenOrientation="sensorLandscape"
  37. android:taskAffinity=""
  38. android:theme="@style/AppStartTheme">
  39. <intent-filter>
  40. <action android:name="android.intent.action.MAIN" />
  41. <category android:name="android.intent.category.LAUNCHER" />
  42. </intent-filter>
  43. </activity>
  44. <!--联通电信授权页-->
  45. <!--如果不需要使用窗口模式,不要使用authsdk_activity_dialog主题,会出现异常动画-->
  46. <!--如果需要使用authsdk_activity_dialog主题,则screenOrientation一定不能指定明确的方向,
  47. 比如portrait、sensorPortrait,在8.0的系统上不允许窗口模式指定orientation,会发生crash,需要指定为behind,
  48. 然后在授权页的前一个页面指定具体的orientation-->
  49. <activity
  50. android:name="com.mobile.auth.gatewayauth.LoginAuthActivity"
  51. android:configChanges="orientation|keyboardHidden|screenSize"
  52. android:exported="false"
  53. android:launchMode="singleTop"
  54. android:theme="@style/authsdk_activity_dialog" />
  55. <!--协议页面webview-->
  56. <activity
  57. android:name="com.mobile.auth.gatewayauth.activity.AuthWebVeiwActivity"
  58. android:configChanges="orientation|keyboardHidden|screenSize"
  59. android:exported="false"
  60. android:launchMode="singleTop"
  61. android:screenOrientation="behind" />
  62. <!--移动授权页-->
  63. <activity
  64. android:name="com.cmic.sso.sdk.activity.LoginAuthActivity"
  65. android:configChanges="orientation|keyboardHidden|screenSize"
  66. android:exported="false"
  67. android:launchMode="singleTop" />
  68. <activity
  69. android:name=".wxapi.WXEntryActivity"
  70. android:exported="true"
  71. android:launchMode="singleTask"
  72. android:screenOrientation="landscape"
  73. android:taskAffinity="com.edufound.android.xyyf"
  74. android:theme="@style/transcutestyle"></activity>
  75. <activity
  76. android:name=".wxapi.WXPayEntryActivity"
  77. android:exported="true"
  78. android:screenOrientation="landscape"
  79. android:theme="@style/transcutestyle">
  80. </activity>
  81. </application>
  82. </manifest>