Commit 0c50da96 authored by Riyaz's avatar Riyaz

included the deleteInstanceId method usage in readMe

parent df8b5f30
......@@ -372,6 +372,13 @@ class App extends Component {
my_custom_data_1: 'my_custom_field_value_1',
my_custom_data_2: 'my_custom_field_value_2'
});
FCM.deleteInstanceId().then(()={
//Deleted instance id successfully
//This will reset Instance ID and revokes all tokens.
}).catch(error =>{
//Error while deleting instance id
})
}
}
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment