Recherches récentes


Pas de recherche récente

I can't open MessagingActivity in different process.



Publication le 04 avr. 2022

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 commentaire

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


Se connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication