Ask DN: Sketch Mirror/Preview for Android?

7 years ago from J A, Design Lead at Gametime

  • David KlawitterDavid Klawitter, 7 years ago (edited 7 years ago )

    Without knowing how your file is set up I can't be for sure but I use a variety of artboards and was able to get this to work by iterating through artboards, not slices (line 40).

    This is my first foray into Sketch scripting so I need to dig into this a bit more. Ideally, for me, it would preview the current artboard but I'm not sure that's available in the API.

    Fun stuff - glad I came across this.

    EDIT: It was actually pretty trivial to get my current art board previewed. I'm going to fork this project and get to work.

    FORKED: This version will simply preview the currently selected artboard and was tested against the latest Sketch and Skala apps.

    0 points