diff --git a/android/src/main/java/com/facebook/reactnative/androidsdk/FBAppEventsLoggerModule.java b/android/src/main/java/com/facebook/reactnative/androidsdk/FBAppEventsLoggerModule.java index 28234a56..1396f275 100644 --- a/android/src/main/java/com/facebook/reactnative/androidsdk/FBAppEventsLoggerModule.java +++ b/android/src/main/java/com/facebook/reactnative/androidsdk/FBAppEventsLoggerModule.java @@ -310,17 +310,6 @@ public void getAttributionID(Promise promise) { } } - /** - * Sends a request to update the properties for the current user, set by - * setUserID. You must call setUserID before making this call. - * - * @param parameters Key-value pairs representing user properties and their values. - */ - @ReactMethod - public void updateUserProperties(ReadableMap parameters) { - mAppEventLogger.updateUserProperties(Arguments.toBundle(parameters), null); - } - private @Nullable String getNullableString(ReadableMap data, String key) { return data.hasKey(key) ? data.getString(key) : null; } diff --git a/src/FBAppEventsLogger.js b/src/FBAppEventsLogger.js index fa550d3f..ff457309 100644 --- a/src/FBAppEventsLogger.js +++ b/src/FBAppEventsLogger.js @@ -335,17 +335,6 @@ module.exports = { return await AppEventsLogger.getAttributionID(); }, - /** - * Sends a request to update the properties for the current user, set by - * setUserID. You must call setUserID before making this call. - */ - updateUserProperties(parameters: Params) { - if (Platform.OS === 'ios') { - return; - } - AppEventsLogger.updateUserProperties(parameters); - }, - /** * Set additional data about the user to increase chances of matching a Facebook user. */ diff --git a/types/FBAppEventsLogger.d.ts b/types/FBAppEventsLogger.d.ts index 6dee56ff..e6309459 100644 --- a/types/FBAppEventsLogger.d.ts +++ b/types/FBAppEventsLogger.d.ts @@ -183,11 +183,6 @@ export type FBAppEventsLogger = { * @platform android */ getAttributionID(): Promise; - /** - * Sends a request to update the properties for the current user, set by - * setUserID. You must call setUserID before making this call. - */ - updateUserProperties(parameters: Params): void; /** * Set additional data about the user to increase chances of matching a Facebook user. */