Updating of Mozilla side-loaded addon - firefox-addon

I found out that addon which is loaded to AMO will be updated as soon as newer version of addon will be uploaded and verified.
Would it be the same for addon which is side-loaded, and originally was installed as a part of bundle directly by user?

For side loaded addons, it depends. If you side laoded an addon that was "listed" then yes. If you side loaded an addon that was "unlisted", then it will check your "updateURL" parameter, and if that location updates, then it will update.

Related

Edge Dev Channel's Console is blank and unaccessible

A Picture speaks a thousand words:
I'm using the latest Microsoft Edge Dev Channel (v91.0.831.1 right now), and for some weeks till now the console is completely blank and unaccessible. I have tried:
Opening on anonymous mode
Opening via powershell by executing msedge.exe --safe-plugins on the dev channel msedge
Disabliong all extensions
Restoring DevTools defaults through the devtools preferences
Restoring the Edge browser defaults through edge://settings/reset
going to devtools://devtools and cleaning local storage
I'm hoping someone else went through this already. Maybe there's some other corrupted configuration I'm not aware of that I can reset?
For the record, the console is working fine on regular Edge(v89), only the Dev Channel version seems to have this problem.
This was a bug on Edge Dev and was fixed today

PWA Android and IOS Cache

We are experiencing a pwa application with services worker and everything that surrounds this theme.
I have questions about cache. Information is currently cached and accessed when offline. This works well when we talk about Android. In IOS it seems that the cache is not shared when we add the application to the home screen (installed). It seems that IOS keeps a cache for the application accessed in Safari and the installed one (I'm talking about the same application). In android it seems that the same cache is shared for the version installed and accessed in chrome.
In IOS after adding the home screen I am forced to log in online to generate the installed application cache.
About IOS would you like to know if you have already gone through this? And what would be the best way to persist this data so that the same cache is shared in the application accessed in Safari and the installed version.
In the service worker you mention the name of the cache, until and unless you change it there or update it e.g;
const staticCacheName = 'pages-cache-v3'; it will remain same and will be shared among versions. This may be true for the Android am not sure about IOS. Please update me if you have already found a better answer. Cheers:)
If this is still relevant, then I think that you should look at my answer in this question, because you are faced with the same problem.
PWAs on iOS 12 no longer shares Service Worker cache with Safari?

Transfer LocalStorage When Installing cordova-plugin-wkwebview-engine Plugin

Is there a way to transfer a user's LocalStorage data to the wkwebview browser when adding the cordova-plugin-wkwebview-engine plugin into an existing cordova/ionic project?
WKWebView is essentially a different browser and has no knowledge of any previous data saved within the UIWebView browser.
Crosswalk for Android handles this process automatically by migrating data to the new browser when the plugin is installed and first run on an existing user's device.
This Cordova plugin seems to be doing exactly what you describe, it migrates the localStorage from UIWebView over to be used in WKWebview: https://github.com/MaKleSoft/cordova-plugin-migrate-localstorage
Someone even forked it to add more functionality, such as migrating IndexedDB: https://github.com/jairemix/cordova-plugin-migrate-localstorage
Hope this helps!

How can i make an app that will work for desktop windows and IOS with phonegap?

I want to be able to access folders and files via my app, the problem is, when i want to access files on the desktop, i have to run it from a server or at least to emulate one using a program like xampp.
I know PhoneGap has it's own API to access files, but i need to make the app work on desktop too, and i don't mind it to be as normal offline website ( via index.html, not an exe ), but i still need to solve the security issues, i can't tell clients to run it from a server...
The big idea after it, is that i need the app to check for new files in the server, if there are any, to download them.
Also, i want the app to be able to access those downloaded files when it is offline as well.
I guess using only phonegap in ios will solve this, but i still need it to work on windows desktop as well.
PhoneGap released PhoneGap Desktop
http://phonegap.com/blog/2014/12/11/phonegap-desktop-app-beta/
I think this is what you are looking for!

Firefox extension automatically Update (silently without popup and any notification)

I followed the instructions on http://www.borngeek.com/firefox/automatic-firefox-extension-updates/ for setting up extension updates. I uploaded update.rdf and extension XPI file to a local server (App Engine server). I started the browser and after some time the Add-on Manager shows available updates. But they are not installed automatically (clicking the "Update" button is still necessary).
What do I need to do to have updates install automatically?
Most extensions require Firefox to be restarted after an update. So the Add-on Manager will detect and download updates but it will not interrupt the user. The updates will install automatically when Firefox is started next time.
Only exception are bootstrapped extensions that don't require a restart (this includes all add-ons created with the Add-on SDK). These extensions can be updated while Firefox is running. However, they also have a whole lot of limitations.

Resources