Orientation (Native)

Content Type: Module
Categories:

Overview

Javascript actions to dynamically set the orientation of your Native app, using https://github.com/yamill/react-native-orientation Features - Get the current device orientation - Force device orientation

Documentation

Demo url

image-20201211110902638

Orientation-Native

Javascript actions to dynamically set the orientation of your Native app, using https://github.com/yamill/react-native-orientation

Features

  • Get the current device orientation
  • Force device orientation

Installation

  • Follow instructions here to install the Native package in your Native Project Directory

Implementation

Use the three included javascript actions in your nanoflows as needed

image-20201211105535093

TODO:

  • Expose as Nanoflow actions

Releases

Version: 1.0.0
Framework Version: 8.12.0
Release Notes: Initial Release - Javascript Actions to force landscape/portrait - Javascript Action to get current orientation