https://github.com/tuarua/vibration-ane
Vibration + Haptic Adobe Air Native Extension for iOS 9.0+, Android 19+
https://github.com/tuarua/vibration-ane
adobe-air air-native-extensions android ane ios kotlin-android swift4
Last synced: about 1 year ago
JSON representation
Vibration + Haptic Adobe Air Native Extension for iOS 9.0+, Android 19+
- Host: GitHub
- URL: https://github.com/tuarua/vibration-ane
- Owner: tuarua
- License: apache-2.0
- Created: 2018-03-11T19:52:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-29T14:25:22.000Z (over 3 years ago)
- Last Synced: 2025-04-14T12:13:55.732Z (about 1 year ago)
- Topics: adobe-air, air-native-extensions, android, ane, ios, kotlin-android, swift4
- Language: ActionScript
- Homepage:
- Size: 3.27 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Vibration-ANE
Vibration Adobe Air Native Extension for iOS 13.0+ and Android 19+.
[ASDocs Documentation](https://tuarua.github.io/asdocs/vibrationane/index.html)
-------------
## Prerequisites
You will need:
- IntelliJ IDEA
- AIR 50.1.1+
- Xcode 14.2
- [.Net Core Runtime](https://dotnet.microsoft.com/download/dotnet-core/3.1)
- [AIR-Tools](https://github.com/tuarua/AIR-Tools/)
### The ANE + Dependencies
Change directory into the _example_ folder eg
```bash
cd /MyMac/dev/AIR/Vibration-ANE/example
```
Run the _"air-tools"_ command (You will need [AIR-Tools](https://github.com/tuarua/AIR-Tools/) installed)
```bash
air-tools install
```
**NEW** This tool now:
1. Downloads the ANE and dependencies.
1. Applies all required Android Manifest, InfoAdditons and Entitlements to your app.xml. See air package.json
-------------
## iOS
>N.B. You must use a Mac to build an iOS app using this ANE. Windows is **NOT** supported.
#### iOS: Packaging Frameworks Dependencies
The iOS ANEs are written in Swift. We need to package the Swift libraries (along with a couple of dynamic frameworks) with our AIR app

### References
* [https://developer.android.com/reference/android/os/Vibrator.html]
* [https://kotlinlang.org/docs/reference/android-overview.html]