I have a plugin that is approved and published to the community and I need to set enablePrivatePluginApi to true. I need this setting turned on it seems in order to get the fileKey value from within the plugin. According to this doc Plugin Manifest · Figma Developers
What are the implications of turning this value on in the manifests file on an already approved and published “publicly accessible” plugin. Would I need to go through the approval process again? Will my plugin now become only a team plugin and become unpublished from the community.
You can’t set enablePrivatePluginApi to true on a public plugin — that was the whole reason this option was needed in the first place. File key is not accessible to public plugins by any means as it would be a security consern.
Thanks, the reason Jonas gives is what I had feared. This is quite limiting though. Without changing the current API, Figma could just display an alert saying: “Sharing the file key with this plugin will give the developer perpetual access to this file. [ Share ] [ Deny ]”
How can I get a rendering of a frame without the file key?
Also there should be some explanation in the docs for fileKey.