New feature roundup: native date / time picker, analytics with Flurry, Android events
Trigger.io is about using the best of native and HTML5 to build amazing apps like these ones, and iterate them fast. So we’re delighted to announce native date / time picker enhancement on Android amongst other improvements.
While we’ve released Native Plugins and Windows Phone 8 as major new features in the past couple of months, we’ve also quickly iterated the core platform and here, we’ll walk you through a few of the new modules we’ve added. If you like what you see, check out the awesome apps our customers are building and sign-up now to build for yourself!
Native date / time picker
Accepting date / time input using regular HTML5 is simple, and on iOS it looks great since the native picker is triggered automatically when you click on the form element.
<p>Birthday (date and time):</p>
<input type="datetime" name="bdaytime">
But on Android, not so much…
See the difference on Android:
Analytics with Flurry
Just by enabling the module, simple information such as sessions, active users and new users – will be available in your Flurry dashboard. With the API you can send custom and timed events to really get to grips with how users are using your apps. Let our integration with Flurry handle all the offline caching and synching. Just register the events with the API and forget about it until you visit your dashboard.
The back button on Android works fine with Trigger.io apps – use a library such as backbone.js and it’s support for pushState / hash-based URL fragments for history.
But sometimes you want finer grain control, such as exiting the app after a certain number of back button touches. Or intercepting it to change the default behavior. To enable that we’ve added two new event APIs:
forge.logging.log('Success preventing default back button action');
forge.logging.log('Error: '+ content);
//Close application instead of navigating back in webview history