google-chrome-app

chrome extension authentication identity api

不打扰是莪最后的温柔 提交于 2020-01-05 08:42:35
问题 Hi i am developing a chrome extension and i need to authenticate user based on Google Plus account. I have implemented with Oauth 2.0 . But there is some issue when i execute chrome.identity.getAuthToken({ 'interactive': true } There is no popup window appears for authentication and i checked chrome://identity-internals/ . Token Status Not Found for my extension. I have followed all the steps for Chrome identity api and User authentication process The Application id of my extension is same as

How can chrome app reload itself? (document.location.reload is not allowed)

こ雲淡風輕ζ 提交于 2020-01-05 02:50:22
问题 I am developing chrome app. I need to refresh it often but it is not possible by calling: window.location.reload() or document.location.reload() In console there is error message: Can't open same-window link to "chrome-extension://dmjpjfnceeilhihfbkclnbnhjpcgcdpn/window.html"; try target="_blank". 回答1: Instead use this: chrome.runtime.reload(); If you have developer tools opened, they will be refreshed as well. Also it seems that if you have only opened app window and developer tools (and you

Where does the Chrome web store “Support” tab come from?

若如初见. 提交于 2020-01-03 22:27:21
问题 I'm creating a packaged Chrome app for the Chrome web store ... how do I enable a "Support" tab on my app page within the store? I'm reading the documentation on manifest.json, but I don't see any property that enables this support tab. 回答1: This is a global setting available in your Dashboard: After clicking: Word of advice: don't do it and make some other support link available (which you can set in the item's edit page in the dashboard, and will show up on that tab). The support page

Is there a way to package chrome apps using nodejs-webkit

与世无争的帅哥 提交于 2020-01-03 10:54:06
问题 Lets say i have an app and i want it to be executable standalone. I've found that you can do that with normal webpages, webapps, using https://github.com/rogerwang/node-webkit. But if its chrome packaged app how do you do that. I know it's possible as you can see in slides it uses webkit. https://speakerdeck.com/u/zcbenz/p/node-webkit-app-runtime-based-on-chromium-and-node-dot-js 回答1: Theoretically it is possible but you will have to implement by hand all of the chrome apis you use in your

Block chrome app from launching fullscreen

ぃ、小莉子 提交于 2020-01-03 02:37:09
问题 Currently developing a Chrome packaged app. I have implemented a fullscreen feature. Long story short: If the app was quitted/closed while it was fullscreen, the app window will launch in fullscreen mode but the content is not fullscreen because you cannot go fullscreen without user interaction! How I go fullscreen (content-script) document.addEventListener("webkitfullscreenchange", function () { if(document.webkitIsFullScreen === true) { document.querySelector('.active webview')

Chrome App usb DigitalPersona fingerprinted reader not found

狂风中的少年 提交于 2020-01-02 13:58:21
问题 I'm trying develop Google Chrome App(or extension, not sure) to use DigitalPersona fingerprint reader on Windows. Following : https://developer.chrome.com/apps/usb https://github.com/GoogleChrome/chrome-app-samples/tree/master/usb var DEVICE_INFO = { "vendorId": 1466, //0x05BA "productId": 10 //0x000A }; chrome.usb.findDevices(DEVICE_INFO, call_method); Result is "App was granted the 'usbDevices' permission, but device not found". p.s. the usb information above was found in windows device

How to enable camera and microphone in packaged application for Chrome OS or Chrome extension?

喜你入骨 提交于 2020-01-02 07:29:26
问题 I'm testing scenario where I call a hangouts web page in separate window but application doesn't have access to microphone and camera - buttons are red and message says that "Hangouts can't use the selected microphone/camera". I have included in permissions "audioCapture" and "videoCapture" . What has to be done to make it work? Edit: After allowing media app has access to camera and microphone - I can see that in settings of hangouts but picture and voice are not transmitted over the

How do you display a filesystem URL in a Chrome app webview?

喜你入骨 提交于 2020-01-01 05:45:08
问题 I have a Chrome packaged app that requires me to be able to view saved, offlined web pages. These pages are downloaded from my server when the user is online and saved to the HTML5 filesystem so that they can be viewed offline. This Chrome bug ticket seems to indicate that what I want to do is possible: https://code.google.com/p/chromium/issues/detail?id=343382 Based on the Chrome app 'webview' docs (https://developer.chrome.com/apps/tags/webview), this is what I came up with. In my manifest:

Google Chrome App: Webview behavior

自古美人都是妖i 提交于 2020-01-01 05:31:07
问题 While researching for an issue on <iframe> on Chrome Extension, the <webview> in Chrome Apps caught my eye and got me interested. So i decided to do a small example of the issue i am facing on <iframe> and see if <webview> get it solved. From what i understood of watching a Chrome Dev video, the webview runs in a separate process than your app; it doesn't have the same permissions as your app. So i assume if the content in the runs in a certain way separated from the 'main thread' (app), i

Chrome app store porting from Android app using arc welder

巧了我就是萌 提交于 2019-12-30 14:48:30
问题 This question is relevant to app developers only! I am trying to convert and publish my android apps to chrome web store. I used the arc welder chrome app suggested in Google's getting started guide. I've downloaded zip from ARC welder app. When I launch the app from welder app, It's working as expected. The issue 1 (solved): After publishing the zip file on Chrome app store and trying to install on Chrome running on OSX platform the app appear "Unsupported platform" and does not allow to