SiftScience / sift-ios

Sift iOS SDK
MIT License
19 stars 25 forks source link

Switching between Sandbox #110

Open orafaaraujo opened 2 years ago

orafaaraujo commented 2 years ago

Hi,

In my app, I have a feature to switch between environments (prod, dev, qa etc). When doing this I would like to switch Sift between Prod and Sandbox.

Is calling setup again enough? Should I do something more than that?

let sift = Sift.sharedInstance
sift()?.accountId = accountId
sift()?.beaconKey = beaconKey

Thank you in advance