AndroidManifest.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.aliyun.svideo.common" >
  4. <uses-sdk
  5. android:minSdkVersion="21"
  6. android:targetSdkVersion="29" />
  7. <!-- 网络/网络状态 -->
  8. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  9. <uses-permission android:name="android.permission.INTERNET" />
  10. <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  11. <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
  12. <!-- Sdcard读写权限 -->
  13. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  14. <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  15. <!-- 摄像头录音权限 -->
  16. <uses-permission android:name="android.permission.CAMERA" />
  17. <uses-permission android:name="android.permission.RECORD_AUDIO" />
  18. <!-- 电话状态权限 -->
  19. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  20. <!-- 蓝牙权限 -->
  21. <uses-permission android:name="android.permission.BLUETOOTH" />
  22. <!-- 自动更新URI跳转安装时需要 -->
  23. <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
  24. <application>
  25. <!-- FileProvider配置访问路径,适配7.0及其以上 -->
  26. <provider
  27. android:name="androidx.core.content.FileProvider"
  28. android:authorities="${applicationId}.fileprovider"
  29. android:banner="@string/alivc_common_cancel"
  30. android:exported="false"
  31. android:grantUriPermissions="true" >
  32. <meta-data
  33. android:name="android.support.FILE_PROVIDER_PATHS"
  34. android:resource="@xml/provider_paths" />
  35. </provider>
  36. </application>
  37. </manifest>