JSPM

  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q86543F
  • License Apache-2.0

Native modules that allows you to use iOS CoreMotion framework with Axway Titanium native mobile apps.

Package Exports

  • @titanium/coremotion

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@titanium/coremotion) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@titanium/coremotion

@titanium/coremotion Dependabot Status

This is an experiment by Brenton House using open-source projects. You are welcome to try it out but be aware of the risks_

📝 Description

Native modules that allows you to use iOS CoreMotion framework with Axway Titanium native mobile apps.

This is a repackaging of the compiled iOS module for ti.coremotion to allow for installation via npm.

🚀 Getting Started

Install @titanium/coremotion in root of project

npm install @titanium/coremotion

Example

var coreMotion = require('@titanium/coremotion');

var accelerometer = coreMotion.createAccelerometer();
var gyroscope = coreMotion.createGyroscope();
var magnetometer = coreMotion.createMagnetometer();
var deviceMotion = coreMotion.createDeviceMotion();
var motionActivity = coreMotion.createMotionActivity();
var pedometer = coreMotion.createPedometer();

✨Features

  • accelerometer
  • gyroscope
  • magnetometer
  • deviceMotion
  • motionActivity
  • pedometer
  • altimeter

📚Learn More

📣 Feedback

Have an idea or a comment? Join in the conversation here!

Modules are licensed under Apache 2.0 from https://github.com/appcelerator-modules/titanium-lottie

Alloy is developed by Appcelerator and the community and is Copyright © 2012-Present by Appcelerator, Inc. All Rights Reserved.

Alloy is made available under the Apache Public License, version 2. See their license file for more information.

Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.