doordeck / doordeck-sdk-react-native Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hey guys we are just updating our app with React Native 0.67 which uses gradle wrapper 7.2 it looks like Plugin maven was deprecated with gradle 7.
The full stack trace:
FAILURE: Build completed with 2 failures.
Where:
Build file 'C:\Repositories\Passport\node_modules@doordeck\react-native-doordeck-sdk\android\build.gradle' line: 16
What went wrong:
A problem occurred evaluating project ':@doordeck_react-native-doordeck-sdk'.
Plugin with id 'maven' not found.
com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
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.
==============================================================================
Get more help at https://help.gradle.org/
BUILD FAILED in 7s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build completed with 2 failures.
Where:
Build file 'C:\Repositories\Passport\node_modules@doordeck\react-native-doordeck-sdk\android\build.gradle' line: 16
What went wrong:
A problem occurred evaluating project ':@doordeck_react-native-doordeck-sdk'.
Plugin with id 'maven' not found.
com.android.builder.errors.EvalIssueException: compileSdkVersion is not specified. Please add it to build.gradle
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.
==============================================================================
Get more help at https://help.gradle.org/
BUILD FAILED in 7s
at makeError (C:\Repositories\Passport\node_modules\execa\index.js:174:9)
at C:\Repositories\Passport\node_modules\execa\index.js:278:16
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async runOnAllDevices (C:\Repositories\Passport\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
at async Command.handleAction (C:\Repositories\Passport\node_modules\@react-native-community\cli\build\index.js:192:9)
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Hello, I have received this error yesterday and doordeckSdk.showUnlock
doesn't working...
Does anyone know what is the problem?
@marwan87 can you help me. please?
my version: "@doordeck/react-native-doordeck-sdk": "^1.1.5",
Android devices and now newer IOS devices can open apps when the device approaches NFC tags.
In our case we are calling doordeckSdk.initDoordeck(authToken, darkMode, closeButton) after the user logs in. On android, once the device triggers the NFC tag a dropdown should be displayed showing all the apps that support NFC, however the Doordeck SDK seems to skip this altogether, opens our app and displays the following screen:
We see this from adb logcat before the screen appears:
03-29 18:07:11.551 3836 6081 E WindowManager: win=Window{21e0b98 u0 com.*****/com.doordeck.sdk.ui.unlock.UnlockActivity} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.WindowManagerService.tryStartExitingAnimation:2798 com.android.server.wm.WindowManagerService.relayoutWindow:2496 com.android.server.wm.Session.relayoutForTranslate:302 android.view.IWindowSession$Stub.onTransact:518 com.android.server.wm.Session.onTransact:186 android.os.Binder.execTransact:739
Once this screen is dismissed the app is closed.
This is interfering with some of our other NFC functionalities which worked prior to adding this SDK.
Is there anything we should be doing, or is there a way to disable the modal from being run by SDK automatically?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.