Will Chrome Packaged Apps work on Chromium Embedded Framework (CEF)? - google-chrome-app

I am looking to use Chrome Bluetooth API's to run on Chromium Embedded Framework. Would like to know will it work? Thanks.

CEF does not support Chrome packaged apps. Chrome extensions API is not supported and without it a packaged app would be just a bundle of a javascript code running on a web page. If that's the case with your packaged app then you could make it work in CEF.

Related

Any cordova plugin to add WebAuthn API to Android WebView?

We've developed a cordova app that shows one of our websites (which is also accessible using a web browser).
Recently, FIDO2 authentication using WebAuthn has been added to that website. This works fine in the tested browsers (Chrome and Firefox), but not in our cordova application, as it uses Android WebView, which doesn't implement the WebAuthn API.
Does anybody know if there is any cordova plugin to add this API to Android WebView?
Is there any website with information about the Android WebView roadmap (bugs that will be fixed in next release, new features that will be added, ...)?
You're correct that Android WebView doesn't support WebAuthn in Android 13. We hope to address that in the Android 14 timeframe but, for now, you have to inject Javascript hooks and use a Javascript bridge to implement it. It's certainly possible to do but I'm not aware of any packaged solutions that do it.

Worklight Facebook platform selection?

For Facbook integration in Worklight which platform should we select Android or Website
,
right now i am developing for android environment but later i will be doing for iphone and windows as well
Also were do i place the Facebook integration code in index.html(main) or in android project which is separately created ?
i am confused do reply
It looks like you are developing a Worklight-based Hybrid application, so in this case you should actually opt for the Facebook JavaScript SDK.
You can add it to your common\js folder and reference it in the common\index.html (just follow the instructions Facebook probably provides). This way you could easily 'extend' it to whichever additional environments you will add in Worklight Studio in your project setup.
Of course, you can also choose to use Facebook's native SDKs for each environment in your Hybrid application. In this case, you'll need to add the SDK in the iphone-ipad-or-android\native folder and follow Facebook's integration instructions (note that for iPhone the actual integration will be done in Xcode, not Eclipse).
If you choose to create a native application and bundle it with the Worklight SDK, then you should opt for the Facebook SDK dedicated to the specific OS. Here, you will add the SDK, again, by following Facebook's instructions.

Call phonegap plugin function within web app

i am building my first phonegap app and when i open the app i instantly redirecting (window.location) the user to my server where my web app is hosted. Is it possible to load the phonegap plugins from there? Because the "deviceready" event is not firing and i cannot call any plugin functions.
I can confirm that loading remotely does appear to allow access to native components (when scripts are properly loaded) and that cordova.jsdoes not appear to need to be loaded by the local index.html bootstrap.
Short answer: Yes
Some 'gotcha's'
You will have to supply correct cordova.js version for the platform browsing to your site.
you can look here for more info https://github.com/apache/cordova-js. This project hosts the core js elements, and builds the platform specific cordova.js lib
Any plugin api's your app wants to interact with must be pre-installed into the Native App
any plugin with native code will have to be added to the project and deployed to device bundled inside the app. There is no way to lazyload native code. The js portions of the plugin could be hosted on your server, however.
More information, some apps that do this
The PhoneGap Developer App uses a similar technique to what is describe above and what you want. The only difference is that it is meant as a dev tool, and the server is a local dev machine.
The Cordova App Harness also uses this technique of pre-bundling an app package with plugins, to be consumed by remotely hosted resources
You cannot, deviceready only functioning if the app run on mobile phone environment only. If web based or dekstop application, it won't trigger.
No , dont do that . loading remote website will not able to intract with your plugins . and the app will get rejected on istore too

Can we bundle Chrome installer with Packaged App?

We have built Packaged App for our Web Application.
Is it possible to provide Chrome installer in a Packaged App bundle or somehow trigger Chrome installation in the background from Packaged App.
Currently Chrome Browser is separate Dependancy for using Packaged Apps so it is difficult to convince Users to first install Chrome browser.
Also, people can install the App for any location as a complete package.
It's not possible yet, but you can star http://crbug.com/173762 to get notified when it does work.

which version of mobile firefox in android, fully supports extension?

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