mailchimp / mailchimp-sdk-android Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://mailchimp.com/developer/guides/mobile-sdk/
License: Other
Home Page: https://mailchimp.com/developer/guides/mobile-sdk/
License: Other
Testing
Describe the bug
If a client application is using Timber
, and they call Timber.plant()
with a DebugTree
in their application (which is pretty common). It will result in duplicate log statements when debug mode is enabled on the SDK.
This is caused because the SDK will plant a debug tree always when debug mode is enabled.
To Reproduce
Steps to reproduce the behavior:
Timber.plant(DebugTree())
in Application
onCreate
.true
into MailchimpSdkConfiguration
for debugModeEnabled
.Expected behavior
The SDK will only install a Timber debug tree if the client application has not already planted a tree.
Describe the bug
When calling createOrUpdateContact API I get "Bad Request" error. Here is the complete response:
{"type":"https://mailchimp.com/developer/marketing/docs/errors/","title":"Bad Request","status":400,"detail":"User does not exist.","instance":"d7a5c5aa-4bec-2f2e-8e74-64fdc95ae896"}
Expected behavior
"If you attempt to create a contact that already exists, the contact’s information will be updated with the newly specified values."
So it should create or update the contact.
Development Environment Information:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Development Environment Information:
build.gradle contents
Please paste the contents of your build.gradle
below. Please redact any private information.
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
I'm using the mobile device sdk to update my audience tags so that I can segment my audience. I'd also like to send up the language so that my email campaigns can be sent in the right languages.
Describe the solution you'd like
It'd be great if it were possible to send up the device language (or optionally the app-specific language) through the mobile SDK.
Describe alternatives you've considered
I could set up a server instance which would use the marketing API, but this means a fair amount of overhead for something that seems like it could easily be supported.
Additional context
N/A
val user = auth.currentUser
val newContact = Contact.Builder(user?.email!!)
.setContactStatus(ContactStatus.SUBSCRIBED)
.build()
val sdk = Mailchimp.sharedInstance()
sdk.createOrUpdateContact(newContact)
I am trying to creating contact using sdk in android but it always return with
400 Bad Request https://us20.api.mailchimp.com/clientapi/1.0/contacts
{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Bad Request","status":400,"detail":"User does not exist.","instance":"e3d6f848-8d24-4f68-bc61-e4c4d2e505c7"}
I have set mailchimp configuration in Application class.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.