My plugin works fine in browser, but if add /m/ in the url for view the result in mobile, the content is empty. But it’s fine in another domain.
Current Situation
The same plugin works no problem in anther domain when add /m/ in url.
I checked the page source and find that the plugin related files not been added to the html head section.
Code / Attempts
Error Message
The following is the page source for desktop version (fine)
Additional information for reference:
We found that after remove the plugin from app and add again, the mobile view works fine.
Not sure if it’s related with the not updated version number in manifest.json file when we build and deploy an updated version of plugin for support mobile (with new added mobile items).
Something strange is: the desktop view works fine and the code is the updated one but the mobile view keeps empty view, maybe there has some cache like item not detect that changes of mobile.
Hello @Henry_Jia
I’m glad that the issue has been resolved!
Based on the details provided, your observation suggests that kintone does not automatically re-sync a plugin's manifest structure for apps where it is already installed.
When an app is initially configured with a original ‘Desktop-only’ version of a plugin, kintone appears to maintain a local configuration for that specific app. Even after the plugin is updated in your environment to include a mobile section, the existing app seems to retain its previous 'Desktop-only' structure. This would explain the empty script injection (the missing tags) you observed in the page source. The fact that manually re-adding the plugin resolved the issue indicates that this action was necessary to force the app to pull the latest manifest and correctly initialize the mobile containers.