[PAL] install?url= routes ADP manifests through the IPA import flow

Aperta
#1,816 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
mobile

Direzione di ricerca

Start with SceneDelegate.swift, then trace importAppDeepLinkNotification through MyAppsViewController.importApp(_:) and sideloadApp(at:). Verify how install?url= handles ADP and source URLs, and clarify whether the intended outcome is supported installation or rejection. Done means the behavior is explicit, unsupported inputs produce a clear message, and supported URL schemes are documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

AltStore PAL recognizes altstore-pal://install?url=, but passing an Alternative Distribution Package (ADP) manifest URL appears to invoke the IPA import flow instead of the marketplace installation flow.

If direct installation through a URL scheme is not supported in PAL, could this be documented and the unsupported input handled with a clearer error?

Steps to reproduce
  1. Host a valid ADP, preserving its directory structure.

  2. Open the following URL on an iPhone with AltStore PAL installed:

    altstore-pal://install?url=https%3A%2F%2Ffs.menhera.zone%2FNMTest%2Fmasscoffee%2F1.0.4%2Fmanifest.json

  3. Observe the installation error.

I also tried passing the source JSON URL to install?url=, with a similar failure.

Actual behavior

AltStore PAL opens but installation fails with an error referring to App.ipa.

Expected behavior

Ideally, PAL would support a documented deep link that opens the installation confirmation flow for a notarized app.

If install?url= is intended only for IPA imports, PAL should reject unsupported inputs with a clear message directing users to add the source first.

Implementation reference

In the public marketplace branch at commit
56854e66fef2eac32dad88dcbad1dc131d430e60:

  • SceneDelegate.swift handles install?url= by posting importAppDeepLinkNotification.
  • MyAppsViewController.importApp(_:) calls sideloadApp(at:).
  • That method downloads the resource as App.ipa and attempts to unzip it.

This appears consistent with the observed failure. I have not confirmed whether my installed PAL release corresponds to this exact commit.

Questions
  • Is direct ADP installation through a URL scheme currently supported?

  • Is source?url= followed by viewapp?bundleid= the intended alternative?

  • Could PAL’s supported URL schemes and parameters be documented?

  • Region: Japan

Lingua principale
Swift
Stelle
15.1k
Fork
1.8k
Merge medio
5g 16h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di altstoreio/AltStore

Tutte le issue di altstoreio/AltStore

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.