I have a Firefox Add-on, I wrote it with the Add-on Builder, it worked in Firefox 11.0. I copied the files into a set of directories on my hard drive and used cfx xpi of the Firefox Add-on SDK 1.6.1 to generate an .xpi and it worked it Firefox 11.0. I edited my main.js in the Add-on Builder and downloaded the .xpi and it works in Firefox 12.0. I modified the main.js on my hard drive, ran cfx xpi, and then when I tried to load the resulting .xpi, it says that it can't install because it is not compatible with Firefox 12.0.
How can I make this work?
For some reason, Add-on SDK 1.6 uses these compatibility settings:
<em:minVersion>10.0</em:minVersion>
<em:maxVersion>12.0a2</em:maxVersion>
So the add-ons it produces by default will only be compatible with an alpha version of Firefox 12 but not the final release. You should take the advise from the documentation and edit python-lib/cuddlefish/app-extension/install.rdf. It would make sense to use 14.* as maxVersion because addons.mozilla.org already lists it as a valid version.
Update: Current versions of the Add-on SDK have more sensible compatibility ranges. However, if you need to change them - starting with Add-on SDK 1.12 the file can be found under app-extension/install.rdf (current documentation).
Probably too late but complete doc about min/maxVersion of generated xpi and changing them is here.
Related
Whats are the Protractor Supported versions of Firefox, IE and Safari?
My test does not run in Firefox latest version.
#High level Protractor is just a wrapper around webdriver. It depends on browser versions you want to test en the webdrivers for that browsers you have downloaded with webdriver-manager as said by #alecxe.
Currently there are some known issues with the webdrivers that can also be found on the Protractor GitHub:
Firefox latest has problems with Angular2 apps, see this link, as far as I can remember Protractor worked till Firefox 47, it broke due to problems in de webdriver of Firefox from version 48-50 and it started working from 51, but not for Angular 2.
IE11 works
Microsoft Edge, see this, as far as I can see still not stable on version 14.
Safari 9, works, but it's with the old Safari Driver, it misses a lot of user interactions like Tabs, mouse events and so on.
Safari 10, I've heard that it works with the latest version of the Safari webdriver, don't heave experience with it, see also here for a guy who had problems with it but got it working.
Chrome, should work with all latest versions if you always keep you ChromeDriver up-to-date.
Hope this gives you a good idea!
Protractor depends on the webdriver-manager package which now, since version 12.0.0, installs the latest versions of selenium-webdriver, iedriver, chromedriver and geckodriver.
Then, to determine which browser versions are supported, you need to see what driver version was installed by the webdriver-manager:
$ webdriver-manager status
and then look up what browser versions your installed driver version supports.
My test does not run in Firefox latest version.
In your case, you might be experiencing this problem:
Webdriver-manager will now by default grab the latest versions of all
binaries (standalone, chromedriver, iedriver, gecko driver). Use the
--versions.(binary name) to pin to a specific version. Selenium standalone 3.0.1 has a bug which prevents it from working with any
version of FireFox. We have tested version 3.0.0-beta4 and know that
it works with FireFox 51, and we expect that the 3.0.2 release will
also work.
Which currently means that you should be able to fix it by running:
$ webdriver-manager update
Or, you may also try the directConnect mode.
I'm building a simple app for Windows Phone 8 (with limits me to PG 2.9, since PG 3.0 is not yet supporting WP8).
When I include one of core plugins (3rd party ones work just fine) in my config.xml, I get "Unable to create app: plugin unsupported" error.
Changanging PG version to 3.0 fixes problem, and shows included plugin under "Plugins" tab.
So the question is: how to use core plugins in PGB 2.9?
You don't need to use the plugin tag in your config.xml file for 2.9.0. That's why you're getting the error.
We're planning on rolling out support for Windows Phone 8 in PhoneGap Build by the end of the week so you can use 3.0.0 and not have this issue.
=Ryan
ryan#adobe.com
Right now I am setting up Motodev.
Its a Android Development Suite built on Eclipse, created by Motorola.
What is needed is the Android SDK. Check, got that, newest version, everything is set with that.
Now it says I need the ADT Eclipse plugin. Version 20.0.1, currently mine is v18.
I know where to get it, I can easily get it, but I am curious, where should it be installed? Currently I dont have eclipse I am just using MotoDev. But since Motodev asks where the SDK location is, and says my ADT plugin is out of date, I am assuming I have to install the ADT in the SDK directory. But is there somewhere more specific to put it? In a specific folder? or just in the top level of the SDK directory?
Thanks for your time.
Unfortunately, you can't use ADT20 with MOTODEV Studio 4.0. The plugins had some API changes between 18 and 20 that made them incompatible with each other. You will need to roll your SDK back to 19 until we can release a newer version. I wrote about this about a week ago on the MOTODEV Studio blog.
We're done with the engineering work on the new version. It's just a matter of getting the push to the web server scheduled. I expect it to be ready by late next week or early the following week.
Until then, if you need to use ADT20 for Jellybean development, use Eclipse for Mobile Developers plus the MOTODEV Core Plugins (using Help>Eclipse Marketplace). Most of the functionality of the installed product is there, but without the dependency on ADT. See the blog for details on how to set that up.
I made an addon to Dektop Firefox using addon-sdk. now i want to launch it into firefox mobile(fennec) in android. I am using android 4.0.3 emulator. I have installed mobile firefox browsers(almost all versions) in it. im trying to install my addon to mobile firefox using addon-sdk. in this step i am getting different types of errors.
1.some addons installed with disable mode, but not working enable/disable option.
2.for some addons, i am getting "addon installed,restart required" option, but after restart, addon not visible in addon manager
please, provide atlesat one working way, to develop and install firefox addons(any simple) in fennec(any version) in andoid (any emulator/any mobile).
Thanks,
You are asking the wrong question. Any version of Firefox Mobile supports extensions, no problems here. However, its user interface is very different from the desktop Firefox which means that extensions built for the desktop Firefox usually won't work without adjustments. So the correct question would be:
Which version of the Add-on SDK supports Firefox Mobile?
You need Add-on SDK 1.5 or higher. When running cfx you will have to use --force-mobile command line flag to make sure that your extension is marked as compatible with Firefox Mobile. There will still be limitations however, most SDK modules currently don't support Firefox Mobile. Add-on SDK 1.8 lists the following modules as supporting Firefox Mobile:
page-mod
page-worker
request
self
simple-storage
timers
Wladimir is correct, and I would only add that we are working on expanding module support on native Fennec. If you want to play with some additional Fennec features in an SDK-based add-on right now, you can get access to the NativeWindow and BrowserApp objects Fennec implements by using this code in a module:
let utils = require('api-utils/window-utils');
exports = {
BrowserApp: utils.activeBrowserWindow.BrowserApp,
NativeWindow: utils.activeBrowserWindow.NativeWindow
};
The documentation for these objects is on MDN:
https://developer.mozilla.org/en/Extensions/Mobile/API/BrowserApp
https://developer.mozilla.org/en/DOM/window.NativeWindow
How can I find which version of Firefox does the Google Web Toolkit Developer Plugin support ? I can't find it anywhere.
As Firefox now has it small development cycle, it could be nice if Google point us to a page where we could find the supported browsers versions.
For information :
I'm using Firefox version 5.0 with no problem.
I saw on Google Groups people saying that the version 8.0 works too.
Actual version of Firefox is 11.
EDIT 1 :
Last supported version can be found here http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/update.rdf as suggested by Thomas.
<em:minVersion>3.0</em:minVersion>
<em:maxVersion>16.0.*</em:maxVersion>
EDIT 2 :
The file pointed in EDIT 1 do not seems to exist anymore, so the best shot it looking at the commits logs, here : https://code.google.com/p/google-web-toolkit/source/list
ex:
r11637 update for Firefox 23 / Mac
r11636 update for Firefox 23 on Windows
The DevMode plugin supports all versions of Firefox from 3.0 to 11.0: http://code.google.com/p/google-web-toolkit/source/browse/trunk/plugins/xpcom/prebuilt/update.rdf
There's always some lag after a Firefox version is released, but a preliminary version of the DevMode plugin is generally available "unofficially" from the GWT Google Groups a few days (or even hours) after the Firefox release, pending code review before it graduates to the SVN repository. The problem is that the plugin has to be recompiled against the updated Gecko SDK, which is released a few hours or days after Firefox.
…and then the http://gwt.google.com/missing-plugin/ also lags a few days/hours behind (it hasn't yet been updated for Firefox 11 at the time I write), but the plugin for Firefox 11 can be downloaded from the SVN repository.
Mozilla is hiding their ftp server with "old" releases pretty good.
Here is the URL: ftp://ftp.mozilla.org/pub/firefox/releases/11.0/
In case you are looking more infomation about how to install/remove/features of the google plugin,
you can look at google plugin tutorial