Questions tagged [google-chrome-app]

Don't use this tag for PWA or the Chrome app/binary itself! Use this tag only for apps built using Chrome App specification. Just like web apps, Chrome Apps are written in HTML5, JavaScript, and CSS, yet they look and behave like native apps, and they have native-like capabilities that are much more powerful than those available to web apps.

Note: Chrome Apps are to be discontinued by early 2018 for Windows, Mac, and Linux. However, they will still be supported on Chrome OS.

Google Chrome Apps deliver an experience as capable as a native app, but as safe as a web page. Just like web applications, Chrome Apps are written in HTML5, JavaScript, and CSS. But Chrome Apps look and behave like native applications, and they have native-like capabilities that are much more powerful than those available to web applications.

Chrome Apps are distinct from Chrome Extensions; use the tag if you want to ask a question about Chrome extensions.

Note: Chrome for mobile platforms ("Chrome app") is not covered by this tag. Use the tag for questions regarding mobile Chrome.

Chrome Apps have access to Chrome APIs and services not available to traditional web sites. You can build powerful apps that interact with network and hardware devices, media tools, and much more. Here's a short list of examples:

Working samples and examples can be found on GitHub as well as a step-by-step guide.

The term "Chrome app" used to refer to legacy "packaged apps", which is deprecated in favour of Chrome apps.

2527 questions
12
votes
1 answer

How to prevent pull to refresh in pwa - progressive web apps?

as a progressive application is it not good to refresh application accidentally by pulling down the page. is there any standard way (not css tricks) to disable refreshing entire page in PWA?
sadeghhp
  • 621
  • 14
  • 28
12
votes
2 answers

Chrome extension: how to use serial port (now that apps are sunsetting)?

Aim: I am attempting to write a little "thing" that can talk from my browser to the COM port of an Arduino. Issue: My first attempt is to write an extension. Therefore I am requesting permission for serial in my manifest file. When loading the…
12
votes
1 answer

How do I pass data, like a user ID, to a web worker for fetching additional push notification data from server?

I think I'm missing something that is likely incredibly easy. I'm registering a service worker to receive push notifications from my server via GCM. This works fine. Unfortunately, I can't pass any data along with my push notification, so when the…
12
votes
1 answer

Webview keeps losing focus

I have an app that is basically just a wrapper for an internal company website. The idea is to easily load the website in its own window on my Chromebook, that way it won't unload when RAM gets low. I have a very simple app with a single WebView…
Zenexer
  • 18,788
  • 9
  • 71
  • 77
12
votes
1 answer

Google Chrome Package Apps : How to make transparent rounded background like google hangout app?

As shown in the below screenshot, hangout app is fully transparent and it has background-shadow applied to it as well. I tried several approach with no luck by applying css styling to "html" and "body" tag to the page and by using "frame: none"…
Prateek
  • 4,220
  • 1
  • 17
  • 22
12
votes
1 answer

Can I control how long Chrome App notifications last?

We've got a Chrome app with working notifications, but the notification only lasts a few seconds and then goes away. Our end users are going to want that notification to stay until they dismiss it. Can that be done? We couldn't find anything in the…
Citizen
  • 12,430
  • 26
  • 76
  • 117
12
votes
2 answers

Is there an API for the chrome://webrtc-internals/ variables in javascript?

I want to get access to some of the logged variables in the chrome://webrtc-internals/, but I didn't find anything on google - not even a description of the graphs I can see. I am particularly interested in packetsLost, googCurrentDelayMs and…
m3o
  • 3,881
  • 3
  • 35
  • 56
12
votes
2 answers

Storing video for offline use in PhoneGap/Chrome Apps

I have simple video playing apps both set up by PhoneGap and Chrome Apps CLI's (Both use Cordova), they contain a bunch of short educational videos and are needed as both website and application on Android/iOS for offline usage. I have found, so…
Daniel Sailes
  • 165
  • 2
  • 10
12
votes
2 answers

'fileSystem' is only allowed for packaged apps, and this is a legacy packaged app

I need to use the fileSystem permission in the manifest.js, so I can read/write files from my Chrome extension. When I load my extension with the "Load unpacked extension" button, Chrome displays: 'fileSystem' is only allowed for packaged apps, and…
12
votes
2 answers

Run Chrome Packaged apps inside of browser tab

I'd like to use new APIs provided for Chrome Packaged Apps, but also want to preserve ability to open some local URL in my current browser environment, is it possible? All Packaged Apps tutorials are focused on creating separate window and using app…
Nik
  • 9,063
  • 7
  • 66
  • 81
12
votes
4 answers

Google chrome extension : is it possible to get console output (js errors, console.log or etc)

I am developing chrome extension, and the thing that i really need is to get console output as object. Is it possible to get any of that in chrome extension popup.html/popup.js or somewhere ? I have tab object, can i get somehow that particular tabs…
11
votes
0 answers

Google Chrome on iPhone/iPad doesn't support downloading csv file and then save it to my device

I want to download the csv/xlsx file and save it to my device (to Files app), it works on Safari which showing a confirm pop up to decide whether I want to View or Download it. However, Google Chrome on iPhone doesn’t allow me to download the file,…
Josh
  • 119
  • 1
  • 4
11
votes
2 answers

iOS Chrome calculates the wrong height of the document

In order to fill the whole height of the page, I use height: 100%; for html and body tags, and it works fine until a browser would be closed and reopened. (I don't use 100vh because of issues on mobile devices…
Anzhelika
  • 111
  • 1
  • 5
11
votes
2 answers

Using chrome app (postman) in android phone

It is possible to use existing chrome application like POSTMAN in android phone? If yes, how to use it? thanks
G.C
  • 121
  • 1
  • 1
  • 4
11
votes
1 answer

Get id_token with Chrome Identity API

I am developping a Google Chrome extension, to allow users to authenticate with their Google Accounts, i decided to use Chrome Identity API. To authenticate the user in my Application i need to get the ID_Token (signed token) is there a way to get…