This repository was archived by the owner on Oct 3, 2024. It is now read-only.
Releases: googlesamples/easypermissions
Releases · googlesamples/easypermissions
v1.0.0
Version 1.0.0 is the first major-version release of EasyPermissions! This reflects the overall stability of the API and library internals.
API Changes
AppSettingsDialog.Builder#Builder([Activity/Fragment/android.app.Fragment], String)constructors removed. UseAppSettingsDialog.Builder#setRationale([String/int])instead or leave blank to use the default rationale message.AppSettingsDialog.Builder#setNegativeButton(String, DialogInterface.OnClickListener)removed. To know if a user cancelled the request, check if your permissions were given withEasyPermissions#hasPermissions(...)inActivity#onActivityResult(...). If you still don't have the right permissions, then the request was cancelled.
New features
- You can now specify a custom theme for
AppSettingsDialogviaAppSettingsDialog.Builder#setThemeResId(int) - In addition, if you use AppCompat color theming and have the three basic colors setup (
color{Primary,PrimaryDark,Accent}),AppSettingsDialogwill automatically use them to correctly style the dialog based on your app's theme instead of using the system defaults.