Skip to content

v0.25.2

Choose a tag to compare

@birdofpreyru birdofpreyru released this 20 Nov 13:20
· 13 commits to master since this release
  • The optional stopInBackground parameter of Server's constructor() now also accepts number (milliseconds) values. If stopInBackground is a number, when app enters into background the automatic server stop does not happen immediately, but it is scheduled for the given time later.

    BEWARE: The stop in background feature is currently implemented within TypeScript layer of RN, and it behaves differently on different OS. The delayed auto-stop of the server in background does not quite work on Android (as there TS layer stops immediately after the app has moved into background); and it works as intended on iOS, provided a reasonable delay is asked (~1 second works).

Sponsor