Skip to content

4.0.2

Compare
Choose a tag to compare
@Doko-Demo-Doa Doko-Demo-Doa released this 15 May 13:34
· 68 commits to main since this release

It's been a while, but I can finally come back to this project. With this new version, we have:

  • Fully typed code with TypeScript.
  • Rewritten iOS module. It now works on both Debug and Release mode.
  • Shorter API.

Breaking changes

  • The lib now uses NativeEventEmitter because old bridge implementation is deprecated. Worry not, little will change.
  • 4 methods under the hood:
    • addListener
    • removeListener
    • removeAllListeners
    • removeCurrentListener
      and they all return EmitterSubscription, fully compatible with React Hooks.

I'm planning to expose a parameter to configure tension too. Stay tuned.

Feel free to try and give me the feedback:

npm install [email protected]