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 {
77
77
...
78
78
import com.netease.im.RNNeteaseImPackage ;
79
79
import com.netease.im.IMApplication ;
80
- import com.netease.nimlib.sdk.mixpush.MixPushConfig ;
80
+ import com.netease.im.ImPushConfig ;
81
81
82
82
public class MainApplication extends Application implements ReactApplication {
83
83
@@ -104,7 +104,7 @@ public class MainApplication extends Application implements ReactApplication {
104
104
public void onCreate () {
105
105
// IMApplication.setDebugAble(BuildConfig.DEBUG);
106
106
// 推送配置,没有可传null
107
- MixPushConfig config = new MixPushConfig ();
107
+ ImPushConfig config = new ImPushConfig ();
108
108
// 小米证书配置,没有可不填
109
109
config. xmAppId = " " ;
110
110
config. xmAppKey = " " ;
You can’t perform that action at this time.
0 commit comments