stripe-terminal-react-native
stripe-terminal-react-native copied to clipboard
is there a way to work with library without the hook api ?
is there a way to simply work with the api without the hook api like so.
if(!isInitialized){
await initialize()
}
await discoverReaders()
await connectReader(...)
I think the hook api decision was misfortune, as it complicates things .... it would've be so much easier.
thanks.