gabrimatic / restart_app

A Flutter plugin that helps you to restart the whole Flutter app with a single function call by using native APIs.
https://pub.dev/packages/restart_app
MIT License
72 stars 63 forks source link

Flutter web hash url strategy # #14

Open RicharC293 opened 1 year ago

RicharC293 commented 1 year ago

How can work in the case of the web using 'hash url strategy'?

I try with Restart.restartApp('#/home'), -> but it not works

With Restart.restartApp('/home'),

The URL reload is

http://localhost:5000/home

then this redirects to

http://localhost:5000/#/ I expected this redirection http://localhost:5000/#/home