Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Documentation enhancements #34

Open
GreenishFlow opened this issue Mar 9, 2020 · 0 comments
Open

Documentation enhancements #34

GreenishFlow opened this issue Mar 9, 2020 · 0 comments

Comments

@GreenishFlow
Copy link

Thanks for this plugin.
I found few things didn't mentioned in the documentation.

  1. The order is important inside metadata.choice (at least for the choosing resolution).
    So it is matter to have it in a right order. From less resolution to highest.
    Correct:
    metadata: {
    choice: ["@1x.json", "@2x.json"]
    }
    Incorrect:
    metadata: {
    choice: ["@2x.json", "@1x.json"]
    }
    in a second way it will load 1x for resolution 2.
  2. If you are using detectExtensions method, you have to use suffix "@1x" ("@2x" etc), you cannot use "@x1", "@x2" etc.
@GreenishFlow GreenishFlow changed the title Documentation enhancement Documentation enhancements Mar 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant