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

Feature/linking speaker twitter #19

Conversation

simonedavico
Copy link
Collaborator

This pull request removes the WebView in the speaker detail screen, and replaces it with a twitter icon in the header that can be tapped to be brought to the speaker's twitter profile.

The icon appears only if the speaker actually has a twitter handle.
The implementation leverages the Linking API to open https://twitter.com/${speaker.twitter}.

On Android, both the browser and the native twitter apps can handle such links, and the user can specify with which app to handle the linking (tested).

Testing on the iOS simulator opens the twitter profile in Safari. I am not sure what would happen if there was the native Twitter app installed. @BalestraPatrick, could you check?
If it opens the browser anyway, we could modify profile links on iOS to use the twitter://schema.

This PR closes #17 and #12.

@BalestraPatrick
Copy link
Owner

I am merging all the PRs in order to make an iOS build and test everything, thanks a lot!

@BalestraPatrick BalestraPatrick merged commit e3df93c into BalestraPatrick:master Mar 18, 2018
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

Successfully merging this pull request may close these issues.

Find better alternative to show tweets in speaker view to avoid double scrolling
2 participants