Skip to main content

List all app bundle ids (app.bundles)

Declaration

bids = app.bundles()

Returns

  • bids
    Array (sequential table). List of many bundle identifiers, including system apps.

Notes

  • Get the list of all app bundle identifiers on the device.

Example

-- Iterate and close all apps
for _, bid in ipairs(app.bundles()) do
app.close(bid)
end