Releases: kirillzyusko/react-native-wifi-p2p
Releases · kirillzyusko/react-native-wifi-p2p
Release 3.6.0
Release 3.5.0
Release 3.4.1
Release 3.4.0
Release 3.3.0
- 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
- replaced
jCenter
withmavenCentral
Release 3.2.1
- fixed a bug #42
Release 3.2.0
Added
- added
connectWithConfig
method;
Release 3.1.0
- added optional
forceToScanGallery
param forreceiveFile
method
Release 3.0.0
Removed:
isSuccessfulInitialize
-initialize
method now isasync
and provides the same information.getGroupPassphraseInfo
- you can use new added methodgetGroupInfo
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 ofsubscribeOnThisDeviceChanged
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: