Interactive wizard for APNs credential setup — walks you through creating and installing an APNs Auth Key (.p8) without having to navigate the Apple Developer portal manually.
Run from your project root:
mix mob_push.setup.apnsThe wizard will:
- Auto-detect your bundle ID and team ID from the Xcode project
- Open the Apple Developer portal → Keys page in your browser
- Tell you exactly what to click (name, APNs checkbox, Download)
- Watch
~/Downloadsfor the.p8file and move it to~/.mob/keys/ - Ask whether to use sandbox or production
- Append the config block to
config/runtime.exs
One click in the browser is unavoidable — Apple has no API for creating APNs Auth Keys.
Options
--dry-run— narrate all steps without writing any files