App-extensions-sdk version 0.2.0-rc.0 works while 0.9.0 doesn't

Hello.
While developing a custom UI extension I found out that newer version of SDK refuses to initialize (also I have no idea how to even debug it, since my server successfully responds with the page and I can’t see execution from UI).

Using the same code, older version successfully opens a custom modal and window.

Note that I did change AppExtensionsSdk to AppExtensionsSDK for version 0.9.0
This works:

<script src="https://cdn.jsdelivr.net/npm/@pipedrive/app-extensions-sdk@0.2.0-rc.0/dist/index.umd.js"></script>
<script>
(async function () {
            const sdk = await new AppExtensionsSdk().initialize();
            await sdk.execute(AppExtensionsSdk.Command.RESIZE, { width: 1200, height: 800 });
        })();
</script>

And this doesn’t work, even thought I’m copying from GitHub example.

<script src="https://cdn.jsdelivr.net/npm/@pipedrive/app-extensions-sdk@0.9.0/dist/index.umd.js"></script>
<script>
(async function () {
            const sdk = await new AppExtensionsSDK().initialize();
            await sdk.execute(AppExtensionsSDK.Command.RESIZE, { width: 1200, height: 800 });
        })();
</script>

What else am I doing wrong?

Hello @Vladyslav_Otroshchenko !
Can you share what browser are you using and which version?
Also, if possible, please drop the error message you get from the console. :slightly_smiling_face:

This topic was automatically closed after 60 days. New replies are no longer allowed.