Releases: RakaDoank/react-native-ping-android
v2.0.3
Somehow the previous version in the new arch RN app doesn't work anymore.
This release fixes the ping callback listener never being invoked in Turbo Modules (New Architecture) by correcting the Turbo Modules detection.
v2.0.2
v2.0.1
In this version, ping handler is using event emitter instead of the Promise to move the counter and the interval logic (setInterval
) to the native (Kotlin) side, and reuse CoroutineScope to achieve bettter performance without blocking the JS thread at all.
v2 of this library requires React Native >= 0.76
- Update README.md (122089d)
- Update example app (1cb7c2b)
- RN 0.76 peer dependency due to event emitter of turbo module capability (dceead5)
- lift up react-native-builder-bob (b4b9448)
- move counter and interval handler to Kotlin (ab06c75)
Misc
react-native-builder-bob
now is removed from the devDependencies
. It's probably unnecessary to put the library builder in the consumer node_modules
.
Release v1.3.0
Release 1.2.0
After some research, timeout mechanism has been fixed finally (09c7cb1).
Instead of using withTimeout
in custom coroutine scope, simply use runBlocking
with delay
to run the timeout in the whatever current thread of React Native.
- Update README.md (2912152)
- fix: timeout job should've been in whatever React Native current thread (09c7cb1)
- should remove ICMP instance since promise only resolvable once (0a7c496)
- condition on nullable intervalValue should also set to false isRunning state (8f107be)
- make a lint error for no-unused-vars by
@typescript-eslint
(a59789f) - extend react/jsx-runtime for new JSX transform of React 17 (0956351)
- bump to RN 0.75.4 (0aec636)
- unnecessary conditional (e8b0bb8)
Release 1.1.0
Release 1.0.3
Release 1.0.2
- fix: invoke start method again should send result with ECHOING status (7df68f2)
Release 1.0.1
Release 1.0.0
- Merge branch 'main' of https://github.com/RakaDoank/react-native-ping-android (3b9af57)
- update example (91f24d0)
- expose NO_ECHO_RTT constant as ICMP static member (86f817a)
- Update README.md (86c0e3d)
- Update README.md (4a96268)
- Merge branch 'main' of https://github.com/RakaDoank/react-native-ping-android (9122083)
- Update README.md (b2a8a46)
- correction type (dc29dfc)
- Update README.md (6825aad)
- Update README.md (55344a5)
- chore: release 1.0.0-rc.3 (67b355f)
- rename constants (5ed10c7)
- add new methods (c57278e)
- add new methods (9747a28)
- rename constants (9bd9304)
- fix deprecated implementation (4c8581f)
- unnecessary omit a prop of interface (1f0598f)