mobilechromeapps / chrome-cordova Goto Github PK
View Code? Open in Web Editor NEWChrome APIs and integration layer for running Chrome Apps on mobile using Apache Cordova.
Chrome APIs and integration layer for running Chrome Apps on mobile using Apache Cordova.
I need to queue up an action whenever a user brings the mobile app into focus. I've looked at the idle API but it seems only react when there is an input - I need the exact same functionality but for detecting when my app has been switched to.
Any tips?
Cheers!
Does it support webrtc?
Currently any iconUrls passed for Notification urls are ignored and icon is staticly set to android.R.drawable.ic_dialog_info
I've got a cordova app and wanted to give this plugin a try.
There's no docs for it on the README (regarding how to use it) and no JSDoc in the plugin so I found it tough to get started
I'm getting a crash report with the following details:
java.lang.NoSuchMethodError: android.app.Notification$Builder.setPriority
at org.chromium.ChromeNotifications.makeNotification(ChromeNotifications.java:208)
at org.chromium.ChromeNotifications.access$000(ChromeNotifications.java:35)
at org.chromium.ChromeNotifications$1.run(ChromeNotifications.java:259)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
The user is using a Galaxy Tab2 7.0 (espressorf) with Android 4.0.3; shouldn't we use the android.support.v4.app.NotificationCompat.Builder package for backwards compatibility?
Hi,
first of all great work with the cca a tool. It worked great for generating an iOS project from my chrome packaged app. Unfortunately chrome.socket.connect doesn't seem to invoke the callback. When I debug the app using remote debugging via Safari, it never steps into the callback. Here's my code:
chrome.socket.connect(self._socketId, host, port, function(result) {
... this is never called ...
});
I know keepAlive isn't implemented yet, so I avoided using that feature. Is there something else that I need to do to enable sockets for iOS?
thanks
While it is nice to have all the chrome packaged apps APIs, what about other APIs that are in chrome but not on iOS(Safari)? For example webGL and webRTC.
We implemented shims for node's net/tls apis on top of chrome.socket using Forge (TLS in JS). We're using this for our IMAP/SMTP email client and it works fine for Chrome Packaged Apps on the desktop. You can try the app here: https://whiteout.io
On iOS the problem is, the tls handshake does not complete. Could this be because setKeepAlive is not implemented on mobile? If so, how can I work around this constraint? Here's my code:
https://github.com/whiteout-io/node-shims/blob/master/src/node-tls.js#L110
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.