Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Releases: RakaDoank/react-native-ping-android

v2.0.3

11 May 15:38
Compare
Choose a tag to compare

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.

  • fix TurboModules detection (200d4f1)
  • try to fix NativeEventEmitter warning but still has the same warning (d0c7d1e)
  • remove nonexistent file from export field (bc795e3)
  • upgrade to RN 0.79.2 (a7329f2)
  • [example] add safe area insets (520475d)
  • chore: version 2.0.3 (d722e65)
  • fix bob config (e45d798)

v2.0.2

03 Apr 07:31
Compare
Choose a tag to compare

Add version 2.x support for Old/Legacy Architecture (Native Modules)

  • Update README.md (83fd890)
  • add support for android native modules (old architecture) (9a28451)
  • upgrade to RN 0.78.2 (3c3b861)

v2.0.1

30 Mar 00:27
Compare
Choose a tag to compare

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

15 Mar 15:17
34d3da1
Compare
Choose a tag to compare

Remove all "Interface" postfix in the TypeScript interface declarations

  • Update README.md (34d3da1)
  • remove "interface" postfix in interfaces declaration (34d3da1)
  • pnpm monorepo setup (34d3da1)

Misc

This repo now is using GitHub Actions to release the package to npm registry

Release 1.2.0

19 Oct 20:10
Compare
Choose a tag to compare

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

10 Oct 17:57
Compare
Choose a tag to compare
  • fix timeout mechanism (9973001)
  • bump RN to 0.75.4 (2a535ec)
  • fix interval was uncleared on unmount (0266180)

Release 1.0.3

22 Sep 09:01
Compare
Choose a tag to compare
  • Provide simple README on package (4d3d946)
  • Create README.md on package (2acc90d)

Release 1.0.2

21 Sep 09:22
Compare
Choose a tag to compare
  • fix: invoke start method again should send result with ECHOING status (7df68f2)

Release 1.0.1

16 Sep 12:55
Compare
Choose a tag to compare

Release 1.0.0

16 Sep 12:37
Compare
Choose a tag to compare