Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Android biometric

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #24294

    Marek

    HI All

    We are trying to use Android Biometric to log into an application.

    For this Google recommends using androidx and dropping support for android.support

    There is bug associated with this problem

    https://bugreports.qt.io/browse/QTBUG-73904

    Also here is another description of the problem

    https://stackoverflow.com/questions/55217992/manifest-merger-failed-attribute-applicationappcomponentfactory-androidx

    If we simply add AndroidX to build.gradle then there is conflict with older libs.

    To make it work with Felgo (previous release tied to Qt 5.13.2) we are manually changing gradle.properties in android-build directory but according

    to this info:

    are defined in gradle.properties file. This file is

    * updated by QtCreator and androiddeployqt tools.

    * Changing them manually might break the compilation!’

    This file is overwritten each time we clean project.

    When I tested clean project with current Felgo (5.15.2) and I generated templates from Qt Creator (tab: project) I had gradle.properties visible in Qt Creator but I wasn’t able to compile the project – ended with java error when building the package

    Is there support with current Felgo/Qt for AndroidX ?

    Or a roadmap to support this in next release ?

    When I create a new project now with current Felgo (5.15.2) there is no AndroidX reference in build.gradle

    Or maybe some “hack” to prevent gradle.properties being overwritten each time I clear project ?

    Best Regards

    Marek

    #24296

    Alex
    Felgo Team

    Hi Marek,

    the next Felgo version will already include AndroidX packages, so there will be some adaptions and support for Jetifier to resolve dependency issues. This will allow easier integration of AndroidX packages.

    Did you already check for Qt resources, or ask in the Qt forums, whether it is possible to add custom gradle.properties? This should then also work with Felgo, as the basic buildchain does not differ heavily from Qt.

    Best,
    Alex

    #24297

    Marek

    Hi Alex

    To be honest I’m trying to do this right now. I have added gradle.properties to android dir (where build.gradle is) and added to the project, but getting different errors 😉 last one is

    > Android dependency 'androidx.legacy:legacy-support-core-ui' has different version for the compile (1.0.0) and runtime (1.0.0-rc01) classpath. You should manually set the same version via DependencyResolution

    Can you just tell me which gradle is recommended ?

    classpath 'com.android.tools.build:gradle:3.2.1'

    I’m trying 3.2.1 3.3.1 3.6.0

    Best,

    Marek

    #24302

    Alex
    Felgo Team

    Hi Marek,

    you can try gradle 3.3.3 and make sure that Jetifier and AndroidX are enabled. If you need this feature very urgent, please reach out to us at support@felgo.com and we can discuss preparing a PoC or custom Felgo build for you to use the AndroidX biometric package.

    Else, I would recommend to wait for the next Felgo update.

    Best,
    Alex

    #24313

    Marek

    Hi Alex

    Sorry for late reply, I made it work with gradle 3.6.0

    Waiting for next Felgo release

    Best Regards

    Marek

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded