PhoneGap

531
574
+ 1
94
Swift

9.2K
6.1K
+ 1
1.1K
Add tool

PhoneGap vs Swift: What are the differences?

Developers describe PhoneGap as "Easilily create mobile apps using HTML, CSS, and JavaScript". PhoneGap is a web platform that exposes native mobile device apis and data to JavaScript. PhoneGap is a distribution of Apache Cordova. PhoneGap allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status. On the other hand, Swift is detailed as "An innovative new programming language for Cocoa and Cocoa Touch". Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.

PhoneGap can be classified as a tool in the "Cross-Platform Mobile Development" category, while Swift is grouped under "Languages".

"Javascript" is the top reason why over 44 developers like PhoneGap, while over 241 developers mention "Ios" as the leading cause for choosing Swift.

PhoneGap and Swift are both open source tools. It seems that Swift with 48.2K GitHub stars and 7.71K forks on GitHub has more adoption than PhoneGap with 4.15K GitHub stars and 974 GitHub forks.

According to the StackShare community, Swift has a broader approval, being mentioned in 979 company stacks & 526 developers stacks; compared to PhoneGap, which is listed in 86 company stacks and 34 developer stacks.

Decisions about PhoneGap and Swift
Aleksandr Filatov
Aleksandr Filatov
Contract Software Engineer - Microsoft · | 2 upvotes · 10K views
What is Proguard?

ProGuard is the most popular optimizer for Java bytecode. It makes your Java and Android applications up to 90% smaller and up to 20% faster. ProGuard also provides minimal protection against reverse engineering by obfuscating the names of classes, fields and methods.

How to use it in Cordova app?

I didn't find any plugins for it. So I've implemented it by myself and shared it on GitHub.

Feel free to use!

See more
Pros of PhoneGap
Pros of Swift

Sign up to add or upvote prosMake informed product decisions

Cons of PhoneGap
Cons of Swift

Sign up to add or upvote consMake informed product decisions

What is PhoneGap?

PhoneGap is a web platform that exposes native mobile device apis and data to JavaScript. PhoneGap is a distribution of Apache Cordova. PhoneGap allows you to use standard web technologies such as HTML5, CSS3, and JavaScript for cross-platform development, avoiding each mobile platforms' native development language. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status.

What is Swift?

Writing code is interactive and fun, the syntax is concise yet expressive, and apps run lightning-fast. Swift is ready for your next iOS and OS X project — or for addition into your current app — because Swift code works side-by-side with Objective-C.
What companies use PhoneGap?
What companies use Swift?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with PhoneGap?
What tools integrate with Swift?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to PhoneGap and Swift?
Ionic
Free and open source, Ionic offers a library of mobile and desktop-optimized HTML, CSS and JS components for building highly interactive apps. Use with Angular, React, Vue, or plain JavaScript.
Xamarin
Xamarin’s Mono-based products enable .NET developers to use their existing code, libraries and tools (including Visual Studio*), as well as skills in .NET and the C# programming language, to create mobile applications for the industry’s most widely-used mobile devices, including Android-based smartphones and tablets, iPhone, iPad and iPod Touch.
Apache Cordova
Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript. Combined with a UI framework such as jQuery Mobile or Dojo Mobile or Sencha Touch, this allows a smartphone app to be developed with just HTML, CSS, and JavaScript.
PWA
Building a high-quality Progressive Web App has incredible benefits, making it easy to delight your users, grow engagement and increase conversions.It is intended to work on any platform that uses a standards-compliant browser.
Sencha Touch
Sencha Touch 2, a high-performance HTML5 mobile application framework, is the cornerstone of the Sencha HTML5 platform. Built for enabling world-class user experiences, Sencha Touch 2 is the only framework that enables developers to build fast and impressive apps that work on iOS, Android, BlackBerry, Kindle Fire, and more.
See all alternatives
Interest over time
News about PhoneGap
More news