Buildfire-是否可以在另一个插件中加载一个插件? [英] Buildfire - Is it possible to load a plugin within another plugin?

查看:95
本文介绍了Buildfire-是否可以在另一个插件中加载一个插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑制作一个插件,该插件将允许用户在其应用程序中添加横幅.我可以想到的理想方法是允许管理员选择允许插入的插件来选择与这些横幅结合显示的内容.

I am thinking about making a plugin that would allow users to add banners within their application. The ideal way that I can think about doing this would be to allow the administrator to choose what is shown in conjunction with these banners by allowing them to choose what plugin would be pulled in.

本质上,此插件将作为另一个插件的框架运行.当前是否可以像这样将另一个插件加载到框架插件"中,还是不可行?

Essentially, this plugin would operate as a frame around another plugin. Is it currently possible to load another plugin into a "frame plugin" like this, or is that no doable?

推荐答案

不幸的是没有.插件是自主的,它们与核心应用的API通信.

Unfortunately not. While Plugins are autonomous they communicate with the core apps' API's.

但是,如果您使用类似文件夹插件的工具,则可以使用轮播添加您的标语,并通过操作项使它们可点击(已内置) 参考:

However, if you to use something like a Folder Plugin you can use the carousel to add your banners and make them clickable via an action item (already built in) ref:

  • https://github.com/BuildFire/sdk/wiki/BuildFire-Action-Items-Component
  • https://github.com/BuildFire/sdk/wiki/How-to-use-action-Items

每次用户返回主屏幕时,横幅都会出现在其中

The banner would be there every time the user when back to the home screen

这篇关于Buildfire-是否可以在另一个插件中加载一个插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆