This PR attempts to merge your approach (using the google.picker API to prepare views), with my previous solution. I've removed the custom options showUploadView, showUploadFolders etc, and added a single views and features option instead. The problem for me was that the picker always included a DocsUploadView, which isn't needed for me. This allows any view to be provided. However, I acknolwedge that it probably introduces breaking changes into what you are using it for.
Perhaps it could be a 2.0 version? Otherwise, let me know and I'll keep with my own version.
Originally posted by @Jose-cd in https://github.com/Jose-cd/React-google-drive-picker/issues/1#issuecomment-842819134
This PR attempts to merge your approach (using the google.picker API to prepare views), with my previous solution. I've removed the custom options
showUploadView
,showUploadFolders
etc, and added a singleviews
andfeatures
option instead. The problem for me was that the picker always included a DocsUploadView, which isn't needed for me. This allows any view to be provided. However, I acknolwedge that it probably introduces breaking changes into what you are using it for.Perhaps it could be a 2.0 version? Otherwise, let me know and I'll keep with my own version.
It works like this:
Thanks again for your time and effort with this package. :)
Cheers, Damo.