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

SC.connect is opening Android native app, and make the authentication impossible on Android #64

Open
ludovicthomas opened this issue Jun 15, 2016 · 1 comment

Comments

@ludovicthomas
Copy link

On Android, the native app is registered to https://soundcloud.com and https://m.soundcloud.com.
When the SC.connect call try to open the https://soundcloud.com/connect?... page, it's automatically redirected to the native SC app, that failed with a message indicating : "A problem occurs with this URL".

If you try the sample flow from "Try out the Client-side auth flow" button of the API doc https://developers.soundcloud.com/docs/api/guide#authentication, you will see the behavior.
You need an Android phone with Android version 6, with SoundCloud app installed (logged in or not).

Would it be possible to either add path to the Android intent to avoid capturing the /connect? path, or to give use a new URL like connect.soundcloud.com that will not be managed by the mobile app?

Thanks

@4myle
Copy link

4myle commented Jul 11, 2016

Having the same problem with my web app (Soundcloud Unfollow). There is a post on StackOverflow that seems to address a similar problem on iOS. It suggest a solution to prevent the SC app from launching through the use of an iframe in a modal window. I would rather see this problem getting solved in the SDK, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants