aksonov / react-native-xmpp

XMPP library for React Native (iOS and Android native support)
BSD 2-Clause "Simplified" License
308 stars 98 forks source link

Undifined is not an object (evaluvating RNXMPP.PLAIN) (ios) #100

Open faheemahmad opened 6 years ago

faheemahmad commented 6 years ago

"react-native": "^0.44.0" cocoapod version 1.5.3

i am unable to fix it it is still issue

akshgods commented 6 years ago

+1 same for me

shubham1164 commented 6 years ago

I am getting the same error in Android. I am using the react-native: 0.56.0.

Error: undefined is not an object (evaluating 'RNXMPP.PLAIN')

I have confirmed that linking is done. but still the issue is not resolved. Please help

kangkfly commented 6 years ago

same error for me...

ducle01490 commented 6 years ago

I'm getting same error. please help

ducle01490 commented 6 years ago

My issue has been resolved in iOS. Just open Xcode and import RNXMPP.h to AppDelegate. Then fix all errors. I think there is error in Native code so NativeModules can not be loaded. Please tell me if it works in Android. Thanks

kangkfly commented 6 years ago

I solved it when I removed the use_frameworks! from the podfile

crusshapp commented 5 years ago

Hey guys. Did any one solved this issue ?

khatiburrahman commented 4 years ago

Any update fot Android?