Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When App links are enabled web browser does not appear for non handled links. #1

Closed
kkocel opened this issue Oct 19, 2015 · 0 comments

Comments

@kkocel
Copy link
Contributor

kkocel commented Oct 19, 2015

  1. Android M + App links manually enabled for Slinger Example (example.com)
  2. adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "http: //example.com/meh"
  3. Crash - no Activities can handle this.
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime: FATAL EXCEPTION: main
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime: Process: pl.allegro.android.slinger.sample, PID: 15657
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{pl.allegro.android.slinger.sample/pl.allegro.android.slinger.example.ExampleSlingerActivity}: java.lang.IllegalArgumentException
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.-wrap11(ActivityThread.java)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:102)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.os.Looper.loop(Looper.java:148)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5417)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:  Caused by: java.lang.IllegalArgumentException
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at java.util.AbstractList.subList(AbstractList.java:736)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at pl.allegro.android.slinger.IntentStarter.getIntentList(IntentStarter.java:164)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at pl.allegro.android.slinger.IntentStarter.showChooser(IntentStarter.java:155)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at pl.allegro.android.slinger.IntentStarter.startActivity(IntentStarter.java:142)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at pl.allegro.android.slinger.SlingerActivity.excludeSlingerAndStartTargetActivity(SlingerActivity.java:37)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at pl.allegro.android.slinger.SlingerActivity.onCreate(SlingerActivity.java:27)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:6237)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.-wrap11(ActivityThread.java) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:102) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.os.Looper.loop(Looper.java:148) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:5417) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
10-19 17:10:04.830 15657-15657/pl.allegro.android.slinger.sample E/AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant