react-native-xmpp icon indicating copy to clipboard operation
react-native-xmpp copied to clipboard

[Android] Support for different SASLMechanism

Open HugoMaster opened this issue 8 years ago • 2 comments

Hi, i have encountered some problem on android side. My Servers authenticate with PLAIN SASLMechanism, but library does not support it, and dont use authMethod parameter.

And what i have found SecurityMode is always required, which is not always good. I could do PR for this.

HugoMaster avatar Jul 29 '16 10:07 HugoMaster

Hi @HugoMaster . That sounds awesome. My server is also using plain, and from what I can see, Smack seems to promt for authentication methods.

Please make the PR, it would be a great contribution.

Regarding the security mode - I think a lot of these things should have a seperate config method, where you pass a configuration to the XMPP class. This could also include things like timeout etc.

Froelund avatar Aug 01 '16 04:08 Froelund

@HugoMaster Any news on this? Do you still think SASLMechanism's is an issue in react-native-xmpp/android ?

Froelund avatar Aug 10 '16 08:08 Froelund