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

Navigation delegate, Navigation decision #134

Closed
patel0712 opened this issue Aug 11, 2024 · 8 comments
Closed

Navigation delegate, Navigation decision #134

patel0712 opened this issue Aug 11, 2024 · 8 comments

Comments

@patel0712
Copy link

Hello webview_cef team,

Hope you will thik about it,
i'm using webview_cef package for my desktop linux app and it works very good
but there's one feature that is not available or possibly i'm not aware about it if it's exists

in my app i want controlled url navigation like webview_flutter plugin has
so please help me with this team.

because the webview_cef is quite good i'm not want to replace it if i can add NavigationDecision and NavigationDelegaet like logic in package.

please reply me.

Thank You.

@patel0712 patel0712 changed the title Navigation delegaet, Navigation decision Navigation delegate, Navigation decision Aug 11, 2024
@SinyimZhi
Copy link
Collaborator

I understand the function you mentioned, and CEF itself should be able to support it, but it needs to be connected to the relevant logic on the DART side. This may be the same thing mentioned in another issue #127, and it is very informative. Perhaps we can directly use the dart side code of flutterw_webview.

@patel0712
Copy link
Author

Thank you for your response
So can you please tell me when this will added to package and published?
Or can you guide me to way you mentioned above , because I'm new to this

@SinyimZhi
Copy link
Collaborator

I haven't started developing this feature yet, I may not have time to start until the end of the month. There is a preliminary idea that all URLs actively loaded by users will be fully implemented on the DART side. flutter_webview‘s code can be reused basically. Just add the corresponding interface associations in webview.dart and webview_manager.dart. On the C++side, it may be necessary to add some restrictions on page redirection in Class WebviewHandler and WebviewApp.

@SinyimZhi
Copy link
Collaborator

Could you push the code to your own Fork and make a pull request? If you want to join us make this project better.

@patel0712
Copy link
Author

Sure I have done and its working

@patel0712
Copy link
Author

Also can we talk to any other medium like whatssapp or any other so I can receive and see response if need your guidance?

@patel0712
Copy link
Author

patel0712 commented Sep 1, 2024

Hey , @SinyimZhi @hlwhl @uppet

Can you please see pull request #139 and changes I have done in code for url interception but it's not work as expected in some cases so an you guide me to do that?

@patel0712
Copy link
Author

Hey bro can you please tell me that when you will complete implementing NavigationDelegate like feature in package I try but it's not working as expected.

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

No branches or pull requests

2 participants