iOS

The preferred way to include SDK in your app is through Carthage. (please refer to the documentation in order to install it on you mac)

Proceed in this order:

  1. Download the Carthage zip and unpack it everywhere on your mac
  2. Drag Newton.framework and CommonCrypto.framework inside your project, and be sure that on your application targets’ “General” tab they appear under "Linked Framework and Libraries"
  3. On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script in which you specify your shell (ex: bin/sh), add the following contents to the script area below the shell:
  4. /usr/local/bin/carthage copy-frameworks
  5. and add the paths to the frameworks you want to use under “Input Files”:
  6. $(SRCROOT)/CommonCrypto.framework
    $(SRCROOT)/Newton.framework
  7. Build your project as you normally do

Available versions

v4.2.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v4.2.0/reference/

v4.1.5

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v4.1.5/reference/

v4.1.4

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v4.1.4/reference/

v4.1.3

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v4.1.3/reference/

v4.1.2

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v4.1.2/reference/

v3.4.1

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.4.1/reference/

v3.3.4

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.3.4/reference/

v3.3.2

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.3.2/reference/

v3.3.1

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.3.1/reference/

v3.3.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.3.0/reference/

v3.2.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.2.0/reference/

v3.1.1

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.1.1/reference/

v3.1.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.1.0/reference/

v3.0.1

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v3.0.1/reference/

v2.8.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.8.0/reference/

v2.7.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.7.0/reference/

v2.6.2

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.6.2/reference/

v2.6.1

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.6.1/reference/

v2.6.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.6.0/reference/

v2.5.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.5.0/reference/

v2.4.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.4.0/reference/

v2.3.2

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.3.2/reference/

v2.3.1

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.3.1/reference/

v2.3.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.3.0/reference/

v2.2.4

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.2.4/reference/

v2.2.3

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.2.3/reference/

v2.2.2

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.2.2/reference/

v2.2.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.2.0/reference/

v2.1.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.1.0/reference/

v2.0.3

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.0.3/reference/

v2.0.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v2.0.0/reference/

v1.3.0

Framework ZIP
Framework
Carthage Archive ZIP
Carthage Archive
Reference
/ios/v1.3.0/reference/

Changelog

#v4.2.0
========
* Number Recognition feature

#v4.1.5
========
* Minor fix to Carthage build script 

#v4.1.4
========
* Fake version locally altered to be able to deploy

#v4.1.3
========
* Built for Xcode 13.0.0 - Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)

#v4.1.2
========
* Built for Xcode 12.5.1 - Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)

#v4.1.1
========
* Built for Xcode 12.5 - Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)

#v4.1.0
========
* Initialization updated: add Third parameter to getSharedInstanceWith Config

#v4.0.1
========
* Add VCS tag value into plist

#v4.0.0
========
* Add tvOS target
* Reorganization of folders to comply Switf Package Manager

#v3.5.0
========
* Bugfix on EventManager missing to update user token when received a 205 http status

#v3.4.1
========
* Built for Xcode 12.3 - Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)

#v3.4.0
========
* Adopt Ipawn v2.1 using Distribution Group
* DistributionGroup can be set dynamically
* Login Flow using User20 Cookies information

#v3.3.6
========
* Upgrade for Carthage and XCode 12.2 - Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8)

#v3.3.5
========
* Upgrade for Carthage and XCode 12.0.1

#v3.3.4
========
* Changing Minimum iOS version, excluding arm64 architectures from Release. Tested with Reference App conveniently configured to resemble actual situation

#v3.3.3
========
* Built for Xcode 12.0 - Apple Swift version 5.3 (swiftlang-1200.0.29.2 clang-1200.0.30.1)
* Added defaults to device informations retrieval

#v3.3.2
========
* Built for Xcode 11.5 - Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)

#v3.3.1
========
* Built for Xcode 11.4.1 - Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)

#v3.3.0
========
* Add IdentityManager object to obtain the AddIdentityFlow

#v3.2.0
========
* Event QueueManager now uses NSOperation to serialize the activities of producing and consuming event

#v3.1.1
========
* Flushing event slight fix: handler copied when consuming chunk
* Built for XCode 11.3 - Apple Swift version 5.1.3 (swiftlang-1100.0.282.1 clang-1100.0.33.15)

#v3.1.0
========
* Add Payment Information retrieval API on Payment Manager isPayingForDefault
* PaymentObject and PaymentReceiptObject

#v3.0.1
========
* BugFix of flushing events

#v3.0.0
========
* New Error Handling made of LocalError and NewtonError only

#v2.8.0
========
* Bugfix: Bad concurrency handling on event consume produced duplicate events
* Removed every occurence of ObjectiveC code into the SDK so modulemap file into the Framework is not present anymore

#v2.7.0
========
* Align the refreshToken API answer to new specs and to other SKDs
* Rebuilt for XCode 11.1 - Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)

#v2.6.2
========
* Rebuilt for XCode 11.0 - Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)

#v2.6.1
========
* Fix Email and Password Signup Flow: add userProperties and EmailParams
* Rebuilt for XCode 10.2.1 - Apple Swift version 5.0.1 (swiftlang-1001.0.82.4 clang-1001.0.46.5)

#v2.6.0
========
* Email and Password Login Flows: (login, forgot, resend, signup)
* Identity Manager Flow (Identity Builder, AddEmailIdentityFlow)

#v2.5.0
========
* Rebuilt for XCode 10.1 - Apple Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1)
* New build system improvements handled: Common Crypto can now disappear
* New Coding Protocol changes the way object are serialized: Tests updated
* NWUser refactor of MetaInfo get/set

#v2.4.0
========
* transient Token generation for Backward MFP (Native -> Webapp)
* Update MFP parsing in three more ways

#v2.3.2
========
* Rebuilt for XCode Version 9.4 (9F1027a)

#v2.3.1
========
* Update MFP parsing in a third way

#v2.3.0
========
* Implement IAP API in PaymentManager
* Implement Step1 Mobile Fingerprint Login Flow
* Fix the ordering of event queue changed by OS

#v2.2.4
========
* Rebuilt for Xcode 9.2 (Apple Swift version 4.0.3)

#v2.2.3
========
* Rebuilt for Xcode 9.1

#v2.2.2
========
* Rebuilt for Xcode 9 swiftlang-900.0.65.2 clang-900.0.37

#v2.2.1
========
* Removed coverage flag from framework target

#v2.2.0
========
* Porting to Swift 4
* Fix expire handler and consumer concurrency
* Avoid pop and push of the same chunk in a safer way

#v2.1.0
========
* Fix deserialisation with safer API
* Raised framework build target to iOS9.0+

#v2.0.3
========
* Fix file .sh into target

#v2.0.2
========
* Fix Push notification analytics notified event type

#v2.0.1
========
* Fix Push notification analytics

#v2.0.0
========
* Implement new Push Notification Interface
* Newton Server Error messages more verbose


#v1.3.0
========
* Port to Swift3.1


#v1.2.0
========
* Port to Swift3.0