Our React Native SDK provides a
RatioComponentcomponent that requires a few parameters (listed below). This component allows for a few customizations so that it can be placed anywhere within your app.
RatioComponenttakes a child view that is wrapped using a
<TouchableOpacity/>component. This means that whatever view is passed into the
RatioComponentwill be clickable. Our suggestion is to use the view as a custom "button" to allow users access Ratio services.
To use the SDK you must first acquire a
clientSecretfrom the Ratio team. Learn how to request API keys here.
Ratio will provide an API that you will be required to wrap in your own back end (see example below)