Unable to connect error showing inside Uber app (SSO login, sdk 0.9.1, Android 6+)
See original GitHub issueHello,
I’m using now SSO auth method and it works fine for android OS 5.x devices. But Uber application auth page showing error ‘Unable to connect’ for android 6+ devices.
Code that I use for login:
com.uber.sdk.android.core.auth.LoginManager uberLoginManager;
...
uberLoginManager.setAuthCodeFlowEnabled(false);
uberLoginManager.login(Activity activity)
To set-up flow I’ve registered app like it was described in the manual: SSO setup manual
Previously I’ve worked with android sdk com.uber.sdk.android.core.auth.LoginManager#loginForAuthorizationCode method and saw similar issue on similar devices.
Library version: com.uber.sdk:rides-android:0.9.1
Repro steps, stacktrace, screenshots:
- Make sure that you have installed Uber application on the device
- Register app on developer.uber.com/dashboard page (setup redirect page and App Signature)
- Check out the latest login sample code
- Change application uber credentials
- Use White or Black Uber sign-in buttons
Expected Behavior:
- User should see accept scopes page without errors.
Actual Result:
- ‘Unable to connect’ error
When user clicks ‘OK’ on the pop-up, I see error ‘connectivity issue’ inside my application:
04-12 19:13:40.834 6924-6924/ D/LoginActivity: onActivityResult requestCode:[1001] resultCode [0]
04-12 19:13:40.834 6924-6924/ E/UberUtil$LoginCallback: onLoginError, name = CONNECTIVITY_ISSUE
Devices, used for test:
- Samsung Galaxy S6, SM-920F, Android 6.0.1
- Samsung Galaxy S7, sm-g930f, Android 6.0.1
- HTC Nexus 9, Android 7.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Unable to load error on Android device - Uber Help
Click “LOG-OUT,” this should then show you the login page where you can enter your username and password. Force quit the Uber Eats...
Read more >Problems downloading the app (Android) | Driving & Delivering
Problems downloading the app (Android). If you're having trouble downloading the application on your Android, go to t.uber.com/and.
Read more >Single Sign On (SSO) - Developers | Uber
In case the user is not logged into the Uber app, a login screen will appear first. After approving the authentication request, the...
Read more >Android - Developers | Uber
Native Login with Uber (SSO). The Uber SDK allows for three login flows: Implicit Grant (local web view), Single Sign On with the...
Read more >Uber SDK Authorization , when tap on login button
Please following the official link which is based on Uber SDK 0.8 where the latest one has the issue which is 0.10. Please...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@luckcoolla I have struggled with similar issue for a week and eventually I managed to get it working. The issue was with app signature. Make sure that you use correct signature.
Try the following:
I have used these values for placeholders
if it asks for keytore password, should enter ‘android’ without the quotes.
Reference:
@tyvsmith any updates here?