Easypermissions Versions Save

Simplify Android M system permissions

1.0.0

6 years ago

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. Use AppSettingsDialog.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 with EasyPermissions#hasPermissions(...) in Activity#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 AppSettingsDialog via AppSettingsDialog.Builder#setThemeResId(int)
  • In addition, if you use AppCompat color theming and have the three basic colors setup (color{Primary,PrimaryDark,Accent}), AppSettingsDialog will automatically use them to correctly style the dialog based on your app's theme instead of using the system defaults.

Bug fixes

  • Use support and framework dialog implementations where applicable (#142 and #156)
  • appcompat-v7 dependency is no longer leaked to consumers

0.4.3

6 years ago

This version of EasyPermissions has no behavior changes, but contains two developer improvements:

  • Consumer proguard rules are added (#137)
  • Javadoc JAR included in releases (#123)