klaviyo / klaviyo-swift-sdk

Swift SDK for integrating Klaviyo’s push notifications, event tracking, and user profile management into iOS applications.
https://www.klaviyo.com/mobile-push-marketing
MIT License
12 stars 11 forks source link

[CHNL-5340] Minor update to push permission request #157

Closed ajaysubra closed 7 months ago

ajaysubra commented 7 months ago

Description

Can close #156 in favor of this. On speaking with @evan-masseau realized that we we don't need to combine collecting tokens with request permission as when the app is launched we instruct users to register for push token and that should trigger calling setToken. setToken method will update the push enablement status and we should be good.

Finally, I will cut a ticket for us so that we can refresh the enablement status on the SDK just as a safety measure.

Check List

Manual Test Plan

1.

Supporting Materials