2

I have developed several search providers (not XPI add-on but just an XML file) for Firefox, but can't install any in Firefox Mobile, getting incompatibility error:

This search engine isn't supported by Firefox and can't be installed.

How to make them compatible? I didn't found anything compatibility-related on the Dev Hub.

Charles
  • 50,943
  • 13
  • 104
  • 142
abatishchev
  • 98,240
  • 88
  • 296
  • 433

1 Answers1

0

The application IDs for Firefox Mobile are:

  • {a23983c0-fd0e-11dc-95ff-0800200c9a66} (Firefox Mobile with XUL user interface)
  • {aa3c5121-dab2-40e2-81ca-7ea25febc110} (Firefox Mobile with native user interface)

You should add the corresponding targetApplication sections to the install.rdf file of your package.

Wladimir Palant
  • 56,865
  • 12
  • 98
  • 126
  • Am I correct that this is for full Firefox addin? But my search providers are just an XML files, only it. – abatishchev Apr 08 '12 at 09:02
  • @abatishchev: You didn't quote the message you are getting so I assumed that you were packaging your search plugins as XPI files. Feel free to provide additional details in your question... How are you installing your search plugin? – Wladimir Palant Apr 08 '12 at 09:07
  • I'm opening the addon page on the hub from my FF Mobile (Android) and clicking Install. Error (actually in Russian): This search engine isn't supported by Firefox and can't be installed. – abatishchev Apr 08 '12 at 10:03
  • @abatishchev: There are two variants of FF Mobile for Android (XUL UI and native UI) and different versions. Also, "addon page on the hub" tells me absolutely nothing about the install method used, [AddSearchProvider()](https://developer.mozilla.org/en/Adding_search_engines_from_web_pages)? Search engines from mycroft.mozdev.org seem to install just fine in both Firefox variants. – Wladimir Palant Apr 08 '12 at 11:06
  • Don't you know how to distinct them - which one do I have installed? – abatishchev Apr 08 '12 at 11:14
  • And what does "To install an OpenSearch plugin, you need to use the window.external.AddSearchProvider() DOM method" mean? – abatishchev Apr 08 '12 at 11:18