How to use cordova plugins which are installed and activated in cordova plugins section? - appery.io

I am using ionic 5. I saw and activated cordova application in cordova plugins section (apple plugin). But when I go in create new - from plugin section, I cant see it. How can I use it?

Only predefined Appery.io plugins are available in Create new->From plugin. Cordova plugins are something different.
See the documentation on how to use Cordova plugins in Ionic 5 projects: https://docs.appery.io/docs/ionic-5-solutions#using-native-apis-from-ionic

If you are talking about cordova-plugin-sign-in-with-apple available in Appery.io list of Core Cordova plugins, here is a video describing how to use it:
https://www.youtube.com/watch?v=M9e8DvHBlKI

Related

Cordova Plugin Inside HTML?

Is it possible to design or use a Cordova plugin inside (or next to/over) HTML? In other words, I do not want the plugin to be full-screen hiding the HTML app, I still want to show my HTML app, so the plugin is integrated with the HTML.
Thank you.
A Cordova plugin merely provides an interface between the Javascript environment in the Webview in which your Cordova app is running, and the native platform on which it is running. I.e. it enables you to invoke native code from within the Javascript of your Cordova app.
Is it possible to design or use a Cordova plugin inside (or next to/over) HTML?
Most plugins don't obscure the Cordova Webview ("HTML" as you describe it) in which your app is running, they just provide a JS API that your app can call: for example cordova-plugin-device enables you to query details about the platform and device on which the app is running.
You should read the Cordova plugin documentation for more information.

How to compile a webapp to an hybrid one/jpk for my mobile phone without framework?

I have to build a hybride app, out of my webapp. It´s not allowed to use a middleware framework like phonegap which just builds it. In my app I want to show that HTML5 already allows to use a lot of functions of the mobile phone like the geolocation, instead of frameworks which can do the same, so I cannot use the framework for building my app. Which program should I use, VS? And how can I build my application(jpk) without a framework like that to test it on my mobile phone?
You should create a simple application with a webview and run your webapp inside this webview.
The problem is: hybrid frameworks like Cordova or Phonegap arent supose to just implement mobile features like camera or gps, they are useful writing once and run everywhere without complaining about iOs and Android code or even for fallbacks. Probably in the future youre not even going to install applications in your phone to use all mobile features using only browser features.
Here are some helpful links:
https://developer.android.com/guide/webapps/webview.html
https://developers.google.com/web/fundamentals/getting-started/codelabs/your-first-pwapp/
https://developer.mozilla.org/en-US/Apps/Progressive

Polymer on Cordova built iOS and Android apps

Is Polymer compatible with the iOS Safari and Chrome Browsers, and the web view that Cordova uses?
As I think to build an HTML5 mobile app with Cordova, I am in look for a gui framework. Polymer seems powerful. I am just in doubt that it works in iOS since there are some github issues and SO questions about that.
Does Polymer works in Cordova built mobile apps for iOS and Android without issues?
I'm currently working on an app that is built entirely on polymer. I don't use any of the common elements. All elements are custom and built by our team. At first there were some gotchas but it works great on iOS8+.
I'm not sure about iOS, but I can say it works well in Android using Cordova.
I've used Polymer components in Ionic Framework apps, that uses Cordova to generate the mobile apps. I'm not an iOS developer, so I've only generated Android apps, and they worked well in all the devices where I tested it (mostly Android 4.2+).
Yeah, you can use Cordova with Polymer, but when the device isn't an Android you need load the WebComponents-Lite.
If you want, I have a seed that should help you, it's an Cordova-Angular-Polymer Seed (but it isn't an Ionic Framework Seed):
https://github.com/mario-aleo/cordova-angular-polymer-seed

Progressive swipe on jQuery Mobile panel

I'm developing an application with Phonegap & jQuery Mobile, and it should have a menu panel that can be opened by a swipe gesture. I implemented the code to open it on swipe, but I would like it to be progressive, such as on native apps (facebook, g+ and others...).
Does anyone know how to do it ?
Thanks for help :)
You can try this plugin : https://github.com/jakiestfu/Snap.js
We used that plugin on one of our projects, it works well on iOS phonegap app, on android there are lags.

Installed plugin version not showing

I made a web plugin using NPAPI for Google Chrome, Firefox on Linux.
I would like to show what version is installed on installed plugin list, so NP_GetPluginVersion() is added to see. Firefox works but Chrome does not.
For instance, Adobe Flash Player displays a version with the plugin name and description.
Adobe Flash Player-Version: 11.5.31.5
Shockwave Flash 11.5 r31
Can some one please help me to solve my issue?
Is there another way as Info.plist is used for Chrome plugin version on Mac?
We had to append the version to the end of our Plugin Description and parse it via JavaScript as a work around in Chrome.