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
16
votes
3 answers

Error when using chrome.notifications.create "Uncaught TypeError: Cannot read property 'create' of undefined"

Hi I get an error when calling chrome.notifications.create from inside a function in the js of a chrome app. Can be used fine from outside a function but when within a function I get the following error: Uncaught TypeError: Cannot read property…
16
votes
4 answers

chrome.identity.getAuthToken not working

I am working with Chrome Identity API, to provide users with a Google Authentication on my Chrome Extension. I followed the official tutorial of Google : link Chrome Identity API i added permissions to manifest.json and Client ID and Scopes to…
16
votes
4 answers

How to pass a blob from a Chrome extension to a Chrome app

A Little Background I've been working for a couple of days on a Chrome extension that takes a screenshot of given web pages multiple times a day. I used this as a guide and things work as expected. There's one minor requirement extensions can't…
16
votes
1 answer

show notifications in chrome extension

I'm writing my first chrome extension. In my chrome extension I have added an option in Right Click Context menu. chrome.contextMenus.create({ "id": "MyExntesion", "title": "My Extension", "type": "normal", "contexts": ["image"], …
16
votes
1 answer

Reasons for porting a Cordova App to a Mobile Chrome App?

We got a Cordova App running and wrote ourselves a build script using Grunt which makes building the App a breeze. We don't require any of the APIs Chrome offers and are, apart from some performance issues with elderly Android devices which forced…
zerodot
  • 805
  • 1
  • 7
  • 15
14
votes
1 answer

Chrome contextMenus API ContextType

I am looking at the API for chrome.contextMenu here. The context types listed are: "all" "page" "frame" "selection" "link" "editable" "image" "video" "audio" "launcher" "browser_action" "page_action" Some of these are intuitive, the others not so…
pqx994
  • 320
  • 2
  • 14
14
votes
1 answer

How do I link my extension to my Android app?

Chrome Web Store now shows links to Google Play for some apps and extensions: http://googlesystem.blogspot.in/2014/06/chrome-web-store-links-to-android-apps.html Can anyone suggest me the configuration that needs to be done for this? Is the…
14
votes
2 answers

Can I use Chrome Web Store payments with OAuth 2.0

I've written a hosted Chrome Web App which authenticates the user with OAuth 2.0 using the Google APIs Client Library for .NET. Now I want to add payments to our application using the in-built Chrome Web Store Payments. Looking at the documentation…
CodingIntrigue
  • 75,930
  • 30
  • 170
  • 176
14
votes
1 answer

Unable to trigger chrome.browserAction.onClicked.addListener with google chrome extensions

I'm a bit stuck here and was wondering if anyone can point out where I might be wrong. I am simply trying to make the body color change to red on click of the app icon. manifest.json { "name": "Bagde", "description": "", "version": "1", …
BaconJuice
  • 3,739
  • 13
  • 56
  • 88
13
votes
1 answer

Chrome Extension Taken Down. How did you proceed?

My business has multiple apps on the google webstore. I noticed this error below this morning in my account. One of the apps taken down was a test app which was unlisted so its not a big problem. However, one of the apps is a production app that…
13
votes
1 answer

Associate file type with Chrome Packaged App

Is there any way to associate some file types in you OS to Chrome Packaged App. I mean if you open file with *.some extension, it would open with my packaged app
Taron Mehrabyan
  • 2,199
  • 2
  • 20
  • 27
13
votes
4 answers

Chrome Packaged App and Dual Monitors

I am working on a packaged app that will use multiple displays. I need to be able to open windows in specific displays. I've also tried opening windows and then, using javascript, moving them to a monitor. But the app will not move any further than…
Kywillis
  • 707
  • 1
  • 8
  • 19
13
votes
1 answer

can we get chrome browsing history/bookmarks in our android app

can we get chrome browsing history/bookmarks like we get in default browser using READ_HISTORY_BOOKMARKS permission? PS:I Just want to know is it possible?
12
votes
4 answers

Chrome Extensions + Dart

Is it possible? I tried to insert the google dart api into page body and all I get is blank page, no script running...
Aleksandar Toplek
  • 2,792
  • 29
  • 44
12
votes
1 answer

Is it possible to use Google Chrome as a proxy server?

In my particular network environment the Google chrome executable can access via an authenticated outgoing proxy server external web sites. Other executables however (when pointing to that outgoing proxy) are not able to do so. I now have the idea…