Questions tagged [manifest.json]

The `manifest.json` file is a JSON -formatted file that give you the ability to control your application and is the only file that every WebExtension must contain.

Every extension has a JSON-formatted manifest file, named manifest.json, that provides important information like :

  • Version
  • Name
  • Description
  • Default locale
  • Icons
  • Developer
  • Type ...
555 questions
4
votes
1 answer

Manifest.json loads index.html

Manifest.json loads index.html on Google Chrome The React App I am building has a manifest.json as follows, created when I first used Create-React-App: { "short_name": "React App", "name": "Create React App Sample", "icons": [ { …
Lumo Woong
  • 77
  • 1
  • 11
4
votes
1 answer

How manifest.json can ignore a specific folder under it's scope?

I've set up the "start URL" and "scope" of manifest.json to the root of the site. "start_url": "./index.html?addToHome=true", "scope": "./", But I want it to ignore a specific folder positioned under this root. Is there a way to do it? _…
4
votes
1 answer

Android - PWA does not open in standalone mode with service worker

While developing a Progressive-Web-App the following Problem occurred: Standalone mode works perfectly without including the service worker - but does NOT work with. Without Service-Worker a2hs (added to Homescreen) PWA gets correctly started in…
4
votes
2 answers

Manifest Validates but App Opens with Blank Screen?

I'm adding a manifest to my web app for the first time. My manifest validates successfully at manifest-validator.appspot.com. And the Chrome Application->Service Worker window shows the service worker as successfully registered. I am able to "Save…
VikR
  • 4,818
  • 8
  • 51
  • 96
4
votes
1 answer

How to fix UTF-8 Firebase Error for Content Script w/ Chrome Extension Manifest.json?

I made a Chrome Extension and am using Firebase to authenticate users. I downloaded the Firebase.js from https://www.gstatic.com/firebasejs/4.11.0/firebase.js, hoping to add the firebase code to my chrome extension manifest. The Firebase auth is…
4
votes
1 answer

Exclude matches in Chrome extension manifest

In content_script options of my extension's manifest.json: { "matches": [ "*://*.pipedrive.com/*" ], "exclude_globs": [ "://www.pipedrive.com/*" ], "css": [ …
4
votes
2 answers

ios - Web App lauched as Homescreen switches to browser mode after page change

The Web App works great on Android, stays in homescreen mode while browsing pages. For some reason on iPhone and iPad it switches itself to a browser mode after changing page. I have tested in chrome application tab, and all icons, manifest and…
sanchez
  • 4,519
  • 3
  • 23
  • 53
4
votes
1 answer

Chrome Extension Issue (Invalid Manifest)

I have a strange error, I recently published a chrome extension to chrome web store which is published to testers only and anyone who tries to install it is getting the following error There was a problem with the download. Please contact the…
Ali
  • 2,702
  • 3
  • 32
  • 54
4
votes
1 answer

What value should I give the scope attribute in my manifest.json file when serving a Progressive Web App from a local IP address with a port number?

I am having a problem with web app manifest scope on my local Node JS test server. I cannot get the correct scope because the port number on the IP address gets in the way. I am accessing my server with the following…
4
votes
2 answers

No Manifest Detected, I want to get 'Add To Home Screen' button displayed

I'm having a bit of trouble getting to grips with 'Service Workers' and the 'Manifest.json' aspect of google chrome. My end goal is to get a 'Add to Home Screen' button appearing when the user browses one of my websites via their mobile device in…
Chud37
  • 4,907
  • 13
  • 64
  • 116
4
votes
2 answers

Why is there a white screen between the splash screen and rendered content of my progressive mobile web app and is there a way to remove it?

I have installed my mobile web app to the homescreen of my Android phone. When I start the app, the splash screen is displayed with the app icon, name, and background color defined in my manifest.json file. Right after the splash screen disappears,…
Frank
  • 2,050
  • 6
  • 22
  • 40
4
votes
2 answers

WebPack require context from list in external json file

I have build_modules.json file, which contains information about modules should be required by WebPack, for example: [ 'module.superman', 'module.superwoman', 'module.spiderman', 'module.wolverine' ] So, I need to require all those…
impulsgraw
  • 887
  • 3
  • 13
  • 34
3
votes
0 answers

Chrome Extension connection with the app is not working

Working on a project where an app needs to connect with a chrome extension that needs to migrate from manifest v2 to v3. Detail: In manifest v2 inside the background.js we inject the script (which contains some dataset) that gets the file from…
3
votes
1 answer

Rails not see compiled files by webpack when webpack-dev-server is runing

When I run webpack-dev-server, it compile ONLY manifest.json file with paths to compiled .js and .js.map files. And when I start rails server, I can watch in google console that it cant find compiled js files: GET…
Octocat
  • 473
  • 4
  • 7
3
votes
2 answers

I was trying to make a chrome extension and Getting localStorage undefined error while using manifest v3

With manifest v2 it is working fine. But with manifest v3 I'm getting error "ReferenceError: localStorage is not defined" manifest.json { "name": "Getting Started Example", "description": "Build an Extension!", "version": "1.0", …