From 9b55ac9a59a60c37da301c2fbe6c81a78a22e674 Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Thu, 18 Feb 2016 14:55:28 -0800 Subject: [PATCH] Fix bug with Mixpanel on Android --- .../android/src/main/java/io/realm/react/RealmAnalytics.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native/android/src/main/java/io/realm/react/RealmAnalytics.java b/react-native/android/src/main/java/io/realm/react/RealmAnalytics.java index 90150b28..2f906a5e 100644 --- a/react-native/android/src/main/java/io/realm/react/RealmAnalytics.java +++ b/react-native/android/src/main/java/io/realm/react/RealmAnalytics.java @@ -183,7 +183,7 @@ public class RealmAnalytics { * @throws UnsupportedEncodingException */ private static String base64Encode(String data) throws UnsupportedEncodingException { - return Base64.encodeToString(data.getBytes("UTF-8"), Base64.DEFAULT); + return Base64.encodeToString(data.getBytes("UTF-8"), Base64.NO_WRAP); } /**