Skip to content

Instantly share code, notes, and snippets.

View bratelefant's full-sized avatar

Christian Wahle bratelefant

View GitHub Profile
--- 3.0.16-8/ios/project/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m 2022-05-02 14:51:05.000000000 +0200
+++ 3.0.16-8/ios 3.0.16-8 patched/project/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m 2022-05-02 12:30:43.000000000 +0200
@@ -269,8 +269,14 @@
- (void) onAppWillEnterForeground:(NSNotification*)notification {
if ([self shouldReloadWebView]) {
- NSLog(@"%@", @"CDVWebViewEngine reloading!");
- [(WKWebView*)_engineWebView reload];
+ NSLog(@"Vordergrund reload");
+ CDVViewController *vc = (CDVViewController *)self.viewController;
--- 3.0.16-8/ios/project/CordovaLib/Classes/Public/CDVViewController.h 2022-05-02 14:51:05.000000000 +0200
+++ 3.0.16-8/ios 3.0.16-8 patched/project/CordovaLib/Classes/Public/CDVViewController.h 2022-04-30 12:12:03.000000000 +0200
@@ -63,6 +63,10 @@
- (NSString*)appURLScheme;
- (NSURL*)errorURL;
+- (NSString*)appURLScheme;
+- (NSURL*)errorURL;
+- (NSURL*)appUrl;
+