The current SDK has some quirks regarding the WEB_PLATFORM APIs that rely on the iFrame url parameter (i.e. getObjectId, getActionId, getActionTargets, getLocale)
You should save those values at the beginning of the script when your plugin page loads, and so that you don't have to call those APIs again after a modal dialog is opened and closed.
We're working on improving this.
laurentsd for the HTML 5 plugin (fling) seed the project generated doesn't have webplatform.js file.
This is causing error when loading the page at mainbundle.js.
You're right that plugin-seed doesn't use webplatform.js. Instead the bootstrapping of WEB_PLATFORM is done directly in the global.service.ts.
There is no know issue with that. Please open another Forum thread to describe your problem in details so I can help further. Thanks.
@laurentsd the link for the issue that I am facing.
Error in webclient 6.5 - (fling sdk) setGlobalRefreshHandler is not a function