Closed yanivshaked closed 1 year ago
It would be great!!!
Yes please add support
I just added web support to the restart app package, so it now supports both Android and Web platforms. But, in terms of iOS, I don't have any real plans since, before Flutter, I was an Android developer and, unfortunately, I have no expertise with iOS programming. So, if you have any ideas, please share them with me or submit a fork request so that the package may have complete platform support.
There are no methods available in iOS to restart the app. So the best that can be done on IOS is to re-instantiate root UIViewController.
More info: https://stackoverflow.com/questions/66205648/is-there-any-way-to-restart-my-ios-app-programmatically
I think in iOS you can only crash the app to stop it and you can't start it again
There are no methods available in iOS to restart the app. So the best that can be done on IOS is to re-instantiate root UIViewController.
More info: https://stackoverflow.com/questions/66205648/is-there-any-way-to-restart-my-ios-app-programmatically
I tried this method, and it has a big problem: When I reassign the rootViewController with FlutterViewController, all the Flutter plugins are not available, and they need to register again.
As my research and other developers suggestions, there isn't any working solution for that. I keep this issue open for new ideas
Hi. Is it working on iOS now?
Any progress on this ?
Following, need iOS support
its 2023 and no solution for iOS , has anyone been able to figure it out
@Milimeter, @khang-dev, @hosseinkhojany, @isAlmogK, @zamirszn I appreciate your support and feedback on this package!
Unfortunately, restarting a Flutter app using native APIs in iOS is not supported by the platform. However, you can look at this StackOverflow answer, or if you have a solution, do not hesitate to add it here.
I keep this issue open for new ideas
@Milimeter, @khang-dev, @hosseinkhojany, @isAlmogK, @zamirszn I appreciate your support and feedback on this package!
Unfortunately, restarting a Flutter app using native APIs in iOS is not supported by the platform. However, you can look at this StackOverflow answer, or if you have a solution, do not hesitate to add it here.
I keep this issue open for new ideas
alright , thanks alot
After a very long period, iOS support has now been added to the restart_app package v1.2.0!
Hi,
Do you have any plans to support restart on iOS?
Thanks