Ionic capacitor ads - ionic-framework

I am developing an Ionic Capacitor application, and I am wondering which plugin is the best way to go in terms of ads?
I have seen that the cordova-plugin-admobpro is not supported, and that Capacitor has its own community ad plugin. I do not know how good community plugins are, which is why I am asking here.
Also, I have used this plugin in the past, but it is a Cordova plugin, it also does not say it is not supported in the capacitor know issues page.

The Capacitor Community plugins are all endorsed by the CapacitorJS team and so they guarantee (by association) a certain level quality.
It used to be that plugins were maintained in independent Git repositories which you would simply select and install but the Ionic/Capacitor team are moving more towards an official channel to encourage package maintenance which previous plugins have often struggled with.
So to answer your question, community plugins are good and seemingly reasonably well maintained.

Related

Does Ionic Community version support Live update aka 'New version available' notifications?

Does Ionic Community version support Live update aka 'New version available' notifications?
On their side by side comparison page, Community version doesn't support Live Updates.
Ionic Plans
Regards
Ionic Community is a paid version including support for many things as deploy, publish and so on... It facilitates a lot, there are a service also that you can do a Live Update on your app without the users need go to the Stores. And, you can do this approach by yourself. Just take a look on this tutorial: Using Direct Update in Cordova and Ionic applications. If needed, you can adapt this tutorial related to the Ionic version you are using. You can add push Notification anytime you want.

Use Google Play Billing inside Unity?

Just curious, can I use Google Play Billing functionality inside Unity? I see only Java & Kotlin examples, but maybe there is some plugin for Unity?
I can recommend the prime31 In App Billing Plugin, which is used for several years now. https://prime31.com/docs#androidIAB
Unity provides also an IAP Module them self, which i have not used yet:
https://docs.unity3d.com/Manual/UnityIAP.html
Update September 2020:
I now have used the Unity IAP module for a project on iOS and Google Play and it worked like a charm.
[2020] Google have released the Google Play billing plugin for Unity, which as per the Unity Package Manager description, "provides all of the features available in the current Java and Kotlin versions." It is an extension of UnityIAP.
You can review their documentation, including installation instructions, here.
The documentation for the plugin doesn't include much in the way of examples like the Java and Kotlin documentation, but it is open-source, so you can review the files themselves to see what you are able to implement.

Migrating app from Cordova to ionic

Experts,
We have a couple of hybrid mobile apps we have developed using plain Cordova plugins and AngularJS that we developed over last few months. I have been following Ionic framework over last few months and see that there are some benefits over plain Cordova/Phonegap. If anybody has gone through migration of Hybrid apps from plain Cordova/Phonegap to Ionic or those who have implemented Apps using Ionic framework, pls share your thoughts:
Are there real performance benefits of using Ionic over plain Cordova with AngularJS?
I have had issues with Cordova plugins like camera plugin and file chooser plugin and getting support or fixes from Cordova team has been a herculean task. Does usage of Ionic alleviate such problems via quick support/fixes?
I intend to use DB plugins (like mysql lite). Has anybody used ionic mysql plugins that helps in faster (and performing) DB operations? Any experience?
Thanks and regards,
Giri
I won't call myself an expert however:
Ionic framework is basically just cordova + angular. So the benefits won't be from a performance standpoint. You would be able to write your apps as a single screen webpage as you would with angular. That's about it. There is also some convenient css going on but I get the impression that that is not really your concern
I haven't had issues with plugins like that. But again, it is really just cordova at the core so ionic probably wont alleviate that. It uses exactly the same plugins as plain cordova.
Once again, it is just cordova + angular. So your experience would be the same mostly. Nothing that I've tried at the plugin level ever worked better or worse in ionic.
Ionic really excells at being cross platform and looking/feeling native without having to write two completely different applications. As far as I can tell it is up to the developers of the plugins to maintain them and not the ionic team so any problems that you have with pluugins will follow you right through with any cordova variants (phonegap, ionic etc.)

ionic sidemenu on mobile browser not working smoothly

I am developing mobile web app using ionic sidemenu, but it is not as smooth as it should be. When I open sidemenu using slide left/right, I am getting less than 30 FPS as shown in figure.
How can I improve the performance?
Reaching 60 FPS would be great!
AppGyver's Steroids tooling also provides you with access to Crosswalk on Android. You can run it in your Ionic project directly without modifying any files.
Also, Supersonic's sidemenu/drawer is fully native, so if you're up for migrating, it'll run way faster. :)
(Disclaimer: I'm a programmer for AppGyver.)
My advice is to use Crosswalk instead of the Cordova as the webview for the app.
While both share the same end goal, they are different:
Cordova, from the Apache Foundation, uses the regular (pre-lollipop) Android webview, which is based on Android's stock browser since its inception.
The Crosswalk Project, created on the Intel Open Source Technology Center, is different. It wraps your app with Chromium, the open-source base code that gave birth to Google Chrome, which brings numerous performance enhancements: css3 transitions, animations, 3d transformations, html5 support, remote debugging and much better javascript support and performance.
At the time of writing, the Ionic team is already working on a beta version (1.3.0-beta1) that uses Crosswalk instead of Cordova. Not really stable just yet, but a huge promise.
In any case, you can use Crosswalk today, by manually copying your Ionic project's 'www'
folder content to the project folder inside Crosswalk folder and run it. You'll need to setup some manifest files previously, so read the docs.
In any case, it's not hard at all to try, and I'll recommend it everyday for all projects pre-Lollipop. If you're targeting Lollipop/Android 5 versions, you don't need it, because the default Webview in these versions is already Chrome-based.
Hope it helps.

what are the main limitations of titanium as a mobile development platform?

I intend to start an iphone/android project with the titanium SDK for mobile. Do you know what are the main feature-wise pitfalls to avoid ? what sort of features will be very hard or impossible to achieve ?
I understand that there is a plugin system to circumvent these limitations. Do you have information on that ?
Thank you for your help,
Jerome Wagner
I have yet to find a particular piece of Android functionality that is missing from Titanium. Not sure if widgets are in the current 1.5.1 mobile release or are coming in 1.6. In any case, the coverage is pretty decent, as you will see if you try out the "kitchen sink" app.
But here are some things I find lacking:
Titanium's Android support is still much buggier than iPhone support. For instance, I can't get global events to work properly--that's pretty important functionality.
documentation isn't complete; the API docs are skimpy
you're on your own; Appcelerator employees don't bother to answer questions online (even when they concern obvious bugs on their end), unless you subscribe to a support plan
That said, I've found developing Android apps with Titanium to be much more enjoyable than dealing with the Android SDK!
I agree with most of what #Drew stated above.
The API documentation is for the "most part" pretty complete, yes there are a few missing pieces, but hey the framework is free, they push releases pretty frequently and all the source code is available for you to go through yourself. You also have full access to the Continuous Integration Builds
I believe the 1.6.0 release has addressed additional issues with Andorid support, there is also a bug tracking system for you to investigate and report issues.
You are not on your own any more than with any other similar framework... Occasionally employees will review specific issues that show up in the Q&A Forum but the forum is very active and there is tons of community support. I would be surprised if you could write most of an application from just cutting and pasting from the Q&A questions and you will find the rest in the Kitchen Sink Example or Tweetanium Example Projects.
You asked about a plugin system. Titanium offers the ability to develop your own custom native modules.
The Titanium's Module Developers Guide (PDF) isn't the best, but it will get you started.
As Drew said, many of the Titanium's Android support is buggier compared to iPhone.
Titanium is meant for people who never wanted to learn the native iphone and Android programming. If you know to develop applications using objective C and you wanted to develop applications for iPhone then don’t even think of Titanium, the same case applies to Android too. Only if you are lazy to learn a language, you can opt for Titanium.
1.The size of the Application is a big concern here.
2. Some of the features in Android which was shown to be working in developer reference were not working. Even after being filed as bugs, they were not updated in developer’s reference that it works only in iPhone. For example, “focus” events of the window is handled only in iPhone and never in Android.
To get to know in details, the problems Titanium can bring you read the following post:
http://mobworld.wordpress.com/2011/01/10/titanium-framework/