diff --git a/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h b/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h index 134959c38..b67fbba8a 100644 --- a/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h +++ b/ios/CapacitorCordova/CapacitorCordova/Classes/Public/CDVPluginManager.h @@ -15,8 +15,8 @@ @property (nonatomic, strong) NSMutableDictionary * pluginsMap; @property (nonatomic, strong) NSMutableDictionary * pluginObjects; @property (nonatomic, strong) NSMutableDictionary * settings; -@property (nonatomic, strong) UIViewController * viewController; -@property (nonatomic, strong) WKWebView * webView; +@property (nonatomic, weak) UIViewController * viewController; +@property (nonatomic, weak) WKWebView * webView; @property (nonatomic, strong) id commandDelegate; - (id)initWithParser:(CDVConfigParser*)parser viewController:(UIViewController*)viewController webView:(WKWebView *)webview;