Skip to main content

List all app bundle ids (app.bundles)

Declaration​

bids = app.bundles()

Returns​

  • bids
    Array (sequential table). All app bundle identifiers on the device, including system apps.

Description​

  • 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