Skip to content

Commit 9d81775

Browse files
ericlewisfacebook-github-bot
authored andcommitted
Fix RNTester warnings (#23584)
Summary: Part of #22609. This brings the warning count down to 0 for the RNTester target, also adds a fancy new icon! [General] [Fixed] - All RNTester warnings fixed Pull Request resolved: #23584 Differential Revision: D14181197 Pulled By: cpojer fbshipit-source-id: 4377a55cee6a2d87a7926f1c34663b8a070aef88
1 parent d834197 commit 9d81775

14 files changed

+52
-10
lines changed

Libraries/LinkingIOS/RCTLinkingManager.m

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ + (BOOL)application:(UIApplication *)app
5656
return YES;
5757
}
5858

59+
// Corresponding api deprecated in iOS 9
5960
+ (BOOL)application:(UIApplication *)application
6061
openURL:(NSURL *)URL
6162
sourceApplication:(NSString *)sourceApplication

RNTester/RNTester/AppDelegate.m

-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ - (BOOL)application:(UIApplication *)app
6161
return [RCTLinkingManager application:app openURL:url options:options];
6262
}
6363

64-
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url
65-
sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
66-
{
67-
return [RCTLinkingManager application:application openURL:url
68-
sourceApplication:sourceApplication annotation:annotation];
69-
}
70-
7164
- (void)loadSourceForBridge:(RCTBridge *)bridge
7265
onProgress:(RCTSourceLoadProgressBlock)onProgress
7366
onComplete:(RCTSourceLoadBlock)loadCallback

RNTester/RNTester/Images.xcassets/AppIcon.appiconset/Contents.json

+51-3
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
{
2626
"size" : "40x40",
2727
"idiom" : "iphone",
28-
"filename" : "[email protected]",
28+
"filename" : "Icon-Small-[email protected]",
2929
"scale" : "2x"
3030
},
3131
{
3232
"size" : "40x40",
3333
"idiom" : "iphone",
34-
"filename" : "[email protected]",
34+
"filename" : "Icon-Small-[email protected]",
3535
"scale" : "3x"
3636
},
3737
{
@@ -47,8 +47,56 @@
4747
"scale" : "3x"
4848
},
4949
{
50-
"idiom" : "ios-marketing",
50+
"idiom" : "ipad",
51+
"size" : "20x20",
52+
"scale" : "1x"
53+
},
54+
{
55+
"idiom" : "ipad",
56+
"size" : "20x20",
57+
"scale" : "2x"
58+
},
59+
{
60+
"idiom" : "ipad",
61+
"size" : "29x29",
62+
"scale" : "1x"
63+
},
64+
{
65+
"idiom" : "ipad",
66+
"size" : "29x29",
67+
"scale" : "2x"
68+
},
69+
{
70+
"idiom" : "ipad",
71+
"size" : "40x40",
72+
"scale" : "1x"
73+
},
74+
{
75+
"idiom" : "ipad",
76+
"size" : "40x40",
77+
"scale" : "2x"
78+
},
79+
{
80+
"idiom" : "ipad",
81+
"size" : "76x76",
82+
"scale" : "1x"
83+
},
84+
{
85+
"size" : "76x76",
86+
"idiom" : "ipad",
87+
"filename" : "[email protected]",
88+
"scale" : "2x"
89+
},
90+
{
91+
"size" : "83.5x83.5",
92+
"idiom" : "ipad",
93+
"filename" : "[email protected]",
94+
"scale" : "2x"
95+
},
96+
{
5197
"size" : "1024x1024",
98+
"idiom" : "ios-marketing",
99+
"filename" : "[email protected]",
52100
"scale" : "1x"
53101
}
54102
],
Binary file not shown.
Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)