Skip to content

Commit

Permalink
Merge branch 'master' into ab/CHNL-11919/create-native-view-to-show-w…
Browse files Browse the repository at this point in the history
…eb-view
  • Loading branch information
ab1470 authored Oct 2, 2024
2 parents 88ed79c + 9c4254c commit fc9f72e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,9 @@ on the best practices for when and how to ask for this permission. The following
within the [`application:didFinishLaunchingWithOptions:`](https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application)
method in the application delegate file. However, it's worth noting that this may not be the ideal location as it could interrupt the app's startup experience.

After setting a push token, the Klaviyo SDK will automatically track changes to
the user's notification permission whenever the application is opened or resumed from the background.
Below is example code to request push notification permission:
```swift
import UserNotifications
Expand Down

0 comments on commit fc9f72e

Please sign in to comment.