最近搜索


没有最近搜索

I can't open MessagingActivity in different process.



已于 2022年4月04日 发布

MessagingActivity.builder()
                        .withEngines(ChatEngine.engine())
                        .show(context);


I start the MessagingActivity with activity which is not main process , it's mean that My activity has  "android:process= :test " setting in AndroidManifest.xml , is always fail to start it.

But the main process always success.

How can I build MessagingActivity in different process activity?


1

4

4 条评论

      Hi Frank! Is it possible that you have the other instance running at the same time? We don't allow for that, as is outlined here

      0


      It's sorry for my bad English.
      Simply put, I found that we cannot start the MessagingActivity correctly from the Activity is not App default process.

      MessagingActivity.builder()
                              .withEngines(ChatEngine.engine())
                              .show(context);

      It will happen that MessagingActivity cannot find the engine when onCreate.

      0


      Hey Frank,

      Apologies, I'm having a hard time understanding what you're trying to accomplish by building the MessagingActivity in a different process. Would you be able to give us more context on what you're trying to do?

      Thanks!

      0


      We found is fail at 

      List<Engine> engines = messagingConfiguration.getEngines();
      Logger.e("MessagingActivity", "No Engines found in MessagingConfiguration. Please use MessagingActivity.builder()", new Object[0]);

      Is it any solution would help us to get the correct engines from different process activity to start it. thanks.

      0


      登录以发表评论。

      找不到所需的内容?

      新建帖子