Skip to content

Commit 3bb8a40

Browse files
authored
feat: Add iOS APIs usage list (#8291)
1 parent f031f6f commit 3bb8a40

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"uses": [
3+
"CoreFoundation.CFError:*",
4+
"CoreFoundation.CFNumber:*",
5+
"CoreFoundation.CFRunLoop:*",
6+
7+
"CoreGraphics.*:*",
8+
9+
"CoreText.CTFontManager:*",
10+
11+
"Darwin.C.math:*",
12+
"Darwin.POSIX.sys.socket:*",
13+
14+
"Foundation.*:*",
15+
16+
"MaterialComponents.MDCTabBar:*",
17+
18+
"NativeScriptEmbedder:*",
19+
20+
"Photos.PHImageManager:*",
21+
22+
"QuartzCore.*:*",
23+
24+
"SystemConfiguration.SCNetworkReachability:*",
25+
26+
"UIKit.*:*",
27+
28+
"WebKit.WKNavigationDelegate:*",
29+
"WebKit.WKUserContentController:*",
30+
"WebKit.WKUserScript:*",
31+
"WebKit.WKWebView:*",
32+
"WebKit.WKWebViewConfiguration:*",
33+
34+
"TNSWidgets*:*"
35+
]
36+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"whitelist-plugins-usages": true,
3+
"$comment": "Whitelist native constants used by core modules because {N} webpack's typescript transpiler is configured not to remove them like tsc does",
4+
"whitelist": [
5+
"CoreFoundation.CFStringEncodingExt:kCF*",
6+
"MaterialComponents.MDCTabBarAlignment:*",
7+
"MaterialComponents.MDCTabBarItemAppearance:*",
8+
"Photos.PhotosTypes:*",
9+
"WebKit.WKNavigationAction:*"
10+
],
11+
"blacklist": [
12+
]
13+
}

0 commit comments

Comments
 (0)