Skip to content

Commit d45fc18

Browse files
fix: an issue with ios implementation
1 parent d878cf5 commit d45fc18

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ios/RNSourcepointCmp.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import React
3737
private static var objcDelegate = CMPDelegateHandler(parent: shared)
3838

3939
var consentManager: SPConsentManager?
40-
weak var delegate: ReactNativeCmpImplDelegate?
40+
var delegate: ReactNativeCmpImplDelegate?
4141

4242
public override init() {
4343
super.init()
@@ -112,7 +112,7 @@ import React
112112

113113

114114
private class CMPDelegateHandler: NSObject, SPDelegate {
115-
weak var parent: ReactNativeCmpImpl?
115+
var parent: ReactNativeCmpImpl?
116116

117117
init(parent: ReactNativeCmpImpl?) {
118118
self.parent = parent

0 commit comments

Comments
 (0)