

If you want to get the best out of AngularJS, here are a few things you should learn before starting your project.

The perfect example is Sworkit app that is built with Ionic, has a 9M+ userbase, 7M+ downloads and an average of 4.5 stars on Google Play. I would like to reassure you on this point: with a little AngularJS background, you can create world-class applications with Ionic. Ionic is based on AngularJS, and performance on the device is often questioned. Common Mistake #3: Thinking Performance Comes out of the Box It is now easy for other developers to get in sync when pulling a new code, simply by running ionic state restore when necessary (addition, deletion or version update). Platforms and plugins are stored in cordovaPlatforms and cordovaPlugins properties: "cordovaPlugins": [
Ionic browser livereload not working install#
When using Ionic CLI to install platforms ionic platform add ios and plugins ionic plugin add camera, the package.json file is edited appropriately. Yes, you could commit the platforms and plugins folders, but it is not recommended. With Cordova CLI, it’s harder to keep the project in sync between developers machines. When working on a team, to avoid bugs you want to share the same environment, platforms, and plugins. The problem with Cordova CLI is that the platforms and plugins you install are installed on your machine only. Platforms and plugins persistence is a great feature that Ionic CLI adds. Ionic CLI adds features to the Cordova CLI. Common Mistake #2: Not Using the Ionic CLI to Install Platforms and Plugins Please note that unfortunately collection-repeat, which allows your application to show huge lists of items, cannot be covered by native scrolling. You also can enable or disable Native Scrolling on any page using overflow-scroll directive on any ion-content:
Ionic browser livereload not working for android#
If you are using a version prior to 1.2, you can enable Native Scrolling for Android using $ionicConfigProvider: // Enable Native Scrolling on Android


Unfortunately, due to the lack of proper events on iOS the native scrolling is not enabled for that platform yet. It is a huge performance and user experience improvement, as it ensures a smooth scroll due to asynchronous events. Native Scrolling is enabled by default on Android since Ionic 1.2 (December 2015). It makes Pull to Refresh, List Reordering and Infinite Scroll possible without JavaScript scrolling, which was created in a time when browsers lacked proper scroll events. Native Scrolling allows Ionic to listen to scrolling events on supported webviews. Common Mistake #1: Forgetting to Enable Native Scrolling In these conditions, developers can make mistakes potentially impacting the quality of their applications or the productivity of their team.īy reading the following Common mistakes, you will have the keys to avoiding fundamental problems and to create performant and scalable applications with Ionic. Therefore, it is hard to determine which path to follow when starting a new project. Since Ionic’s first release, time has passed, and web technologies and best practices have evolved in many ways. Ionic is extremely popular at the moment, with more than one million applications built and a growing community of thousands of developers. It is a great set of tools for developing hybrid applications based on AngularJS.
