My native messaging add-on is a component of a shareware program, the add-on’s native application (a Windows console program) is wrapped/protected by a software protector that is ofen used by shareware developers.
When I run the Firefox->about:debugging->Load Temporary Add-on…, load the manifest file to use the local version of the add-on, the native application works as expected.
Now the add-on has been published on Mozillar add-on, I download and install the public released add-on from Mozillar, and the same native application can not be started by Firefox, here is the error message showed in the debugging console window:
Unchecked lastError value: Error: port is null
Using the local version add-on, and the native application works as expected, but using the public released add-on, it looks like the firefox prevents the native application from running, the port is null.
The firefox version is 94.0.2 64 bit, the Windows 10 version is 2004. Is it because firefox does not work compatibly with native application that is wrapped/protected using a software protector?
Thanks for help!