Installation
This SDK allows Reclaim Protocol to be triggered from your app, without changing context.
Note:
- This SDK may not be compatible with React Native Frameworks like Expo.
- To learn more about React Native apps without a framework, refer to the React Native documentation.
Example
- See the Reclaim Example - React Native for a complete example of how to use the SDK in a React Native application.
Get an API Key
Setup your project using the Get API Key guide.
Installation
Alternative: Install from git source
Setup
Android Setup
Add the following to your android/app/src/main/AndroidManifest.xml
file under the <application>
tag:
add the following to the end of settings.gradle:
(Ignore if already added in settings.gradle
from above)
or alternatively add the following repositories to the relevant repositories block:
iOS Setup
- Make sure to have a platform declaration for your project in your
Podfile
with version 13.0 or higher.
Ignore if you already have this declaration in your Podfile
.
- Add the following to your
Podfile
to override SDK dependency:
- This step is only required when facing issues with the resolved pod dependency.
- You can override the version of dependency when you wish to use a specific version of the SDK.
- You can add a declaration in your
Podfile
to install the SDK from cocoapods, or from a specific git tag, head, commit, or branch.
- After adding the dependency, your podfile may look like this:
- Run
pod install
inside theios/
directory of your project.
Fixing performance issues on IOS physical devices
Your app performance will be severely impacted when you run debug executable on a physical device. Fixing this requires a simple change in your Xcode project xcscheme.
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT