Releases: Scala-Dev/exp-ios-sdk
Releases · Scala-Dev/exp-ios-sdk
Release Notes V1.0.7
EXP-3683
- Add start sdk with auth
- Add reject to login runtime
EXP-3675
- Add getCurrentUser
- Add Any to start option
Eagle Release v5.0.0
-First Eagle release
Release Notes v1.0.6
EXP-3505,EXP-3506,EXP-3509,EXP-3566
- Add Create functionality in EXP model.
- Add Update functionality in EXP model.
- Add Delete functionality in EXP model.
- Add Refresh functionality in EXP model.
- Fix getChannelName for Zones.
- Added setProperty to Exp model.
Release Notes v1.0.5
- This release works with Xcode 8.0 and Swift 3.0, it also has updated all the project Dependency to the latest of each one, this includes improvements in Alamofire for all the API request and Socket IO connection for the real time communication.
- If you're using Xcode 7.3 you will have to update to Xcode 8.0. Note this version only works for IOS 9 and up this is because apple is not giving support to IOS 8 anymore.
Library Changes
- Promisekit Updated from
3.2.1
to4.0
- Alamofire Updated from
3.1.5
to4.0.1
- SocketIO Updated from
4.1.2
to8.0.2
- JSONWebToken Updated from
1.4.1
to2.0.1
Breaking Changes
- Promisekit now uses
.catch
instead of.error
.
Example
ExpSwift.start(host,"74c05552-5b9f-4d06-a3f8-8299ff1e1e3a","7b674d4ab63e80c62591ef3fcb51da1505f420d2a9ffda8ed5d24aa6384ad1c1f10985a4fc858b046b065bcdacc105dd").then{ result -> Void in
debugPrint(result)
}.catch { error in
debugPrint(error)
}
- All the dictionary now use
Any
insetead ofAnyObject
.
var payload:Dictionary<String,Any> = ["opening":"knock knock?"]
channel.broadcast("hi", payload: payload1, timeout: "2000").then { result -> Void in
debugPrint(result)
}
feed.getData().then { (data: [Any]) -> Void in
debugPrint(data)
}.catch { error in
debugPrint(error)
}
- For the data calls now Swift needs to specify the class
ExpSwift.getData("cats", key: "fluffy2").then { (data:ExpSwift.Data) -> Void in
debugPrint(data.getDocument().description)
}.catch { error in
debugPrint(error)
}
ExpSwift.findData(["limit":1, "skip":0, "sort":"name"]).then { (datas: SearchResults<ExpSwift.Data>) -> Void in
for data:ExpSwift.Data in datas
{
debugPrint(data.getDocument().description)
}
}.catch { error in
debugPrint(error)
}
Release Notes v1.0.4
EXP-1474
- fix content url
EXP-2821
- add SequenceType to search result object
- swift version to pod install, update pod spect for swift 2.3
- add sequence type extension for SearchResults
EXP-2982
-
add array for callback events in channels
EXP-3028
-
update device model for getLocation and getExperience
Update Auth
Update Auth objects
v1.0.0 First Release
Merge develop into master
v0.0.1: Merge branch 'develop'
Conflicts: Example/ExpSwift.xcworkspace/xcuserdata/cesar.xcuserdatad/UserInterfaceState.xcuserstate