File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public class MainActivity extends ReactActivity {
7777...
7878import com.netease.im.RNNeteaseImPackage ;
7979import com.netease.im.IMApplication ;
80- import com.netease.nimlib.sdk.mixpush.MixPushConfig ;
80+ import com.netease.im.ImPushConfig ;
8181
8282public class MainApplication extends Application implements ReactApplication {
8383
@@ -104,7 +104,7 @@ public class MainApplication extends Application implements ReactApplication {
104104 public void onCreate () {
105105 // IMApplication.setDebugAble(BuildConfig.DEBUG);
106106 // 推送配置,没有可传null
107- MixPushConfig config = new MixPushConfig ();
107+ ImPushConfig config = new ImPushConfig ();
108108 // 小米证书配置,没有可不填
109109 config. xmAppId = " " ;
110110 config. xmAppKey = " " ;
You can’t perform that action at this time.
0 commit comments