We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8819d6c commit ddfd0ebCopy full SHA for ddfd0eb
packages/react-native/local-cli/generator-macos/templates/macos/HelloWorld-macOS/AppDelegate.mm
@@ -1,6 +1,7 @@
1
#import "AppDelegate.h"
2
3
#import <React/RCTBundleURLProvider.h>
4
+#import <ReactAppDependencyProvider/RCTAppDependencyProvider.h>
5
6
@implementation AppDelegate
7
@@ -10,7 +11,8 @@ - (void)applicationDidFinishLaunching:(NSNotification *)notification
10
11
// You can add your custom initial props in the dictionary below.
12
// They will be passed down to the ViewController used by React Native.
13
self.initialProps = @{};
-
14
+ self.dependencyProvider = [RCTAppDependencyProvider new];
15
+
16
return [super applicationDidFinishLaunching:notification];
17
}
18
0 commit comments