I am looking to implement Google Picker modal into my product. However, while I was going through the documentation, I came across a page which mentions that the JS libraries are being deprecated.
Here’s an article.
Since google’s official documentation for picker shows the usage of these deprecated libraries, I am confused whether to use the code or not – given they didn’t explicitly mentioned on picker documentation about deprecation.
However, since it’s using below two libraries, it seems it wouldn’t be ideal to follow the picker doc.
<script async defer src="https://apis.google.com/js/api.js" onload="onApiLoad()"></script> <script async defer src="https://accounts.google.com/gsi/client" onload="gisLoaded()"></script>
Please help me understand what alternative approach I can use to implement the picker?
I tried the code from picker documentation and it works fine, however I am concerned if it is ideal to use it.
Jitesh Khuttan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.