v0.2.2
Caution
This is highly experimental and probably doesn't work. Look at the README for instructions on how the toy should work and how to test it out via the demo app.
I currently don't know if the interactions with the button works along with other edge cases (ie: we cycle through the toys, land back on this one, and then try the actions).
Rewrite of package to Turbo Native Modules & fix how the package connects to the service for the Glyph Matrix toy.
- No new features until we get verification that the interactions with the Glyph Matrix Button works.
❗ Breaking Changes
- Events are now defined by
GlyphButton.onMount/onShortPress/onLongPress/onTouchDown/onTouchUpinstead ofGlyphButton.addEventListener().- Only
onMount&onTouchUpevents are used.
- Only
- Changed exports:
GlyphButton.isDeviceSupported->GlyphButton.isSupportedGlyphButton.triggerEvent()->triggerEvent()Action->MatrixActionEvent->GlyphButtonEventgetDeviceInfo()->DeviceInfo
🎉 Added
- New
onCleanUp()function to unbind the app from the Glyph Matrix toy service.
⚡ Changes
- Make
triggerEventmore versatile (you can now mimic how the function gets called by the service).
🛠️ Fixes
- License indicated by
package.json(was showingMITinstead ofAGPL-3.0-only).
⚙️ Internal Changes
- Rewrite app to use Turbo Native Modules.
- Upgrade example app to Expo SDK 54 & React Native 0.81.
- New toggle in example app to stop playback when you dismiss the app (preventing the need of manually force-stopping the app).