General question about usage in react-native
theahmadzai opened this issue · comments
Muhammad Javed commented
I'm planning to use this lib directly in react native without a server of course server for the OAuth and onboarding part but once have the token planning to use it directly from the client-side do you guys recommend this approach and what are the pros and cons of using like that keeping the caching and rate limiting from the square side in mind.
Thanks
Jordan Bergero commented
hi @theahmadzai,
Can you share more about which APIs your app would be using? As for storing the User's access token on the device, we would recommend that your App use the PKCE Oauth flow which we recently released support for.
Muhammad Javed commented
Not using this lib on the frontend anymore