3 ms·
Same here, it’s something I wish Capacitor supported. Last year I experimented with using NativeScript in a Capacior app to open native modals with a second we
by samwillis 5y ago
Same here, it’s something I wish Capacitor supported.
Last year I experimented with using NativeScript in a Capacior app to open native modals with a second webview. Since then Ionic have released “Capacitor Portals” which brings all the native apis available within the Capacitor webview to native apps, effectively allowing you to embed capacitor views in another app. I wander if there is the potential to combine the two to get the native view transitions.
Edit:
Just to elaborate a little further on my experiment. Effectively what you ended up with was the two webviews being able to communicate with each other as though you had used the window.open or frames JavaScript api in the browser.