mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 07:10:36 +08:00
fix RCTLogexample in readme (#884)
This commit is contained in:
committed by
Sergey Akhalkov
parent
826568637d
commit
f44086bc33
@@ -456,7 +456,7 @@ Additionally, you can also use any of the platform-specific tools to view the Co
|
||||
|
||||
Note that by default, React Native logs are disabled on iOS in release builds, so if you want to view them in a release build, you need to make the following changes to your `AppDelegate.m` file:
|
||||
|
||||
1. Add an `#import "RCTLog.h"` statement
|
||||
1. Add an `#import <React/RCTLog.h>` statement. For RN < v0.40 use: `#import "RCTLog.h"`
|
||||
|
||||
2. Add the following statement to the top of your `application:didFinishLaunchingWithOptions` method:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user