uber / uber/rides-android-sdk

Getting Activity not found exception while doing the ubereats login

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
293
Forks
132
PR merge metrics
No merged PRs in 30d

Description

Getting this error in newrelic, looks like the issue is with uber sdk

can you help in understanding the issue

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=uber://connect?client_id=UREKMAuXXXXXXX-&scope=eats.eater.create_draft_order eats.eater.view_order.XXX&sdk=android&flow_type=DEFAULT&redirect_uri=https://xxxx.xxx.com/account/uber/token&sdk_version=0.10.1 pkg=com.ubercab }
at android.app.Instrumentation.checkStartActivityResult()(Instrumentation.java:1968)
at android.app.Instrumentation.execStartActivity()(Instrumentation.java:1622)
at android.app.Activity.startActivityForResult()(Activity.java:4564)
at android.support.v4.app.BaseFragmentActivityApi16.startActivityForResult()(BaseFragmentActivityApi16.java:54)
at android.support.v4.app.FragmentActivity.startActivityForResult()(FragmentActivity.java:67)
at android.app.Activity.startActivityForResult()(Activity.java:4522)
at android.support.v4.app.FragmentActivity.startActivityForResult()(FragmentActivity.java:720)
at com.uber.sdk.android.core.auth.SsoDeeplink.execute()(SsoDeeplink.java:144)
at com.uber.sdk.android.core.auth.LoginManager.login()(LoginManager.java:190)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the stack trace at com.uber.sdk.android.core.auth.SsoDeeplink.execute() and LoginManager.login(). Inspect how the SDK launches the uber://connect intent and how the com.ubercab package is expected to handle it. Done means confirming the cause of the ActivityNotFoundException in the reported login flow, though the issue does not specify a requested code change.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.