Skip to content
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

React-native Onfido SDK: Deprecated API issue #7

Open
trdevendran opened this issue Nov 13, 2019 · 1 comment
Open

React-native Onfido SDK: Deprecated API issue #7

trdevendran opened this issue Nov 13, 2019 · 1 comment
Assignees

Comments

@trdevendran
Copy link

Hi guys, I have perfectly followed your documentation and done the setup but facing an issue while running out with below error,

Android studio throws error as below:

> node_modules/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.java: uses or overrides a deprecated API. Recompile with -Xlint:deprecation for details. Some input files use unchecked or unsafe operations. Recompile with -Xlint:unchecked for details.

Terminal throws error as below:

>FAILURE: Build failed with an exception.
  • What went wrong:
    Execution failed for task ':react-native-onfido-sdk:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

BUILD FAILED in 12s

at checkExecSyncError (child_process.js:629:11)
at execFileSync (child_process.js:647:13)
at runOnAllDevices (App-2.0/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:74:39)
at buildAndRun (App-2.0/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:158:41)
at then.result (App-2.0/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/index.js:125:12)
at process._tickCallback (internal/process/next_tick.js:68:7)
@trdevendran trdevendran changed the title Deprecated API issue React-native Onfido SDK: Deprecated API issue Nov 13, 2019
@AndriiChubariev
Copy link

AndriiChubariev commented Feb 24, 2020

Hey guys, it would be super helpful if you could upload a new example with the latest react native (0.61 at this point) and the latest onfido sdk.

The existing example is totally broken and outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants