Skip to content

Commit 746cf13

Browse files
authored
Updated IID API docs (#172)
* Updated IID API docs * Fixed case
1 parent 64bf7fb commit 746cf13

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

iid/iid.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,12 @@ func NewClient(ctx context.Context, c *internal.InstanceIDConfig) (*Client, erro
131131
}, nil
132132
}
133133

134-
// DeleteInstanceID deletes an instance ID from Firebase.
134+
// DeleteInstanceID deletes the specified instance ID and the associated data from Firebase..
135135
//
136-
// This can be used to delete an instance ID and associated user data from a Firebase project,
137-
// pursuant to the General Data protection Regulation (GDPR).
136+
// Note that Google Analytics for Firebase uses its own form of Instance ID to keep track of
137+
// analytics data. Therefore deleting a regular instance ID does not delete Analytics data.
138+
// See https://firebase.google.com/support/privacy/manage-iids#delete_an_instance_id for
139+
// more information.
138140
func (c *Client) DeleteInstanceID(ctx context.Context, iid string) error {
139141
if iid == "" {
140142
return errors.New("instance id must not be empty")

0 commit comments

Comments
 (0)