gemini-api-node icon indicating copy to clipboard operation
gemini-api-node copied to clipboard

Is this not usable with expo and react-native?

Open Ashmawy opened this issue 6 years ago • 1 comments

I guess the package relies on the Node standard library which neither expo nor react-native include. Is there any way around this?

I'm new to the node world in general so any help would be appreciated.

Ashmawy avatar Apr 19 '19 03:04 Ashmawy

Not sure. I haven't looked at this package in a while but just recently decided to refurbish it. I'm working on this branch and expect to be done in the next few days: https://github.com/mjesuele/gemini-api-node/tree/mj/modernize-with-typescript.

I can look into what it would take to run this outside of node, particularly in the browser (I don't use React Native, but I think if it works in the browser it should probably work there, yeah?). The encryption stuff for the private API is likely the biggest hurdle. We'll see.

mjesuele avatar Aug 01 '20 16:08 mjesuele