The utils.ios.openFile method returns a boolean value, but it returns much faster than iOS opens the file. This leaves the UI feeling unresponsive, with no easy way to add an ActivityIndicator.
I added one w/ a timer (for like 2000ms), but that just seems hacky (and I’ve actually run into a UI glitch w/ previously unvisited TabView tabs trying this).
There needs to be some way for me to hook into an event for either when the preview window opens or closes, but I’m just not sure how to go about doing that.
(I’m using the Angular version of NativeScript, in case that matters with this issue.)