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

Allowed to open links in webview and external browser. #143

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

NiladriPadhy
Copy link

xmlns:htmlLabel="clr-namespace:LabelHtml.Forms.Plugin.Abstractions;assembly=HtmlLabel.Forms.Plugin"
<htmlLabel:HtmlLabel

                                            LineBreakMode="WordWrap"
                                            IsExternalBrowser="False"
                                            LinkClickEvent="HtmlLabel_LinkClickEvent"
                                            MaxLines="50"
                                            Style="{StaticResource MediumLabelRegularStyle}"
                                            Text="{Binding AnnouncementText, Converter={StaticResource htmlConverter}}"
                                            TextColor="{DynamicResource AnnouncementTextColor}"
                                            BrowserLaunchOptions="{Binding BrowserLaunchOptions}"
                                            VerticalOptions="StartAndExpand"/>

@NiladriPadhy
Copy link
Author

NiladriPadhy commented Dec 6, 2022

@matteobortolazzo I have removed all the code indents. Please review the changes.
After reviewing the code if you found a better way to open the tapped links inside weview, then please modify accordingly.

As per my requirement, I have to open the tapped urls in webviews. Because the urls requires session cookie to authenticate and I am injecting the session cookie into webview while loading. Due to this reason I can't open external browser.

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.

None yet

1 participant