shake-to-refresh
Mobile icon

Shake To Refresh

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 1 Sep (9 days ago)
 by 
0.0
 (0 ratings)
shake-to-refresh

Shake To Refresh

Details
Shake-to-Refresh is a reusable OutSystems Mobile block that detects intentional phone movement and exposes an OnShake event. Applications can use this event to refresh lists, dashboards, notifications, offline queues, or other screen data.
Read more

Features

  • Detects phone movement using the device-motion API.
  • Configurable shake sensitivity.
  • Cooldown protection against repeated triggers.
  • Prevents duplicate listeners.
  • Automatically cleans up the listener when the block is destroyed.
  • Works with any refresh logic defined by the consuming application.
  • Provides a manual-refresh fallback recommendation.
Release notes (1.0.1)

1.0.1 — iOS support and cleaner teardown
Adds the iOS 13+ motion-permission handshake so shake detection now works on iPhone and iPad, alongside a set of setup and teardown fixes: dedicated state namespace, honest Started flag (only true when the listener is actually attached), passive listener, safer numeric defaults, and OnDestroy that correctly detaches the listener instead of silently leaking it. No breaking changes.

License (1.0.1)
Reviews (0)
Team
Other assets in this category