Popular questions for this item

Why my app doesn’t refresh automatically when I update my html views?

We are using angular templatecachehttps://docs.angularjs.org/api/ng/service/$templateCache to preprocess all the views in the app which improve performance dramatically. Also see gulp-angular-templatecache https://www.npmjs.com/package/gulp-angular-templatecache

Let us explain this a little bit. If we choose to follow the “default” angular/ionic approach we would have each of our views loaded with a particular AJAX request. If we have many views, this will cause many AJAX request slowing down the app needlessly. The alternative we use is using angular templatecache which concatenates all the views html into one javascript file that loads those views to angular avoiding multiple AJAX requests. With this approach we just need to make one request to that javascript file (named views.js). We use gulp tasks that do this automatically, so when you change your html in your text editor gulp will re-create this views.js file and all will be ok.

The problem may occur when you don’t have gulp running and you are changing your html, in this case gulp won’t be able to re-create views.js file so you won’t see your html updates in your app. Make sure you had run npm install without errors. You can fix this by turning on gulp (by making sure gulp is installed and by running ionic serve ) or by removing the dependencies to views.js in index.html and your_app_name.views module in your app.js (this will cause you to follow the angular default approach).

Support

I would be glad to help you if you have any questions relating this app. No guarantees, but I will do my best to assist with questions directly related to the app, however please note that code support is completely voluntary for CodeCanyon authors. Therefore before you contact me, please consider finding an answer to your question in the documentation.

Support for my items includes:
  • Responding to questions or problems regarding the item and its features
  • Fixing bugs and reported issues
Item support does not include:
  • Customization and installation services
  • Support for third party software and plug-ins

PLEASE before contacting support look up your question/error in Google. You will be surprised to find that you are not alone :)

Can I use Phonegap Build?

Yes, you can use PhoneGap Build in order to build this app. Ionic is a front-end framework built on top of Cordova so you can use PhoneGap Build in the same way you would use it with other phonegap/cordova application.

Solve 404 errors with the whitelist plugin

If you’re using a newer version of Cordova (or the latest Ionic CLI) to develop your app, you may be experiencing http 404 errors when your app tries to make network requests.

This can be solved quickly with the Cordova whitelist plugin! Please read more here: http://docs.ionic.io/docs/cordova-whitelist

Using Android version <4.4

Older versions of Android devices use Android’s default browser, which has significantly less performance and standards compliance than modern Chrome. Using Crosswalk gives you a specific and more performant version of Chrome to use on all Android devices, in order to reduce fluctuations and fragmentation among devices.

Crosswalk is an open source project that allows you to specify a version of Chrome to use as your web browser in Android. The compiled app will have your code hosted inside of this Chrome webview.

Please read more here http://blog.ionic.io/crosswalk-comes-to-ionic/

Solve 404 errors with the whitelist plugin

If you’re using a newer version of Cordova (or the latest Ionic CLI) to develop your app, you may be experiencing http 404 errors when your app tries to make network requests.

This can be solved quickly with the Cordova whitelist plugin! Please read more here: http://docs.ionic.io/docs/cordova-whitelist

Ionic View and Cordova Plugins

”Ionic View uses the Cordova inAppBrowser plugin to launch your apps in their own separate WebView, so you can preview and test them. Normally, inAppBrowser only displays web content, but we might have hacked it a little to give apps access to the Cordova API and plugins. Ionic apps are hybrid apps for a reason, and a preview is not the same without plugin support! At the moment, plugin access is restricted to a specific subset of plugins…”

You can find more info about how Ionic View works here

Here you will find a list of plugins supported by Ionic View.

The reason some plugins don’t work on Ionic View is because they are not on the list above.

What to do if the device has no internet connection?

I suggest you to use ngCordova network plugin to catch this event. Please go to the following link to find an example of how to integrate it to an Ionic app: http://ngcordova.com/docs/plugins/network/

Show more

by
by
by
by
by
by