Exit On Back

Stable Version 1.0.1 (OutSystems 10)
Published on 18 January 2017 by 
Created on 17 January 2017
Details
Allows exiting your application on tapping the native back on Android
Read More

Allows using back button to exit the application (per screen).

Double tap to exit available. Here's the overall procedure:

  1. Set the TapTwiceToExit boolean parameter to true, and define a grace period on TabExpiry if necessary (default: 2 seconds)
  2. When user taps the native back button, a timeout is setup for the defined expiry period, and BackTap event is triggered. This is where you can show a message saying "Tap back again to leave". Just like 9Gag for Android.
  3. If the user taps back again, you're done with him.
  4. If he doesn't tab the back button again during the period, a new event BackTapExpired is triggered by the timeout set on 2. This is where you should clear the message, because the first tap was ignored.
  5. If the user navigates between the first and second tap, the timeout is reset, and user is able to navigate using back again.

Check the demo!

Works on OutSystems Now, as it only uses standard cordova methods, only instead of exiting OutSystems Now, it goes back to the main screen... Keep tapping back!

What’s new (1.0.1)

Bug fixing and documentation on sample Demo App

Reviews (0)
Category
Mobile Plugins
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Grazina who created this component.
Dependencies
See all 1 dependencies
Requirements
Platform
10.0.0.402
Database
All
Stack
All
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Event System
leonardo.fernandes
Use custom events in your OutSystems apps! Communicate events instantly between web blocks, refactor your screen logic, use divide-and-conquer for complex forms, build reusable components, and much more. And do all of these with a beautifully simple API.
1555
Infrastructure Monitor
Experts
A LifeTime plugin to provide Developers and Operations a quick and simple infrastructure monitoring tool for the platform servers. It will help you keep your infrastructure in check by surfacing key performance metrics of your servers and alert you when these metrics reach thresholds that may compromise the performance or stability of your environments. Instructions here: http://outsyste.ms/1lnELXb
368
Chosen
Miguel 'Kelter' Antunes
Chosen is a jQuery plugin that makes long, unwieldy select boxes much more user-friendly.
929
More from Grazina
AdvancedAmazonS3
Ricardo Pereira
Using the newest API from Amazon, this extension allows access to AmazonS3 basic functions in a simple manner.
656
FullCalendar 2
Grazina
A complete and interactive calendar supporting multiple views, different event sources and advanced customization
1602
IBM Watson IoT
IBM Watson IOT Team
Connector for IBM Watson IoT Hub that allows to receive stream data from devices and to send messages to control devices.
67