Skip to content

Releases: kirillzyusko/react-native-wifi-p2p

Release 3.6.0

21 Aug 07:44
020e42a
Compare
Choose a tag to compare

New release including next changes:

  • added TypeScript types declaration 62b4192
  • reject if initialize is called more than once 3c89993

Release 3.5.0

13 Jun 10:14
2cb98d0
Compare
Choose a tag to compare

New release including next changes:

  • fix: connectionInfo updated when connection closes bf853d7
  • fix: avoid crash when sendMessage is called when connection is closed 585624d
  • refactor: receiveMessage 5071490

Release 3.4.1

18 Mar 20:31
7beba56
Compare
Choose a tag to compare

Minor release containing next fixes:

  • README tweaks #75
  • reduced npm pacakge size #73

Release 3.4.0

17 Mar 07:40
6b754e6
Compare
Choose a tag to compare

Thanks to @seba9999 and @viniciuscb who added an ability to exchange files/messages with any device in a network 🎉 😎

  • added sendMessageTo/sendFileTo #61
  • added docs about new permission on Android 13 #69 #70 #71
  • CI job for android build #65
  • CI job for java lint #64

Release 3.3.0

26 Oct 15:47
eeed31b
Compare
Choose a tag to compare
  • deprecate the usage of unsubscribe* methods eeed31b
const handler = (event) => {
    console.log('This device changed: ', event);
};

-subscribeOnThisDeviceChanged(handler);
-unsubscribeOnThisDeviceChanged(handler);

+const subscription = subscribeOnThisDeviceChanged(handler);
+subscription.remove();

Release 3.2.2

18 Jan 09:13
Compare
Choose a tag to compare
  • replaced jCenter with mavenCentral

Release 3.2.1

17 Sep 08:05
Compare
Choose a tag to compare
  • fixed a bug #42

Release 3.2.0

14 Sep 09:01
Compare
Choose a tag to compare

Added

  • added connectWithConfig method;

Release 3.1.0

10 Jul 08:41
Compare
Choose a tag to compare
  • added optional forceToScanGallery param for receiveFile method

Release 3.0.0

06 Jul 14:17
Compare
Choose a tag to compare

Removed:

  • isSuccessfulInitialize - initialize method now is async and provides the same information.
  • getGroupPassphraseInfo - you can use new added method getGroupInfo as replacement of this method (getGroupInfo apart of passphrase return other additional information).

Added:

  • subscribeOnThisDeviceChanged - event emitter, which emits event, when group info has changed (handle native THIS_DEVICE_CHANGED_ACTION)
  • unsubscribeFromThisDeviceChanged - unsubscribe of subscribeOnThisDeviceChanged
  • getGroupInfo - provides groupInfo

Fixed:

  • sendFile/sendMessage promise resolving (#29)
  • receiveFile can specify path for saving (#28)
  • reduced published package size
  • replaced all System..println calls with Log.

Changed:

  • temporary marker in getConnectionInfo removed
  • documentation improved (#26)
  • examples corrected (#25)