Skip to content

Commit 4378f40

Browse files
authored
[NativeModules iOS] Remind people to rebuild
Was running into issues with this line, turned out I was forgetting to rebuild my project! I'm sure there's better ways to word this, too. In general I think it would be nice to mention rebuilding somewhere near the top.
1 parent 1bfeae8 commit 4378f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/native-modules-ios.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RCT_EXPORT_METHOD(addEvent:(NSString *)name location:(NSString *)location)
6262
@end
6363
```
6464

65-
Now, from your JavaScript file you can call the method like this:
65+
Now, from your JavaScript file you can call the method like this (after making sure to rebuild):
6666

6767
```jsx
6868
import {NativeModules} from 'react-native';

0 commit comments

Comments
 (0)