candlefinance / haptics Goto Github PK
View Code? Open in Web Editor NEWHaptics for React Native with support for custom patterns and ahap files.
Home Page: https://candle.fi
License: MIT License
Haptics for React Native with support for custom patterns and ahap files.
Home Page: https://candle.fi
License: MIT License
After installing the library, I want to install pod of it. However, it fails with an message. Check below it.
[!] CocoaPods could not find compatible versions for pod "candlefinance-haptics":
In Podfile:
candlefinance-haptics (from '../node_modules/@candlefinance/haptics')
Specs satisfying thecandlefinance-haptics (from
../node_modules/@candlefinance/haptics)
dependency were found, but >they required a higher minimum deployment target.`
info Fetching system and libraries information...
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M2 Pro
Memory: 99.53 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.16.0
path: /usr/local/bin/node
Yarn:
version: 1.22.17
path: /usr/local/bin/yarn
npm:
version: 9.6.7
path: /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.12.1
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK:
API Levels:
- "28"
- "29"
- "30"
- "31"
- "33"
Build Tools:
- 29.0.2
- 30.0.2
- 30.0.3
- 31.0.0
- 33.0.0
System Images:
- android-26 | ARM 64 v8a
- android-28 | Intel x86 Atom_64
- android-29 | Intel x86 Atom
- android-29 | Google APIs ARM 64 v8a
- android-29 | Google APIs Intel x86 Atom
- android-29 | Google Play ARM 64 v8a
- android-30 | ARM 64 v8a
- android-30 | Google APIs ARM 64 v8a
- android-30 | Google APIs Intel x86 Atom_64
- android-31 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.9862592
Xcode:
version: 14.3/14E222b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.11
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: ^18.2.0
react-native:
installed: 0.72.4
wanted: ^0.72.4
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Hi, great lib.
I think delays using the -
character are not recognised, neither does the delay time (second argument) seem to have any effect (tried 1.0
)
so the following pattern just seems like one continuous haptic feedback with no pauses:
// pattern, delay
hapticWithPattern(
['.', '.', '.', 'o', 'O', '-', '-', '-', '-', '-', '-', '-', '-', '-', 'O', 'o', '.', '.', '.', '.'],
1.0,
);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.