-
Couldn't load subscription status.
- Fork 1k
Open
Labels
os: macosInvolves macOS operating systemsInvolves macOS operating systems
Description
The commit introducing clipboard access uses private APIs for its macOS implementation. This can result in App Review rejection for apps submitted to the Mac App Store. We should try to find another way to do this without using private APIs.
Lines 631 to 638 in 9444582
| objc_msgSend(objc_msgSend(config, "preferences"_sel), | |
| "setValue:forKey:"_sel, | |
| objc_msgSend("NSNumber"_cls, "numberWithBool:"_sel, 1), | |
| "javaScriptCanAccessClipboard"_str); | |
| objc_msgSend(objc_msgSend(config, "preferences"_sel), | |
| "setValue:forKey:"_sel, | |
| objc_msgSend("NSNumber"_cls, "numberWithBool:"_sel, 1), | |
| "DOMPasteAllowed"_str); |
Metadata
Metadata
Assignees
Labels
os: macosInvolves macOS operating systemsInvolves macOS operating systems