J jo1234 Active Member Licensed User Longtime User May 20, 2019 #1 Hi, Firebase Analytics allows the use of user properties to filter. Is it possible to set user properties in B4A? Java: B4X: mFirebaseAnalytics.setUserProperty("favorite_food", mFavoriteFood); https://firebase.google.com/docs/analytics/android/properties I tried it with the FirebaseAnalytics library v1.02 but it is not supported. Thanks a lot, Johannes PS: Here is the link for B4i https://www.b4x.com/android/forum/threads/firebase-analytics-set-user-properties-ios.106034/ Last edited: May 22, 2019
Hi, Firebase Analytics allows the use of user properties to filter. Is it possible to set user properties in B4A? Java: B4X: mFirebaseAnalytics.setUserProperty("favorite_food", mFavoriteFood); https://firebase.google.com/docs/analytics/android/properties I tried it with the FirebaseAnalytics library v1.02 but it is not supported. Thanks a lot, Johannes PS: Here is the link for B4i https://www.b4x.com/android/forum/threads/firebase-analytics-set-user-properties-ios.106034/
Erel B4X founder Staff member Licensed User Longtime User May 22, 2019 #2 You can do it with JavaObject: B4X: Dim jo As JavaObject = Analytics jo.RunMethod("setUserProperty", Array("favorite_food", "aaa")) jo1234 said: PS: I would also need it for B4i. Click to expand... Start a new thread in B4i forum. Upvote 0
You can do it with JavaObject: B4X: Dim jo As JavaObject = Analytics jo.RunMethod("setUserProperty", Array("favorite_food", "aaa")) jo1234 said: PS: I would also need it for B4i. Click to expand... Start a new thread in B4i forum.