Skip to content

Commit 3443052

Browse files
authored
Update README.md
1 parent 717ace7 commit 3443052

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Or you can add it directly within Xcode:
2626
### Initialization
2727
- Setgreet App Key: You can get the app key while creating a new app in the Setgreet flow editor.
2828

29-
Initialize the SDK in your AppDelegate or SceneDelegate:
29+
Initialize the SDK in your AppDelegate / SceneDelegate or anywhere you want:
3030

3131
```Swift
3232
import UIKit
@@ -39,7 +39,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3939

4040
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
4141

42-
Setgreet.initialize(
42+
Setgreet.shared.initialize(
4343
appKey: "APP_KEY",
4444
config: SetgreetConfig(
4545
debugMode: false

0 commit comments

Comments
 (0)