struct Protocol::Page::GetAppId

Overview

Returns the unique (PWA) app id. Only returns values if the feature flag 'WebAppEnableManifestId' is enabled

Included Modules

Defined in:

protocol/page.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def app_id : String | Nil #

App id, either from manifest's id attribute or computed from start_url


[View source]
def recommended_id : String | Nil #

Recommendation for manifest's id attribute to match current id computed from start_url


[View source]