feat: Add iOS APIs usage list (#8291)

This commit is contained in:
Martin Bektchiev
2020-01-30 21:31:27 +02:00
committed by GitHub
parent f031f6f2ca
commit 3bb8a40caa
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{
"uses": [
"CoreFoundation.CFError:*",
"CoreFoundation.CFNumber:*",
"CoreFoundation.CFRunLoop:*",
"CoreGraphics.*:*",
"CoreText.CTFontManager:*",
"Darwin.C.math:*",
"Darwin.POSIX.sys.socket:*",
"Foundation.*:*",
"MaterialComponents.MDCTabBar:*",
"NativeScriptEmbedder:*",
"Photos.PHImageManager:*",
"QuartzCore.*:*",
"SystemConfiguration.SCNetworkReachability:*",
"UIKit.*:*",
"WebKit.WKNavigationDelegate:*",
"WebKit.WKUserContentController:*",
"WebKit.WKUserScript:*",
"WebKit.WKWebView:*",
"WebKit.WKWebViewConfiguration:*",
"TNSWidgets*:*"
]
}

View File

@ -0,0 +1,13 @@
{
"whitelist-plugins-usages": true,
"$comment": "Whitelist native constants used by core modules because {N} webpack's typescript transpiler is configured not to remove them like tsc does",
"whitelist": [
"CoreFoundation.CFStringEncodingExt:kCF*",
"MaterialComponents.MDCTabBarAlignment:*",
"MaterialComponents.MDCTabBarItemAppearance:*",
"Photos.PhotosTypes:*",
"WebKit.WKNavigationAction:*"
],
"blacklist": [
]
}