ACR Rules

  1. Home
  2. Docs
  3. ACR Rules
  4. Architecture (16)
  5. App store widgets should be unchanged (preview)

App store widgets should be unchanged (preview)

Introduced in version 2.1 (Released November 3rd)

Widgets downloaded from the App store should not be changed. This so when somebody downloaded a newer version and the current version is overwritten everything will work as expected and no code is lost.

If there is a case to change the widget in the project the way to do this is a copy and rename of the widget.

This rule depends on the proper linking of widgets to the App store widget. Sometimes different widgets have the same widget-name and the project widget might be linked to the wrong App store widget. This can be fixed in the widgets section of ACR.

Sometimes the widget is linked to the wrong version of a widget, for example ACR preserves the linked App store widget version in a new revision, so when in the project the widget is upgraded the link to the App store widget in ACR also needs to be changed.