Skip to content

A means to extend the life of transient activation #8529

Open
@marcoscaceres

Description

@marcoscaceres

Consider the following case, which developers appear to be running into:

<button>Share it!</button
<script>
button.onclick = () => {
    // Slow network + really big file
    const image = await fetch("really-big-file").then(doMoreSlowStuff);
    
    // Oh no!!! transient activation expired! 😢
    navigator.share({files: [image]});
} 
</script>

What would be nice there was some way to extend the life of transient activation above...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions