I am looking for a way to clear a Firebase User Property previously set using the SetUserProperty action.
According to the documentation on Firebase, you can clear a user property by setting its value to null.However, in OutSystems 'null' is not a thing, so we can't pass null to the setUserProperty action.
Is there another way to clear the user property?Maybe it would be useful to have an explicit clearUserProperty action in the plugin that would explicitly pass null in the javascript code?
Kind regards,
Steven
Hi Steven, You can create a JavaScript node in a client action to explicitly call Firebase with 'null'.
firebase.analytics().setUserProperty('property_name', null);I hope Its helpful.
Hi Aravind,
Thanks, that is indeed something we could do. It would however be better if this was something included in the supported Firebase Analytics plugin.