The InstanceId
service enables deleting the Firebase instance IDs associated with Firebase client app instances.
Signature:
export declare class InstanceId
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
app | App | Returns the app associated with this InstanceId instance. The app associated with this InstanceId instance. |
Methods
Method | Modifiers | Description |
---|---|---|
deleteInstanceId(instanceId) | Deletes the specified instance ID and the associated data from Firebase.Note that Google Analytics for Firebase uses its own form of Instance ID to keep track of analytics data. Therefore deleting a Firebase Instance ID does not delete Analytics data. See [Delete an Instance ID](/support/privacy/manage-iids#delete_an_instance_id) for more information. |
InstanceId.app
Returns the app associated with this InstanceId instance.
The app associated with this InstanceId instance.
Signature:
get app(): App;
InstanceId.deleteInstanceId()
Deletes the specified instance ID and the associated data from Firebase.
Note that Google Analytics for Firebase uses its own form of Instance ID to keep track of analytics data. Therefore deleting a Firebase Instance ID does not delete Analytics data. See [Delete an Instance ID](/support/privacy/manage-iids#delete_an_instance_id) for more information.
Signature:
deleteInstanceId(instanceId: string): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
instanceId | string | The instance ID to be deleted. A promise fulfilled when the instance ID is deleted. |
Returns:
Promise<void>