Skip to content

v0.2.2

Choose a tag to compare

@cyanChill cyanChill released this 02 Mar 21:25
· 18 commits to main since this release

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/onTouchUp instead of GlyphButton.addEventListener().
    • Only onMount & onTouchUp events are used.
  • Changed exports:
    • GlyphButton.isDeviceSupported -> GlyphButton.isSupported
    • GlyphButton.triggerEvent() -> triggerEvent()
    • Action -> MatrixAction
    • Event -> GlyphButtonEvent
    • getDeviceInfo() -> DeviceInfo

🎉 Added

  • New onCleanUp() function to unbind the app from the Glyph Matrix toy service.

⚡ Changes

  • Make triggerEvent more versatile (you can now mimic how the function gets called by the service).

🛠️ Fixes

  • License indicated by package.json (was showing MIT instead of AGPL-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).