Initialize
This document describes the initialization steps for using the iOS SDK in your project.
Obtaining Fncy AuthToken
Declaring Initialization in the AppDelegate
import FncyWallet
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
...
// FncyWalletSDK initialize
FncyWalletSDK.initSDK(environment: .testnet) // .testnet or .mainnet
return true
}
...
}