Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hzlgit authored Apr 26, 2019
1 parent 1e1ca2b commit d759caa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public class MainActivity extends ReactActivity {
...
import com.netease.im.RNNeteaseImPackage;
import com.netease.im.IMApplication;
import com.netease.nimlib.sdk.mixpush.MixPushConfig;
import com.netease.im.ImPushConfig;

public class MainApplication extends Application implements ReactApplication {

Expand All @@ -104,7 +104,7 @@ public class MainApplication extends Application implements ReactApplication {
public void onCreate() {
// IMApplication.setDebugAble(BuildConfig.DEBUG);
// 推送配置,没有可传null
MixPushConfig config = new MixPushConfig();
ImPushConfig config = new ImPushConfig();
// 小米证书配置,没有可不填
config.xmAppId = "";
config.xmAppKey = "";
Expand Down

0 comments on commit d759caa

Please sign in to comment.