| At the moment we delete variants by matching the google key with the one stored in the variant config map. Thats not very scalable as users could have multiple variants with the same key. Colum Foskin found a better way: create a random identifier and store it in the binding secret as well as the variant config map. When the binding is removed we can use this identifier to locate the variant config map (later secret) which also gives us the variant id to delete it on UPS. This is currently being implemented for iOS variants but we should also do this for Android. |