Skip to content

Latest commit

 

History

History
87 lines (67 loc) · 2.58 KB

CHANGELOG.md

File metadata and controls

87 lines (67 loc) · 2.58 KB

Changelog

Upgrading

Update your package.json to use the x.x.x version.

npm install --save react-native-twilio-ip-messaging@x.x.x
iOS

Modify your Podfile for the Twilio dependency as follows:

pod 'TwilioIPMessagingClient', '~> 0.14.2'
Android

Indicate to Android Studio to refresh the gradle dependencies.

Or, remove the cache and it will be auto-generated on the next build.

rm -rf $HOME/.gradle/caches/

0.2.1

  • PR #22 - Fixed typos and method names (@Baisang)
  • PR #28 - Added MIT license (@jhabdas)
  • PR #31 - Client + Channel bug fixes

0.2.0

(Includes all features from 0.2.0-rc2)

iOS

  • PR #19 Fixed issue with NSString token not being converted into NSData (thanks @plonkus!)
  • PR #18 Fixed negated isSuccessful resolves in setAttributes and setFriendlyName in client (thanks @Baisang!)
  • PR #16 Updated Podspec to match Twilios requirement of only iOS 8.1 (thanks @Baisang!)
  • Fixed misspelling of lastConsumptionTimestamp
  • Fixed lib Channel getMembers was still calling allObjects

Android

  • Fixed bug when lastConsumedMessageIndex is null

0.2.0-rc2

Upgrading

Update your package.json to use the 0.2.0-rc2 version.

npm install --save react-native-twilio-ip-messaging@0.2.0-rc2
iOS

Modify your Podfile for the Twilio dependency as follows:

pod 'TwilioIPMessagingClient', '~> 0.14.2'
Android

Indicate to Android Studio to refresh the gradle dependencies.

Or, remove the cache and it will be auto-generated on the next build.

rm -rf $HOME/.gradle/caches/

Changes (both)

  • Added dateCreated and dateUpdated to Channel
  • Added attributes and setAttributes to Message
  • Added isReachabilityEnabeld to Client
  • Added isOnline and isNotifiable properties to UserInfo
  • Added onUpdate and close methods to UserInfo
  • Added lastConsumedMessageIndex and lastConsumptionTimestamp to Member class

Android

  • Updated Twilio SDK to 0.8.1
  • Updated attributes to be JSONObject instead of Maps
  • sendMessage() now uses a build in method instead of combing createMessage with sendMessage
  • Added onToastFailed, onToastReceived, and onToastSubscribed events (previously was iOS only)

iOS

  • Updated Twilio SDK to 0.14.2
  • Added onMemberUserInfoUpdated event for Client and Channel

Depreciated

  • client.getChannelBySid(sid) is now replaced with client.getChannel(sid)
  • client.deregister(token) is now replaced with client.unregister(token)
  • onToastRegistrationFailed Client event is now replaced with onToastFailed