Installation
This SDK allows Reclaim Protocol to be triggered from your app, without changing context.
Get an API Key
Setup your project using the Get API Key guide.
Using Expo
Installation
Setup
Expo users can skip the native configuration changes by adding the Reclaim InApp Config Plugin. To do so merge the following code to the plugins section of your app.json
, app.config.js
, or app.config.ts
file:
Note: This module contains custom native code which is NOT supported by Expo Go
If you're using Expo without EAS, run the following commands:
If you're using Expo with EAS, create a new build:
Without using Expo
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