I unsuccessfully searched for some documentation of how to integrate the Ionic Framework with trigger.io, but I don't see any.
If anyone knows or has some, I'd love to see them. If not, I'll venture forward and post my steps here :)
I unsuccessfully searched for some documentation of how to integrate the Ionic Framework with trigger.io, but I don't see any.
If anyone knows or has some, I'd love to see them. If not, I'll venture forward and post my steps here :)
Including Ionic Framework
Ionic Framework provides CSS and JavaScript libraries that you would include in your HTML. There are two methods for including Ionic Framework in your trigger.io app:
1. Store the Files Locally (development/production):
index.html
file like so:ionic.bundle.js
, so I would suggest checking out the AngularJS API documentation.2. Use a CDN (development only):
A content delivery network (CDN) is a system of servers that delivers files to a client efficiently based on location.
You can include Ionic files in your project by linking them from the Ionic CDN:
While Ionic is still in the beta stages you should make sure to always change your CDN link or download the new files whenever they release a new version.
I'd avoid using the CDN if possible, as it can cause problems if the phone loses internet connection. It also means that you are re-downloading the files every time the app runs.
Firebase
I'd also suggest checking out Firebase, a great backend solution for mobile apps. It can also handle user authentication.