An Android permission library extending Google's EasyPermissions with convenient additions.
Why EffortlessPermissions?
- Used as a drop-in replacement for Google's EasyPermissions and based on its battle-tested implementation.
- Added an @AfterPermissionDenied annotation for methods to run automatically after denial.
- Included consumer ProGuard rules missing in EasyPermissions which fixes your release build.
- Added more method overloads which make coding easier.
- Added another app detail fragment which you can have more control upon, e.g. dialog title can be hidden now.
In a word, just start with EffortlessPermissions instead of EasyPermissions.
https://github.com/DreaminginCodeZH/EffortlessPermissions
สิทธิ์ห้องสมุด Android ขยาย EasyPermissions ของ Google ที่มีการเพิ่มเติมความสะดวกสบาย
ทำไม EffortlessPermissions?
- ใช้แทนหล่นในสำหรับ EasyPermissions ของ Google และอยู่บนพื้นฐานของการดำเนินการต่อสู้ผ่านการทดสอบของ
- เพิ่มคำอธิบายประกอบ @AfterPermissionDenied สำหรับวิธีการที่จะทำงานโดยอัตโนมัติหลังจากที่ปฏิเสธ
- กฎ ProGuard ผู้บริโภครวมขาดหายไปใน EasyPermissions ซึ่งการแก้ไขการเปิดตัวของคุณสร้าง
- เพิ่มมากขึ้นเกินวิธีการที่ทำให้การเขียนโปรแกรมได้ง่ายขึ้น
- เพิ่มแอปส่วนรายละเอียดอื่นที่คุณสามารถควบคุมได้มากขึ้นเมื่อเช่น ชื่อโต้ตอบสามารถที่ซ่อนอยู่ในขณะนี้
ในคำที่เพียงแค่เริ่มต้นด้วย EffortlessPermissions แทน EasyPermissions
https://github.com/DreaminginCodeZH/EffortlessPermissions