diff --git a/CHANGELOG.md b/CHANGELOG.md index 6505bfa8..737d7478 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,24 @@ # Changelog +## Version 3.1.1 + +20-03-2017 + * Add `withLanguageOverride()` method to the UserAttributes model + * Display error to users before uploading files that are larger than we support + * Fixed issue where the Intercom settings color was not applied to the the push icon and push title + * Fixed localization issues with the composer + * Fixed issue with applying a padding to in-app messages [#311](https://github.com/intercom/intercom-android/issues/311) + ## Version 3.1.0 06-03-2017 -* added new method to the API updateUser(UserAttributes). Docs on how to use this can be found [here](https://developers.intercom.com/docs/android-configuration#section-update-a-user) -* deprecated updateUser(Map) and updateUser(User) methods in favour of updateUser(UserAttributes) -* search and send gifs from our new message composer -* dedicated image loader that allows you to preview and send images on your device -* fixed a FileNotFoundException in the Intercom SoundPlayer -* updated the android support library to version 25.1.1 -* update the android GCM and FCM libraries to version 10.2.0 +* Added new method to the API updateUser(UserAttributes). Docs on how to use this can be found [here](https://developers.intercom.com/docs/android-configuration#section-update-a-user) +* Deprecated `updateUser(Map)` and `updateUser(User)` methods in favour of `updateUser(UserAttributes)` +* Search and send GIFs from our new message composer +* Dedicated image loader that allows you to preview and send images on your device +* Fixed a FileNotFoundException in the Intercom SoundPlayer +* Updated the Android Support Library to version 25.1.1 +* Update the Android GCM and FCM libraries to version 10.2.0 ## Version 3.0.21 diff --git a/README.md b/README.md index c7da0a27..ce85a277 100644 --- a/README.md +++ b/README.md @@ -84,22 +84,21 @@ Here is our complete dependency graph: ### intercom-sdk-base ``` # Transitive (shared with your app) -+--- com.android.support:design:25.0.1 -+--- com.android.support:appcompat-v7:25.0.1 -+--- com.android.support:animated-vector-drawable:25.0.1 -+--- com.android.support:support-vector-drawable:25.0.1 -+--- com.android.support:support-v4:25.0.1 -+--- com.android.support:support-annotations:25.0.1 -+--- com.android.support:recyclerview-v7:25.0.1 ++--- com.android.support:design:25.1.1 ++--- com.android.support:appcompat-v7:25.1.1 ++--- com.android.support:animated-vector-drawable:25.1.1 ++--- com.android.support:support-vector-drawable:25.1.1 ++--- com.android.support:support-v4:25.1.1 ++--- com.android.support:support-annotations:25.1.1 ++--- com.android.support:recyclerview-v7:25.1.1 # Repackaged (not shared with your app) +--- com.squareup:otto:1.3.8 +--- com.github.bumptech.glide:glide-intercom:3.7.0 # Modified version of Glide +--- com.squareup.okio:okio:1.11.0 -+--- com.squareup.okhttp3:okhttp:3.4.2 -+--- com.squareup.okhttp3:okhttp-ws:3.4.2 -+--- com.squareup.retrofit2:retrofit:2.1.0 -+--- com.squareup.retrofit2:converter-gson:2.1.0 ++--- com.squareup.okhttp3:okhttp:3.6.0 ++--- com.squareup.retrofit2:retrofit:2.2.0 ++--- com.squareup.retrofit2:converter-gson:2.2.0 +--- com.google.code.gson:gson:2.8.0 ``` @@ -107,26 +106,26 @@ If you use some of the repackaged libraries in your app, you may want to use a b ### intercom-sdk-gcm ``` -+--- com.google.android.gms:play-services-base:9.8.0 -| +--- com.google.android.gms:play-services-basement:9.8.0 -| | \--- com.android.support:support-v4:23.0.0 -> 25.0.1 (*) -| \--- com.google.android.gms:play-services-tasks:9.8.0 -| \--- com.google.android.gms:play-services-basement:9.8.0 (*) -+--- com.google.android.gms:play-services-basement:9.8.0 (*) -\--- com.google.android.gms:play-services-iid:9.8.0 - +--- com.google.android.gms:play-services-base:9.8.0 (*) - \--- com.google.android.gms:play-services-basement:9.8.0 (*) ++--- com.google.android.gms:play-services-base:10.2.0 +| +--- com.google.android.gms:play-services-basement:10.2.0 +| | \--- com.android.support:support-v4:23.0.0 -> 25.1.1 (*) +| \--- com.google.android.gms:play-services-tasks:10.2.0 +| \--- com.google.android.gms:play-services-basement:10.2.0 (*) ++--- com.google.android.gms:play-services-basement:10.2.0 (*) +\--- com.google.android.gms:play-services-iid:10.2.0 + +--- com.google.android.gms:play-services-base:10.2.0 (*) + \--- com.google.android.gms:play-services-basement:10.2.0 (*) ``` ### intercom-sdk-fcm ``` -+--- com.google.android.gms:play-services-basement:9.8.0 -| \--- com.android.support:support-v4:23.0.0 -> 25.0.1 (*) -+--- com.google.firebase:firebase-iid:9.8.0 -| +--- com.google.android.gms:play-services-basement:9.8.0 (*) -| \--- com.google.firebase:firebase-common:9.8.0 -| +--- com.google.android.gms:play-services-basement:9.8.0 (*) -| \--- com.google.android.gms:play-services-tasks:9.8.0 -| \--- com.google.android.gms:play-services-basement:9.8.0 (*) -\--- com.google.firebase:firebase-common:9.8.0 (*) ++--- com.google.android.gms:play-services-basement:10.2.0 +| \--- com.android.support:support-v4:23.0.0 -> 25.1.1 (*) ++--- com.google.firebase:firebase-iid:10.2.0 +| +--- com.google.android.gms:play-services-basement:10.2.0 (*) +| \--- com.google.firebase:firebase-common:10.2.0 +| +--- com.google.android.gms:play-services-basement:10.2.0 (*) +| \--- com.google.android.gms:play-services-tasks:10.2.0 +| \--- com.google.android.gms:play-services-basement:10.2.0 (*) +\--- com.google.firebase:firebase-common:10.2.0 (*) ``` diff --git a/aar/intercom-sdk-base-3.1.0.aar b/aar/intercom-sdk-base-3.1.0.aar deleted file mode 100644 index 1146b803..00000000 Binary files a/aar/intercom-sdk-base-3.1.0.aar and /dev/null differ diff --git a/aar/intercom-sdk-base-3.1.1.aar b/aar/intercom-sdk-base-3.1.1.aar new file mode 100644 index 00000000..e948217d Binary files /dev/null and b/aar/intercom-sdk-base-3.1.1.aar differ diff --git a/aar/intercom-sdk-fcm-3.1.0.aar b/aar/intercom-sdk-fcm-3.1.0.aar deleted file mode 100644 index 47253718..00000000 Binary files a/aar/intercom-sdk-fcm-3.1.0.aar and /dev/null differ diff --git a/aar/intercom-sdk-fcm-3.1.1.aar b/aar/intercom-sdk-fcm-3.1.1.aar new file mode 100644 index 00000000..66b2b9e6 Binary files /dev/null and b/aar/intercom-sdk-fcm-3.1.1.aar differ diff --git a/aar/intercom-sdk-gcm-3.1.0.aar b/aar/intercom-sdk-gcm-3.1.0.aar deleted file mode 100644 index 8239d346..00000000 Binary files a/aar/intercom-sdk-gcm-3.1.0.aar and /dev/null differ diff --git a/aar/intercom-sdk-gcm-3.1.1.aar b/aar/intercom-sdk-gcm-3.1.1.aar new file mode 100644 index 00000000..e32ea79d Binary files /dev/null and b/aar/intercom-sdk-gcm-3.1.1.aar differ diff --git a/docs/index-all.html b/docs/index-all.html index 8ff5a149..d178e7dd 100644 --- a/docs/index-all.html +++ b/docs/index-all.html @@ -431,6 +431,10 @@

W

Set the email address for this user.
+
withLanguageOverride(String) - Method in class io.intercom.android.sdk.UserAttributes.Builder
+
+
Set the language override code for this user
+
withMonthlySpend(Integer) - Method in class io.intercom.android.sdk.Company.Builder
Set the monthly spend of this company
diff --git a/docs/io/intercom/android/sdk/UserAttributes.Builder.html b/docs/io/intercom/android/sdk/UserAttributes.Builder.html index 8151fd59..660faa24 100644 --- a/docs/io/intercom/android/sdk/UserAttributes.Builder.html +++ b/docs/io/intercom/android/sdk/UserAttributes.Builder.html @@ -17,7 +17,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -181,35 +181,41 @@

Method Summary

UserAttributes.Builder +withLanguageOverride(java.lang.String languageOverride) +
Set the language override code for this user
+ + + +UserAttributes.Builder withName(java.lang.String name)
Set the name of this user.
- + UserAttributes.Builder withPhone(java.lang.String phone)
Set the phone number of this user.
- + UserAttributes.Builder withSignedUpAt(java.util.Date signedUpAt)
Set the time when the user signed up
- + UserAttributes.Builder withSignedUpAt(java.lang.Long signedUpAt)
Set the time when the user signed up
- + UserAttributes.Builder withUnsubscribedFromEmails(java.lang.Boolean unsubscribedFromEmails)
Set if the user has unsubscribed to emails
- + UserAttributes.Builder withUserId(java.lang.String userId)
Set the user ID on this user.
@@ -387,6 +393,27 @@

withUnsubscribedFromEmails

+ + + +
    +
  • +

    withLanguageOverride

    +
    public UserAttributes.Builder withLanguageOverride(@Nullable
    +                                                   java.lang.String languageOverride)
    +
    Set the language override code for this user + +

    languageOverride must be a valid language code.

    +

    For more information see [here](https://docs.intercom.com/configure-intercom-for-your-product-or-site/ + customize-the-intercom-messenger/localize-intercom-to-work-with-multiple-languages ).

    +
    +
    Parameters:
    +
    languageOverride - a string for the language
    +
    Returns:
    +
    the UserAttributes.Builder object
    +
    +
  • +