What is Cordova?
Since this post was published, we have released Foxit PDF SDK, the only true multi-platform SDK in the market, available for Windows, Mac, Linux, iOS, Android, UWP and Web. It features a single, consistent core API, as well as a built-in viewer and UI for faster development. Learn more.
How Does Cordova work with Foxit MobilePDF SDK
Foxit MobilePDF Software Development Kit (SDK) supports native application development for iOS using Swift and Objective C, for Android using Java, and for Windows UWP using C++.
Using Cordova with Foxit MobilePDF SDK
There are a few ways to develop a mobile app. The most common ways are native app development and cross-platform app development. If you are planning to create a mobile app that should run on iOS and Android, native app development means that you will need to create one app for iOS in Swift or Objective-C, and a second app that will do the same for Android in Java. Maintaining this code for both apps when dealing with updates, etc., is time consuming.
Creating an app with Cordova means that you can create an app for both Android and iOS using the same code, also called cross-platform app development. This means that you will not have to test functionality for two apps, or learn how to incorporate the MobilePDF SDK into two different languages. Any changes made to the iOS app will be updated on the Android app also. Therefore if a developer wants to create a Cordova app that has PDF viewing functionality, they can include our MobilePDF SDK plugin into their project and they have instant PDF viewing support for iOS and Android platforms. There are many advantages to using Cordova when developing a mobile app, especially when you have limited knowledge of PDF technology.
If you already have a web application and want to move it to mobile, it is relatively easy with the help of Cordova, as it can help pull certain functionality without the need to understand other languages. With a little bit of testing, using Cordova, web developers can migrate their web applications to mobile.
What does the future hold?
The future for Cordova is bright because it allows companies to create apps for multiple platforms with a lower investment in resources . The major contributors, including Microsoft, IBM, Intel and Adobe, means its mid-term growth is assured.
Cordova has historically been popular amongst small to medium sized businesses looking to compete with larger players in mobile environments without having to invest big in native development resources, before the product has been proven in the market.
Foxit is here to support its customers in whichever development environment and framework they choose, so keep an eye on our website and social media accounts for new updates to our Cordova and Xamarin projects in 2018!