-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
if NSClassFromString("AFURLSessionManager") != nil { let classes = InstrumentationUtils.objc_getClassList() classes.forEach { if let method = class_getInstanceMethod($0, NSSelectorFromString("af_resume")) { methodsToSwizzle.append(method) } } }
With this hook code, UserDefaults.standard.setValue("Test", forKey: "Test") will only take effect in the current startup and will be restored next time。But I didn't reproduce it in the demo。
Can you provide a switch to turn off this logic so that we don't monitor AFN?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested