Jose-cd / React-google-drive-picker

58 stars 70 forks source link

Add prop for App ID #30

Open nosecreek opened 2 years ago

nosecreek commented 2 years ago

Although the app ID isn't always required, in some cases it is needed. For example, if using the drive.file scope, the picker won't work properly without the App ID. This pull request adds the option to specify the app ID.

wayneschuller commented 1 year ago

Thank you for this pull request!!!!!

Setting the App ID is so important if you want to use drive.file scope.

And drive.file scope is the BEST most minimal scope!

After many hours of frustration this branch saved my project.

Could this pull request please be merged?

I would be happy to write some documentation on this.

As it stands this node package will use drive.readonly scope by default. However if you have pre-obtained a token with only drive.file scope, then it will NOT ask for drive.readonly - which is excellent!