ipa-bundler
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

IPA Bundler

Just like bundler but in NPM format so you can easily run this on CI/CD.

Example:

import { writeBundle } from "ipa-bundler"
const relativeIpaUrl = "./my.ipa"

const opts = {
    appTitle: "Foo",
    bundleVersion: "1.0.0",
    bundleIdentifier: "com.example",
    baseURL: "https://example.com/v1.0.0/",
};
await writeBundle(opts);

// or with extra options:
await writeBundle({
    ...opts,
    outDir: "public",
});

Options

- Option - - Description - - Default -
baseURL Where the files will be hosted (ipa & manifest) required!
outDir Where to write the html and manifest files .
htmlFile How to name the html file, relative to outDir index.html
manifestFile How to name the manifest file, relative to outDir manifest.plist
bundleVersion Which (marketing) version the IPA is 1.0.0
bundleIdentifier Which identifier the IPA uses com.example
appTitle Which title the IPA uses MyApp

Extra goodies

$ qr https://example.org 150
// https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https%3A%2F%2Fexample.org

References

  1. https://stackoverflow.com/questions/23561370/download-and-install-an-ipa-from-self-hosted-url-on-ios

Readme

Keywords

none

Package Sidebar

Install

npm i ipa-bundler

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

16.1 kB

Total Files

12

Last publish

Collaborators

  • hermanbanken