@amplytools/react-native-amply-sdk 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -106,6 +106,26 @@ export interface Spec extends TurboModule {
106
106
  * @returns The current log level as a string
107
107
  */
108
108
  getLogLevel(): string;
109
+ /**
110
+ * Set one or more custom properties. Values can be string, number, or boolean.
111
+ * @param properties Key-value map of properties to set
112
+ */
113
+ setCustomProperties(properties: JsonMap): void;
114
+ /**
115
+ * Get a custom property value by key.
116
+ * @param key The property key
117
+ * @returns A map containing the value, or an empty map if not found
118
+ */
119
+ getCustomProperty(key: string): Promise<JsonMap>;
120
+ /**
121
+ * Remove a custom property by key.
122
+ * @param key The property key to remove
123
+ */
124
+ removeCustomProperty(key: string): void;
125
+ /**
126
+ * Remove all custom properties.
127
+ */
128
+ clearCustomProperties(): void;
109
129
  readonly onSystemEvent: EventEmitter<SystemEventPayload>;
110
130
  readonly onDeepLink: EventEmitter<DeepLinkEvent>;
111
131
  addListener(eventName: string): void;