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