TapLinx is not compatible with Firebase Push

Forum / MIFARE SDK / TapLinx is not compatible with Firebase Push

  • 6. January 2017 at 20:20
    I'm trying to use the TapLinx library and Google's Firebase library in the same project for push messaging and crash reporting. But TapLinx seems to import some subset of Google libraries in such way that makes it incompatible with Firebase being imported in the project. Simply adding


    compile 'com.google.firebase:firebase-core:10.0.1'
    compile 'com.google.firebase:firebase-messaging:10.0.1'
    compile 'com.google.firebase:firebase-crash:10.0.1'


    And then trying to read a Mifare Plus card results in the following crash inside TapLinx:


    java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzx;
    at com.google.android.gms.analytics.internal.zzf.zzZ(Unknown Source)
    at com.google.android.gms.analytics.GoogleAnalytics.getInstance(Unknown Source)
    at com.nxp.nfclib.analytics.AnalyticsTracker.ˎ(:35)
    at com.nxp.nfclib.analytics.AnalyticsTracker.sendEvent(:1118)
    at com.nxp.nfclib.plus.iF.read(:892)
    at com.nxp.nfclib.plus.iF.getUID(:1841)
    Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzx" on path


    This is stopping us from supporting FCM push. How can it be fixed?

    Thanks,
    Guilherme
    + 1  |  - 0

    Re: TapLinx is not compatible with Firebase Push

    10. January 2017 at 18:50
    I am having the same problem. Anyone?
    + 1  |  - 0

    Re: TapLinx is not compatible with Firebase Push

    11. January 2017 at 9:15
    Hi Guilherme,

    Yes, TapLinx uses the Google Analytics library. But this should not impair other libraries. Maybe you have to refine the library settings, e.g.: to insert “transitive=true” statement in the Gradle file.

    The TapLinx Team
    + 0  |  - 0

    Re: TapLinx is not compatible with Firebase Push

    11. January 2017 at 14:45
    We are using

    compile('taplinx-android:nxpnfcandroidlib:1.1@aar') { transitive = true }

    It still fails when firebase is added because of conflict.
    + 0  |  - 0

    Re: TapLinx is not compatible with Firebase Push

    16. January 2017 at 9:49
    Hi Guilherme,

    I have forwarded your request to the development team. They will check if any dependency exists.

    The TapLinx Team
    + 0  |  - 0

    Re: TapLinx is not compatible with Firebase Push

    16. January 2017 at 13:07
    Could you provide some ETA? I'm waiting on this, it has been 10 days already.
    + 0  |  - 0
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.