// use case

Test mobile-app deeplinks pointing at your laptop

Universal Links / App Links require an HTTPS URL with a valid cert hosting an apple-app-site-association or assetlinks.json. You can't put localhost there. lrok gives you a real cert at a real URL.
  1. Reserve a stable name

    $ lrok reserve myapp-deeplinks
  2. Serve the AASA / assetlinks file from your laptop

    Have your local server respond at /apple-app-site-association and /.well-known/assetlinks.json.

    $ lrok http 3000 --hint myapp-deeplinks
  3. Configure your app

    iOS: Associated Domains entitlement = applinks:myapp-deeplinks.lrok.io. Android: intent filter for android:host="myapp-deeplinks.lrok.io".

// why lrok for this

Apple's CDN caches AASA files aggressively. Having a stable URL means you set it once instead of chasing random ngrok subdomains every morning.

Related workflows