Skip to content

id member reuse in MiniApps Manifest (no document URL) #1048

Open
@espinr

Description

@espinr

[Bringing the discussion from w3c/miniapp-manifest#43]

We want to align the MiniApp identifier (app_id) with the web app manifest's id. It would make sense to reuse it directly. It fits in terms of semantics ("a string that represents the identity for the application.")

But there is a big difference, the (web app manifest's) id takes the form of a URL, which is the same origin as the start URL. MiniApps are packaged and can be distributed by different means, not only through the web (so not necessarily must have a start URL). In some cases the app_id follows the Java package naming (e.g., org.example.app).

Since we are using the manifest extension mechanism, is it possible to reuse the member but refine the processing algorithm?

Also, reviewing the main algorithm, I see another relevant challenge, the document URL must not be null. Any idea how to relax or bypass this dependence?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BLOCKEDBlocked for some reason

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions