Skip to main content

Get app plugin info (app.plugin_info)

Declaration

info = app.plugin_info(bid)

Parameters

  • bid
    String. App bundle identifier. You can find it in XXT App -> More -> App List.

Returns

  • info
    Table. Plugin info presented as a list like {{bid = "xxx", bundle_path = "xxx", data_path = "xxx"}, ...}. Empty table if not exists.

Description

  • Plugin info is available since iOS 9. Older systems don't have this concept.

Example

local info = app.plugin_info("com.tencent.mqq") -- get QQ's plugin info
nLog(info)