Closed AlejandroBM-Dev closed 3 months ago
Hello, Can you please confirm if you executed these instructions to fetch maven password to pull the artifacts for azure-ai-vision-faceanalyzer ? https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/GET_FACE_ARTIFACTS_ACCESS.md
Thanks.
Yes @diljale, indeed, the credentials I use are the same ones I have for two other projects that I have as face liveness demos. However, these are in native Android.
It seems that the access token is expired, can you re-generate new one ? Could not GET 'https://pkgs.dev.azure.com/msface/SDK/_packaging/AzureAIVision/maven/v1/com/azure/ai/azure-ai-vision-faceanalyzer/0.16.2-beta.2/azure-ai-vision-faceanalyzer-0.16.2-beta.2.pom'. Received status code 401 from server: Unauthorized
I have checked and updated the access token. Everything is now compiling correctly. Thank you! @diljale
I have a question: When creating my APK for distribution, could it be affected by the token's lifetime? For instance, if the face liveness functionality stops working, would I need to create a new token for it to continue functioning?
Hello, The maven access token is needed to compile the application, it is not needed for runtime. So once you create the APK, you don't need access token.
There is different "session" tokens which are needed to for each session during runtime, those are created at runtime to run a Liveness session.
Thanks.
I create a package to integrate it: https://pub.dev/packages/liveness_azure_flutter
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
:: FLUTTER:: android/app/build.gradle
:: FLUTTER:: android/build.gradle