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

In ios RNZendesk undefined

Open romreed opened this issue 5 years ago • 6 comments
trafficstars

I install react-native-zendesk like in readme wrote and try RNZendesk.initialize but RNZendesk is undefined. I found

var RNZendesk = react_native_1.NativeModules.RNZendesk;
// MARK: - Initialization
function initialize(config) {
    RNZendesk.initialize(config);
}

return RNZendesk undefined. What i made wrong ?

"react-native": "0.61.5", "react-native-zendesk": "^2.1.0" xcode Version 11.2.1 (11B500)

romreed avatar Dec 28 '19 10:12 romreed

I install react-native-zendesk like in readme wrote and try RNZendesk.initialize but RNZendesk is undefined. I found

var RNZendesk = react_native_1.NativeModules.RNZendesk;
// MARK: - Initialization
function initialize(config) {
    RNZendesk.initialize(config);
}

return RNZendesk undefined. What i made wrong ?

"react-native": "0.61.5", "react-native-zendesk": "^2.1.0" xcode Version 11.2.1 (11B500)

you run pod install?

MariusCatanoiu avatar Jan 23 '20 12:01 MariusCatanoiu

@MariusCatanoiu yes. i think problem was in platform :ios, '9.0'. Min version now 9.3

romreed avatar Jan 23 '20 12:01 romreed

@romreed I have the same error now. But my version is 10.0. Is working for you?

MariusCatanoiu avatar Feb 21 '20 14:02 MariusCatanoiu

@MariusCatanoiu after update platform to 9.3 in pod file issue is gone.

romreed avatar Feb 21 '20 15:02 romreed

@MariusCatanoiu if you need chat try react-native-zendesk-ichat

romreed avatar Feb 21 '20 15:02 romreed

@romreed not really. but Thanks!

MariusCatanoiu avatar Feb 21 '20 15:02 MariusCatanoiu