<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
我们真的需要坚持使用权限吗?
依赖项 implementation 'com.android.installreferrer:installreferrer:1.1'
来源 https://developer.android.com/google/play/installreferrer/library.html