We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa61fa commit 893f401Copy full SHA for 893f401
src/pages/plugin/plugin.js
@@ -101,16 +101,12 @@ export default async function PluginInclude(
101
}
102
103
104
- const iconUrl = await helpers.toInternalUri(
+ const iconUrl = Capacitor.convertFileSrc(
105
Url.join(PLUGIN_DIR, id, installedPlugin.icon),
106
);
107
- const iconData = await fsOperation(iconUrl).readFile();
108
- const icon = URL.createObjectURL(
109
- new Blob([iconData], { type: "image/png" }),
110
- );
111
plugin = {
112
id,
113
- icon,
+ iconUrl,
114
name: installedPlugin.name,
115
version: installedPlugin.version,
116
author: author.name,
0 commit comments