Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

156
Views
Add Native banner on Web App no-PWA not working

For add Native Banner in android device, I tried to add in my web app, manifest json and js code as documentation: https://developers.google.com/web/fundamentals/app-install-banners/native#criteria

I have two question because I'm confused,

Does the native banner only work with PWAs or can it also be inserted into a non-PWA web app? Is required to add a service worker? Thanks Manifest:

    {
prefer_related_applications: true,
related_applications: [
{
platform: "play",
id: "name",
url: "url my app"
}
],
name: "name",
short_name: "name",
display: "standalone",
icons: [
{
src: "/images/icons/android-chrome-144x144.png?v=20211026145646",
sizes: "144x144",
type: "image/png"
},
{
src: "/images/icons/android-chrome-36x36.png?v=20211026145646",
sizes: "36x36",
type: "image/png"
},
{
src: "/images/icons/android-chrome-192x192.png?v=20211026145646",
sizes: "192x192",
type: "image/png"
},
{
src: "/images/icons/android-chrome-48x48.png?v=20211026145646",
sizes: "48x48",
type: "image/png"
},
{
src: "/images/icons/android-chrome-72x72.png?v=20211026145646",
sizes: "72x72",
type: "image/png"
},
{
src: "/images/icons/android-chrome-96x96.png?v=20211026145646",
sizes: "96x96",
type: "image/png"
},
{
src: "/images/icons/favicon-android-512x512.png?v=20211026145646",
sizes: "512x512",
type: "image/png"
}
],
background_color: "#131822",
start_url: "."
}

App.js

    window.addEventListener('load', function() {
    console.log('SONO QUI');
    var outputElement = document.getElementById('output');                            
    window.addEventListener('beforeinstallprompt', function(e) {
        console.log('OPPURE QUI');
        outputElement.textContent = 'beforeinstallprompt Event fired';
    });
});
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!