in-app-purchase icon indicating copy to clipboard operation
in-app-purchase copied to clipboard

Support for specifying google service account by file path

Open dsullivan7 opened this issue 5 years ago • 1 comments

I would be great to support specifying the service account json by file path rather than explicitly passing in the private key and client email. Something like:

iap.config({
  googleServiceAccount: 'path/to/googlePlayServiceAccount.json',
})

This would avoid having to store the whole private key in an environment variable.

dsullivan7 avatar Jun 11 '19 16:06 dsullivan7

Hello,

Yes. I have been considering this also.

Thank you for the input. I’ll make sure to have a go.

Cheers

voltrue2 avatar Jun 11 '19 23:06 voltrue2