   func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
     ZLog.info("Finished loading webview content")
     retryAttempt = 0
+    loadSuccessful = true
   }
 
   /// Handle errors loading web application


internal class ZapicWebView: WKWebView, UIScrollViewDelegate {

  //  private let appUrl: String = ZapicUtils.appUrl()

  // Current retry attempt number. Resets when load is sucessful
  private var retryAttempt = 0

  private var urlRequest: URLRequest?


  }

  private func retryAfterDelay() {
    
    //Dont retry if the load has been successful
    if loadSuccessful{
      return
    }
    
    let base: Double = 5

    //Max delay (s)
