klaviyo / klaviyo-react-native-sdk

MIT License
5 stars 6 forks source link

Remove deprecated profile identifier keys #146

Closed evan-masseau closed 7 months ago

evan-masseau commented 7 months ago

Description

Following #143, remove the deprecated keys

Check List

Changelog / Code Overview

Test Plan

Confirmed that with the deletion, you can't call setProfileAttribute with identifier keys, unless you go out of your way to use a custom key with a value like "email". Even then, I kept the little patch in the swift bridge code from the previous PR, so that would still get routed to the explicit setter on iOS like it does on Android.

Related Issues/Tickets

143

CHNL-6998