Bundle bundle = new Bundle();
bundle.putBoolean(Param.TEXT_AUTO_DETECTION, data.getTextAutoDetection());
if (data.errors.size() > Config.ZERO_LENGTH) {
String[] convertToStringArray = new String[data.errors.size()];
bundle.putStringArray(Param.SIGN_UP_ERRORS, data.errors.toArray(convertToStringArray));
}
bundle.putLong(Param.VERIFICATION_CODE_DELAYS, data.getVerificationCodeSeconds());
bundle.putString(Analytics.Param.THEME_COLOR, data.getThemeColor());
firebaseAnalytics.setUserProperty(Analytics.Param.THEME_COLOR, data.getThemeColor());
bundle.putBoolean(Param.PROFILE_IMAGE_SKIP, data.getProfileImageSkipped());
bundle.putInt(Param.VERIFICATION_CODE_RESEND, data.getVerificationCodeResend());
firebaseAnalytics.logEvent(Param.SIGN_UP_FLOW, bundle);
Thanks for the reply. Your documentation doesn't specifically say we should log just strings and numbers. I will make changes. I was checking my adb logs for analytics and booleans are converted to 0 and 1s.
Anyway about the user property, are you saying I should create a new user property in the Console and log the same property in code. Am a little confused. 😞
--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/17v1TeX1KK8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/baec9f8c-dc7d-4d75-8788-9ae33e9b5303%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.