Firebase Dynamic Link Classes not getting recognized in androidstudio

Viewed 2271

enter image description hereWhy Firebase dynamic link could not be made , i just don't get the reason behind dynamic link not being detected .It says that what i will need to do is put the library 11.0.4 of firebase invites in gradle. But that is also not working since my android studio fails to recognize the following library. So i don't get the reason behind the bull-bulkshit done by Google Firebase.

DynamicLink dynamicLink = FirebaseDynamicLinks.getInstance().createDynamicLink()
    .setLink(Uri.parse("https://example.com/"))
    .setDynamicLinkDomain("abc123.app.goo.gl")
    // Open links with this app on Android
    .setAndroidParameters(new DynamicLink.AndroidParameters.Builder().build())
    // Open links with com.example.ios on iOS
    .setIosParameters(new DynamicLink.IosParameters.Builder("com.example.ios").build())
    .buildDynamicLink();

This is my gradle dependencies

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:25.3.1'

    compile 'com.google.firebase:firebase-core:10.2.1'
    compile 'com.google.firebase:firebase-auth:10.2.1'
    compile 'com.google.firebase:firebase-invites:10.2.1'
    testCompile 'junit:junit:4.12'
}


apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.android.application'

If anyone could help with that? Then please help with the fact that How to use Firebase Invite Api Sending intent with the other applications instead of being bounded by only Email and sms service?

1 Answers
Related