I'm trying to write a plugin that works like a "cloud clipboard" to copy and paste selection from one document, to any other user's document via a code that's copied to user's clipboard when copying.
It already works well for all non-symbol elements, but all symbols are "missing" with the red link icon displayed. Any thoughts on how to fix? I suspect it's an issue with UUIDs being regenerated when pasting into a new document or something?
Sketch API documentation seems to emphasize what individual API props and methods are but doesn't really give any explanation about the bigger picture of how and why symbolMasters, instances, symbolIDs, etc are all interrelated, and further, how libraries and importables actually become available to the document.
Any guidance appreciated!