manifest.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android">
  2. <permissions>
  3. <!--普通权限 begin-->
  4. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  5. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  6. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  7. <uses-permission android:name="android.permission.GET_TASKS" />
  8. <uses-permission android:name="android.permission.INTERNET" />
  9. <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
  10. <uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS" />
  11. <uses-permission android:name="android.permission.VIBRATE" />
  12. <uses-permission android:name="android.permission.WAKE_LOCK" />
  13. <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
  14. <uses-permission android:name="android.permission.BLUETOOTH" />
  15. <uses-permission android:name="android.webkit.permission.PLUGIN" />
  16. <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
  17. <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
  18. <!--普通权限 end-->
  19. <!--危险权限 begin-->
  20. <!--camera-->
  21. <uses-permission android:name="android.permission.CAMERA" />
  22. <uses-feature android:name="android.hardware.camera" />
  23. <uses-feature android:name="android.hardware.camera.autofocus" />
  24. <!--contact-->
  25. <uses-permission android:name="android.permission.READ_CONTACTS" />
  26. <!--location-->
  27. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  28. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  29. <!--phone-->
  30. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  31. <!--sms-->
  32. <uses-permission android:name="android.permission.RECEIVE_SMS" />
  33. <uses-permission android:name="android.permission.READ_SMS" />
  34. <!--storage-->
  35. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  36. <!--危险权限 end-->
  37. </permissions>
  38. <application>
  39. <!-- 果盘sdk -->
  40. <!--- 果盘SDK需要的代理Activity、Service,⽆需设置其⽅向,会根据游戏⾃适应 -->
  41. <activity
  42. android:name="com.flamingo.sdk.view.PluginActivity"
  43. android:configChanges="orientation|keyboardHidden|screenSize"
  44. android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />
  45. <!-- 最新版本的sdk这个service的声明换了,注意替换 -->
  46. <service android:name="com.flamingo.sdk.plugin.proxy.ProxyService" />
  47. <!-- 如果是eclipse记得将${applicationId}替换为游戏的包名 -->
  48. <provider
  49. android:name="com.flamingo.sdk.plugin.proxy.StubContentProvider"
  50. android:authorities="${applicationId}.StubContentProvider"
  51. android:exported="false"
  52. android:grantUriPermissions="true" />
  53. <!--- 果盘SDK end -->
  54. <!-- 当游戏也需要到bugly的时候,请把这个值置为OFF,避免冲突 -->
  55. <meta-data android:name="GP_SDK_BUGLY_SWITCH" android:value="ON" />
  56. </application>
  57. </manifest>