NW.js chrome.gcm. API doesn't work - google-cloud-messaging

I have chrome packaged app, and there I use GCM.
NW.js said that they will continue to support chrome APIs in this article, but I can't get a registration ID when using chrome.gcm.register.
Any news about this? Is this API still supported?

As mentioned in Transitioning from Chrome apps on Windows, Mac, and Linux, Chrome packaged and hosted apps will remain supported and maintained for the foreseeable future on Chrome OS only. It was stated further:
Chrome packaged and hosted apps will be discontinued on Windows, Mac, and Linux over the course of now and early 2018. For more information, refer to the August 2016 Chromium blog post.
For this concern, please try going through the given documentation above for the recommended migration options for packaged apps.

Solution is to use --enable-gcm flag in command line.
Example(OS X):
open -n -a nwjs --args --enable-gcm /path/to/app/

Related

Is Chaincoder IDE Compatible with Ubuntu 18.04?

I am learning hyperledger fabric and want to use an IDE for the same.While searching about it in google, i came across Chaincoder IDE, But according to the website, its only available for Windows 10(Pro or Enterprise) and MacOs. I am working in Ubuntu 18.04 so i want to know will it work in Ubuntu or not ?
The website is clear
There is an exe for Windows
a Zip for Macos
So no available version for Linux.
Downloading it was enough to answer your question.

Docker + Selenium Grid: Is it possible to do true cross-platform testing?

I am new to Docker and I am exploring Docker as a way to build a more stable and maintainable Selenium GRID. I have completed the Docker + Selenium Grid course at Udemy, but I still don't know a few things.
My company has a web portal and I am required to verify functionality across browers and OSes:
Recent versions of Chrome on recent versions of Mac, Linux & Windows
Recent versions of Firefox on recent versions of Mac, Linus & Windows
Recent versions of Safari on Mac
Recent versions of IE and Edge on recent versions of Windows
As far as I can tell a Docker container is 'linux-like'. Does that mean it serves only to verify Chrome and Firefox on linux. Is there some way to use Docker to verify these other browser + OS combos?
Please explore the below projects for selenium grid with docker on Linux and Windows .
1)https://github.com/elgalu/docker-selenium/blob/master/README.md
2)https://github.com/SeleniumHQ/docker-selenium
3)https://github.com/zalando/zalenium/blob/master/docs/usage_examples.md
Recent versions of Safari on Mac
-: I am not sure about the safari availability in docker hub , but try putting your question for mac in docker-for-selenium project they will help you .
Recent versions of IE and Edge on recent versions of Windows
-:Yes , their are some challenges while implementing the IE and Edge in windows containers.
please check this thread #https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/214
it is clearly mentioned here , "Windows feature enabling to install the GUI within a windows container" ,So challenges are their to enable GUI for windows container .
But still if you want to go for cross browser testing
with other options available for windows . you can try exploring this # https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
UPDATES
Copying my answer from https://stackoverflow.com/a/55704955/5449500
Still there is no official approach to run IE/EDGE inside docker as
"No Windows docker images have GUI, so we cannot test IE11, EDGE."
But,We can install virtual-box and make this happen.
This approach adds extra layer of virtualization[Nesting of virtualization] on the top of docker to make the IE/Edge execution happen and I think in near future it may leads to to performance issue for heavy testing.
If Selenium testing is what you are looking for and don't have heavy load , you can give a try to the approach mentioned in the link.
Youtube - Selenium Windows containers in Docker under Linux
Github - Windows Images
Blogpost - selenium-on-windows-docker-revolution

Are there NPAPI testing tools?

I'm using firebreath to build a plugin that downloads an application and runs it (something very simple). I know that some browsers are dropping npapi support, but I need to run this plugin just in old versions of browsers (e.g. IE 6, Firefox 38, Chrome 31). I'd like to know if there are any tools that could help testing the plugin's in a variety of environments (e.g. Firefox on Linux,windows, Safari on OSX). So far, what I'm doing, is setting up each environment (windows, linux, Mac) and building/installing the plugins manually. I think cross browser testing tools that I've found on internet won't help, because they don't allow plugin install.
I couldn't find anything on my research, so thanks in advance
Any browser automation tool capable of instrumenting pages on all of those platforms can test NPAPI, since it runs in a browser...
so, Selenium, for example.

Linux mint - Media shortcuts working for banshee but not spotify

I have recently installed Linux mint, and installed Spotify (the preview version). I have set up some manual media shortcuts (play, next, ...) which seem to work fine with Banshee, but not Spotify.
Anyone has a solution how to make Spotify work with keyboard shortcuts?
Thanks.
I have used this quite successfully: https://github.com/jreese/spotify-gnome
It is likely someone will have already packaged this for apt-get so it might be worth having a google for it before doing a manual install.

Multiplatform (Win, Mac, Linux) development environment to achieve native look-and-feel? (Just as Dropbox)

I've noticed that all betas for Dropbox are released simultaneously for Windows, Mac and Linux. How do they do that? Anyone knows which platform they're using? I'm aware that there are many native -very impressive, actually- functions in each of the platform clients, but they seem to release critical bug fixes efortlessly for all platforms.
So any idea of which GUI platform they're using?
The Linux version includes files such as wx._windows_.so, libwx_gtk2*.so, etc. (I haven't checked the others), so I suspect Dropbox uses wxWidgets.
Qt is a popular cross-platform application and GUI framework with native look-and-feel.
I don't know what Dropbox uses for all its supported platforms, but it looks like its linux client uses at least Gtk: Dropbox linux System Requirements.