-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expo Compatibility #11
Comments
Would also be very interested in this as I'm trying to integrate SumSub into an Expo app as well. |
@0mitch did you managed to do it? is it possible? |
I am also interested in the solution, if there is one. |
It can be done, but it might be a little tricky. For web, you can follow this guide: For native, you can follow this guide: For usage of the camera, microphone, photo library, and geolocation, you can use plugins like Here’s some example: {
"plugins": [
[
"expo-build-properties",
{
"android": {
"extraMavenRepos": [
{
"url": "https://maven.sumsub.com/repository/maven-public/"
}
]
},
"ios": {
"extraPods": [
{
"source": "https://github.com/SumSubstance/Specs.git",
"name": "IdensicMobileSDK",
"version": "1.32.0"
}
]
}
}
],
[
"expo-camera",
{
"cameraPermission": "Allow apps to access your camera",
"microphonePermission": "Allow apps to access your microphone",
"recordAudioAndroid": true
}
]
]
} |
Thanks! I will try this 👍 |
I tried all of this, but I'm getting this error when trying to build with
the step it fails at is anyone else went through the same? |
Anyone figured out something about this topic? |
We ended up redirecting to a web app and then back to mobile app because we couldn't solve this quickly. We're waiting for some solution so we can migrate to the mobile SDK |
Update for Expo SDK 52. For Expo SDK 52, I configured the following in app.json, so you don't need to configure the permissions manually: "plugins": [
[
"expo-build-properties",
{
"android": {
"usesCleartextTraffic": true,
"extraMavenRepos": [
{
"url": "https://maven.sumsub.com/repository/maven-public/"
}
]
},
"ios": {
"extraPods": [
{
"source": "https://github.com/SumSubstance/Specs.git",
"name": "IdensicMobileSDK",
"version": "1.33.1"
}
]
}
}
],
] Hope this helps! |
I created this expo-plugin
|
Hi, any plans to provide expo compatibility out of the box?
Since expo is becoming the to go option nowadays would be good to have something like a config plugin to use with expo
Ref: https://docs.expo.dev/config-plugins/introduction/
Also, are you open source friendly? As could I assign it to myself and open a pr for that?
The text was updated successfully, but these errors were encountered: