Skip to content

Commit 384a0a1

Browse files
committed
Fix example app running issue
1 parent b85f6aa commit 384a0a1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

example/ios/ProgressViewExample/AppDelegate.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1717
{
1818
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
1919
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
20-
moduleName:@"RnDiffApp"
20+
moduleName:@"ProgressViewExample"
2121
initialProperties:nil];
2222

2323

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "React Native Progress View iOS Library",
55
"main": "js/index.js",
66
"scripts": {
7-
"start": "node node_modules/react-native/local-cli/cli.js start",
7+
"run:ios": "node node_modules/react-native/local-cli/cli.js run-ios --project-path \"./example/ios\"",
8+
"start": "node node_modules/react-native/local-cli/cli.js start --projectRoot example --watchFolders $PWD",
89
"flow": "flow"
910
},
1011
"peerDependencies": {

0 commit comments

Comments
 (0)