Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BLOCKv.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -39,6 +39,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
} else {
// show authentication ui
}

// Handle user re-authentication
BLOCKv.onLogout = {
// show authentication ui
}

return true
}
}
Expand Down