Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace ChimpKit SDK Dependency #118

Merged
merged 2 commits into from
Nov 3, 2019
Merged

Conversation

sieren
Copy link
Contributor

@sieren sieren commented Nov 1, 2019

Hey everyone,

this PR removed the dependency on the ChimpKit SDK.
Background: The ChimpKit SDK repo has not been updated in 5-6 years and is showing it's age. It does not compile when using Catalyst (Catalina) as a target and it is using the deprecated APIv2 of MailChimp.
This API is well documented and I've written a little class against it.

Changes: ChimpKit is removed from PodFile. A new class called MailChimp is being put in place as a drop-in replacement with a similar API as before. Higher-level changes are therefore minimal.

New: Previously users had no choice to resubscribe when they unsubscribed in the past. This PR adds functionality and checks that - if a user had subscribed in the past, we will send him/her an "opt-in" email. The reason is that we might want to prevent malicious actors from signing up third-parties. This means:

  1. If a user subscribes for the first time, the behaviour is the same as in the past.
  2. If a user resubscribes, we will send an opt-in email.

I have tested and verified these behaviours with multiple accounts of my own.
@aure @analogcode if we use ChimpKit in other AK Apps, this may be a universal suitable replacement.

@sieren sieren force-pushed the replace-chimpkit branch 4 times, most recently from 728d4a2 to 17c0339 Compare November 1, 2019 16:40
@sieren sieren mentioned this pull request Nov 1, 2019
3 tasks
Add a service that handles the API Endpoints of MailChimp.
Added functionality to subscribe new users and resubscribe
existing users that signed up again but may have unsubscribed
in the past.
Remove the ChimpKit SDK from this project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants