I am using this package to integrate google calendar into one of my project and when I call ApiCalendar.handleAuthClick() and try to see the response it gives me undefined.
Here is the code I am doing right now:
ApiCalendar.handleAuthClick().then((response) => { console.log(response); })
Seems like it does not send promise as a response if that is the case then how can I get the access token?
I am using this package to integrate google calendar into one of my project and when I call
ApiCalendar.handleAuthClick()
and try to see the response it gives me undefined.Here is the code I am doing right now:
ApiCalendar.handleAuthClick().then((response) => { console.log(response); })
Seems like it does not send promise as a response if that is the case then how can I get the access token?