Shortbread Versions Save

Android library that creates app shortcuts from annotations

v.1.4.0

3 years ago
  • Improve: Shortbread is now an isolating annotation processor, which improves the performance of incremental annotation processing. Before, the processor type was aggregating and it would generate a single class ShortbreadGenerated. Now it generates one class for each activity that contains shortcuts, e.g. MoviesActivity_Shortcuts. The generated classes are still only used by the library itself, the consumer does not interact with them.
  • Improve: Shortcut methods/functions don't have to be public anymore. Any visibility higher than private is enough.
  • Fix: When using R2, resource values sometimes were not properly read when the incremental annotation processing was incremental
  • New: The module :sample-library shows how to use Shortbread in a library module

v1.3.0

3 years ago
  • New: Shortbread is now initialized automatically using App Startup
  • Deprecated: Shortbread.create(context) - no need to call this anymore as the shortcuts are set automatically during app startup
  • Fix: Resource values sometimes were not properly read when the incremental annotation processing was incremental
  • Improve: ActivityLifecycleCallbacks will not be registered if there are no method shortcuts

v1.2.0

3 years ago
  • New: Support for non-final resource IDs. See README.md for detailed usage instructions.
  • Update: androidx.annotation:annotation to 1.1.0
  • Update: Android Gradle plugin to 4.1.2
  • Migrated publishing from JCenter to Maven Central

v1.1.0

3 years ago
  • New: Support for incremental annotation processing
  • Switch from Support annotations library to androidx.annotation
  • Java 8 is now required
  • Minimum SDK increased from 9 to 14 (app shortcuts are still not available before 25)
  • Update: Android Gradle plugin to 3.6.4
  • Some small changes to bring everything to 2020

v.1.0.2

6 years ago
  • Fix: Annotated methods are called before onCreate() (#13)

  • Update: Support annotations library to 26.0.2. This requires the new Google Maven Repository:

      google()
    

    or

      maven {
          url "https://maven.google.com"
      }
    

v1.0.1

7 years ago
  • Fix: Shortbread.create(context) can now also be called if there are no @Shortcut annotations in the code, which before produced a crash. Previously created shortcuts are now removed.
  • Fix: Internal NullPointerException when an activity containing method shortcuts is not launched via a method shortcut
  • Add Javadoc for the public API

v1.0.0

7 years ago

Initial release