Skip to content

Releases: Backendless/Swift-SDK

0.0.15

01 Jul 10:37
79233a8
Compare
Choose a tag to compare
  • added methods to GeoService:
func getFencePointsCount(geoFenceName: String, responseHandler: ((Int) -> Void)!, errorHandler: ((Fault) -> Void)!)
func getFencePointsCount(geoFenceName: String, geoQuery: BackendlessGeoQuery, responseHandler: ((Int) -> Void)!, errorHandler: ((Fault) -> Void)!)
  • the sendEmailFromTemplate functions signatures changed:
func sendEmailFromTemplate(templateName: String, envelope: EmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
func sendEmailFromTemplate(templateName: String, envelope: EmailEnvelope, templateValues: [String : String], responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)

0.0.14

25 Jun 14:49
56925e1
Compare
Choose a tag to compare
  • the sendEmails functions renamed into the sendEmailFromTemplate:
func sendEmailFromTemplate(templateName: String, envelope: EmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
func sendEmailFromTemplate(templateName: String, templateValues: [String : String], envelope: EmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
  • added custom serialization/deserialization for class BackendlessGeoQuery

0.0.13

21 Jun 08:25
f21182d
Compare
Choose a tag to compare
  • the EmailEnvelope signatures changed
  • code refactoring
  • version 0.0.12 expirienced some cocoapods issues, so they are fixed in 0.0.13 - please use this version instead

0.0.12

19 Jun 13:56
4991a2a
Compare
Choose a tag to compare
  • added the SearchMatchesResult class
  • fixed the relativeFind method to return SearchMatchesResult correctly
  • added serializations/deserialization for class SearchMatchesResult
  • added distance field in class GeoPoint

0.0.11

18 Jun 08:00
80937e8
Compare
Choose a tag to compare
  • fixed the GeoPoint saving issue which caused crash when sending custom object in metadata
  • customized serialization/deserialization for the next classes: DeliveryOptions, GeoPoint, GeoQueryRectangle

0.0.10

12 Jun 13:39
2cd490e
Compare
Choose a tag to compare
  • fixed password issue when updating the BackendlessUser object
  • fixed Date type issue when retrieving object or registering BackendlessUser with custom Date field
  • fixed the BackendlessUser properties methods
  • added support of custom smart-text substitutions for push templates:
func pushWithTemplate(templateName: String, templateValues: [String : Any], responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
  • added Channel function:
func sendCommand(commandType: String, data: Any?, responseHandler: (() -> Void)!, errorHandler: ((Fault) -> Void)!)

0.0.9

06 Jun 17:41
1b2e0a2
Compare
Choose a tag to compare
  • added IEmailEnvelope protocol, EmailEnvelope, EnvelopeWithRecepients and EnvelopeWithQuery classes
  • added functions to MessagingService:
func sendEmails(templateName: String, envelope: IEmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)

func sendEmails(templateName: String, templateValues: [String : String], envelope: IEmailEnvelope, responseHandler: ((MessageStatus) -> Void)!, errorHandler: ((Fault) -> Void)!)
  • added groups support for push notifications (for iOS 12+)

0.0.8

04 Jun 08:33
62964af
Compare
Choose a tag to compare
  • the AtomicCounters compareAndSet function fixed to return Bool in response instead of Int
  • added functions to UserService:
func loginWithTwitter(authToken: String, authTokenSecret: String, fieldsMapping: [String: String], responseHandler: ((BackendlessUser) -> Void)!, errorHandler: ((Fault) -> Void)!)

func resendEmailConfirmation(email: String, responseHandler: (() -> Void)!, errorHandler: ((Fault) -> Void)!)

0.0.7

28 May 15:09
5a38641
Compare
Choose a tag to compare
  • fixed bug in the CacheService methods when key contains spaces
  • fixed crashes in DataPermission when object is Dictionary
  • added the segmentQuery property to the DeliveryOptions
  • removed the device registration methods that don't take deviceToken as parameter
  • removed the refreshDeviceToken method
  • removed the unnecessary init methods
  • customized Serialization/Deserialization for next classes: ObjectProperty, BackendlessFileInfo, GeoCategory, BackendlessUser, UserProperty
init(from decoder: Decoder) throws

func encode(to encoder: Encoder) throws

0.0.6

21 May 19:20
0cc8331
Compare
Choose a tag to compare
  • added functions to FileService:
func exists(path: String, responseHandler: ((Bool) -> Void)!, errorHandler: ((Fault) -> Void)!)

func listing(path: String, responseHandler: (([BackendlessFileInfo]) -> Void)!, errorHandler: ((Fault) -> Void)!)

func remove(path: String, pattern: String, recursive: Bool, responseHandler: (() -> Void)!, errorHandler: ((Fault) -> Void)!)
  • added functions to MessagingService:
func unregisterDevice(channels: [String], responseHandler: ((Bool) -> Void)!, errorHandler: ((Fault) -> Void)!)

func refreshDeviceToken(newDeviceToken: Data, responseHandler: ((Bool) -> Void)!, errorHandler: ((Fault) -> Void)!)
  • classes made to conform to the Codable protocol: DataQueryBuilder, LoadRelationsQueryBuilder, BackendlessGeoQuery, GeoQueryRectangle, PublishOptions, DeliveryOptions, BackendlessFileInfo, PublishMessageInfo, UserInfo, ReconnectAttemptObject, BulkEvent