We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We have a very popular newsletter signup form on iOS that appears above the list of issues. Let's do the same thing on android.
This form appears by default for new users and can be dismissed immediately with the "no thanks" button, or if a user submits their email.
Some features:
Here's the POST request code for submitting the email in swift, we should do the same but replace the tag with android:
var req = URLRequest(url: URL(string: "https://buttondown.com/api/emails/embed-subscribe/5calls")!) req.httpMethod = "POST" req.setValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type") req.httpBody = "email=\(email)&tag=ios".data(using: .utf8) URLSession.shared.dataTask(with: req).resume()
Here's what a few form states look like on iOS:
The text was updated successfully, but these errors were encountered:
Screenshots of how this could look before and during scroll. I haven't yet wired it in to make the newsletter POST request.
Sorry, something went wrong.
dektar
No branches or pull requests
We have a very popular newsletter signup form on iOS that appears above the list of issues. Let's do the same thing on android.
This form appears by default for new users and can be dismissed immediately with the "no thanks" button, or if a user submits their email.
Some features:
Here's the POST request code for submitting the email in swift, we should do the same but replace the tag with android:
Here's what a few form states look like on iOS:
The text was updated successfully, but these errors were encountered: