maximbircu/devtools-library

Add ability to monitor specific tools updates

Closed this issue · 0 comments

Abstract

Library consumers might need to monitor specific tools update to react specifically to the new configuration values.

Requirements

Add a critical flag to the DevTool.
Whenever a tool with critical = true gets updates the library consumer should be notified through DevTools.kt#L15

Consumer flow

Usecase 1

  1. Open the sample app
  2. Update any critical tool (You can find the critical tool using the help dialog)
  3. Make sure you see a toast telling that a critical update just happened

Usecase 2

  1. Open the sample app
  2. Update any non-critical tool (You can find a non-critical tool using the help dialog)
  3. Make sure you see a toast telling that a non-critical update just happened