AndroidManifest.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:installLocation="auto">
  4. <uses-feature android:glEsVersion="0x00020000" />
  5. <uses-permission android:name="android.permission.INTERNET" />
  6. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  7. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  8. <application
  9. android:networkSecurityConfig="@xml/network_security_config"
  10. android:name="org.cocos2dx.javascript.MyApplication"
  11. android:allowBackup="true"
  12. android:label="@string/app_name"
  13. android:usesCleartextTraffic="true"
  14. android:icon="@mipmap/ic_launcher">
  15. <!-- Tell Cocos2dxActivity the name of our .so -->
  16. <meta-data
  17. android:name="android.app.lib_name"
  18. android:value="cocos2djs" />
  19. <activity
  20. android:name="org.cocos2dx.javascript.AppActivity"
  21. android:screenOrientation="sensorLandscape"
  22. android:configChanges="orientation|keyboardHidden|screenSize|screenLayout|uiMode"
  23. android:label="@string/app_name"
  24. android:theme="@style/SloganSplashStyle"
  25. android:launchMode="singleTask"
  26. android:hardwareAccelerated="true"
  27. android:exported="true">
  28. <intent-filter>
  29. <action android:name="android.intent.action.MAIN" />
  30. <category android:name="android.intent.category.LAUNCHER" />
  31. </intent-filter>
  32. </activity>
  33. <activity
  34. android:name="com.facebook.FacebookActivity"
  35. android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
  36. android:label="@string/app_name" />
  37. <activity
  38. android:name="com.facebook.CustomTabActivity"
  39. android:exported="true">
  40. <intent-filter>
  41. <action android:name="android.intent.action.VIEW" />
  42. <category android:name="android.intent.category.DEFAULT" />
  43. <category android:name="android.intent.category.BROWSABLE" />
  44. <data android:scheme="@string/fb_login_protocol_scheme" />
  45. </intent-filter>
  46. </activity>
  47. <provider
  48. android:authorities="com.facebook.app.FacebookContentProvider1059202768871609"
  49. android:name="com.facebook.FacebookContentProvider"
  50. android:exported="true" />
  51. <meta-data
  52. android:name="com.facebook.sdk.ApplicationId"
  53. android:value="@string/facebook_app_id" />
  54. <meta-data
  55. android:name="com.facebook.sdk.ClientToken"
  56. android:value="@string/facebook_client_token" />
  57. <meta-data
  58. android:name="com.google.android.gms.games.APP_ID"
  59. android:value="@string/google_play_app_id" />
  60. <meta-data
  61. android:name="com.google.android.gms.version"
  62. android:value="@integer/google_play_services_version" />
  63. <meta-data
  64. android:name="com.google.android.gms.ads.APPLICATION_ID"
  65. android:value="ca-app-pub-1268560324035192~2437884748"/>
  66. </application>
  67. <queries>
  68. <package android:name="com.facebook.katana" />
  69. </queries>
  70. </manifest>