Installation
Reclaim Protocol's Capacitor SDK
Prerequisites
- A Reclaim account where you've created an app and have the app id, app secret.
- A provider id that you've added to your app in Reclaim Devtools.
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 runtime routing issue on iOS
This library uses a golang static library. Use of this has raised an issue in capacitor's swift router, causing the app to crash on startup with error message: Error: The file "public" couldn't be opened.

There are open issues on both capacitor and golang's issue tracker to dicuss this problem:
A simple workaround is available to fix this issue and requires a custom view controller to be used in ios.
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.