GithubHelp home page GithubHelp logo

Comments (6)

felipecsl avatar felipecsl commented on August 15, 2024

We use DeepLinkDispatch in an app that has multidex enabled and it works fine. This log output you included doens't seem related to this library specifically, it is an Android log. Do you have any stack trace?

from deeplinkdispatch.

stripathi669 avatar stripathi669 commented on August 15, 2024

Hi. You are correct.

I was using two different scheme in the manifest (two data tags). And the app wasn't opening. There is no Dex Issue.

Is there a way to use multiple scheme instead of just one?

Sorry for opening this false issue. Should I close it or open a new one this the above query.

from deeplinkdispatch.

felipecsl avatar felipecsl commented on August 15, 2024

yeah you can, the sample app does exactly that. Check the AndroidManifest for an example!

from deeplinkdispatch.

felipecsl avatar felipecsl commented on August 15, 2024

https://github.com/airbnb/DeepLinkDispatch/blob/master/sample/src/main/AndroidManifest.xml

from deeplinkdispatch.

stripathi669 avatar stripathi669 commented on August 15, 2024

That is weird. For me somehow, if I mention two scheme, none of them seem to work. App just blinks and exits without any stacktrace.

My manifest looks like this:

       <activity
        android:name="com.airbnb.deeplinkdispatch.DeepLinkActivity"
        android:theme="@android:style/Theme.NoDisplay">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="http" />
            <data android:scheme="fluttr" />
            <!--<data android:scheme="http"-->
                <!--android:host="getfluttr.com"-->
                <!--android:pathPrefix="/flap" />-->
        </intent-filter>
    </activity>

My decorator looks like this:

   @DeepLinks({"fluttr://getfluttr.com/flap/{id}/{slug}/", "http://getfluttr.com/flap/{id}/{slug}"})

Few other observations:

  1. If the app is in the background, It comes to foreground. No relation to dispatched link whatsoever.
  2. If I comment out http, other schema is working just fine
  3. I am running Lollipop 5.0.1

from deeplinkdispatch.

felipecsl avatar felipecsl commented on August 15, 2024

have you tried with the latest snapshot version 1.4.0-SNAPSHOT?

from deeplinkdispatch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.