TEST
12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ios/Classes/InAppBrowser/InAppBrowserNavigationController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // InAppBrowserNavigationController.swift 3 | // flutter_inappwebview 4 | // 5 | // Created by Lorenzo Pichilli on 14/02/21. 6 | // 7 | 8 | import Foundation 9 | 10 | public class InAppBrowserNavigationController: UINavigationController { 11 | var tmpWindow: UIWindow? 12 | 13 | deinit { 14 | print("InAppBrowserNavigationController - dealloc") 15 | tmpWindow?.windowLevel = UIWindow.Level(rawValue: 0.0) 16 | tmpWindow = nil 17 | UIApplication.shared.delegate?.window??.makeKeyAndVisible() 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | repositories { 3 | google() 4 | jcenter() 5 | } 6 | 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:4.0.1' 9 | } 10 | } 11 | 12 | allprojects { 13 | repositories { 14 | google() 15 | jcenter() 16 | } 17 | } 18 | 19 | rootProject.buildDir = '../build' 20 | subprojects { 21 | project.buildDir = "${rootProject.buildDir}/${project.name}" 22 | } 23 | subprojects { 24 | project.evaluationDependsOn(':app') 25 | } 26 | 27 | task clean(type: Delete) { 28 | delete rootProject.buildDir 29 | } 30 | -------------------------------------------------------------------------------- /example/test_assets/in_app_webview_on_console_message_test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |