This is a small demo app for testing the functions from the Cordova-Plugin-BTPrinter plugin, which allows to use any bluetooth printer from your Cordova / Ionic app.
Category Archives: Apache Cordova
Upgrade cordova CLI and platform in your app
Whenever you upgrade from an older cordova or cordova-android, cordova-ios version, your app could show several errors on build time. This guide shows how to troubleshoot your build after upgrading cordova or the platform from your app.
Apache Cordova development setup
This post intents to provide the general guidelines to setup your environment to develop Apache Cordova apps for either Android or Windows.
Using Cordova 9.0.0 with NetBeans 8.2
This brief guide shows how to make a few tweaks to fix some issues with Apache Cordova 9.0.0 projects in NetBeans IDE 8.2.
Using Cordova 8.1.2 with Visual Studio
Here you’ll find some references to setup your environment for Cordova CLI 8.1.2 apps development with (optionally) Microsoft Visual Studio 2015 / 2017. This guide is focused on the Android platform, but it’s mostly valid for iOS apps as well.
Renew Windows 10 PFX certificate for Cordova App with Visual Studio
This article explains how to renew the PFX certificate for your Windows 10 / 8.1 app created with Tools for Apache Cordova in Visual Studio. The certificate is valid for just one year, so it must be renewed to rebuild the app.
Closing InAppBrowser window in Cordova by itself
This article illustrates two methods to self-close an opened InAppBrowser window in Cordova, based on an action performed inside the IAB window itself. These methods involve using an event listener for either the loadstart or message events. You can also use this message event to communicate directly from the IAB to the Cordova WebView, to perform other actions.
Updating Gradle version for Cordova mobile apps
Ocassionally, a new Cordova or plugin version will force you to upgrade your Gradle version. This process must be performed with caution, and this article shows how to chose a correct gradle version and install it on Windows.
Common Apache Cordova build errors with Android
This topic includes some of the common Cordova CLI 7.1.0 build errors that I’ve found, with the recommended solutions or the ones that worked for me. References to Visual Studio included.
How to connect Android or iPhone via WiFi for application deployment
Developing mobile apps using Apache Cordova or any other platform involves constantly deploying your app to real devices. This process can become tedious because the phone or tablet must be connected via USB cable to your computer. However, you can connect your device via WiFi and deploy and debug your app normally following these steps.