diff --git a/BLOCKv.podspec b/BLOCKv.podspec index 87716e0d..471c0bc6 100644 --- a/BLOCKv.podspec +++ b/BLOCKv.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'BLOCKv' - s.version = '0.9.9' + s.version = '0.9.10' s.summary = 'The BLOCKv SDK allows you to easily integrate your apps into the BLOCKv Platform.' s.homepage = 'https://blockv.io' s.license = { :type => 'BLOCKv AG', :file => 'LICENSE' } diff --git a/README.md b/README.md index 348334aa..e0506c12 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ pod 'BLOCKv' Within the `AppDelegate` be sure to set the App ID. -```Swift +```swift class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { @@ -39,6 +39,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate { } else { // show authentication ui } + + // Handle user re-authentication + BLOCKv.onLogout = { + // show authentication ui + } + return true } }