yarikpwnzer / react-native-survey-monkey

React Native lib for Survey Monkey
22 stars 17 forks source link

Android React-native bridging issue using native module #9

Closed punittttt closed 3 years ago

punittttt commented 3 years ago

Hi @yarikpwnzer @rMozes. Great job with the survey - monkey react-native library. Although when i tried to integrate it with my react-native project i came up with issues on both the platforms.

ANDROID: First i will discuss the issue i am facing in android. When i bridge the react-native with android native part , using NativeModules.RNSurveyMonkey.presentSurveyMonkey , i can see that the public void presentSurveyMonkey(final String surveyHash, final ReadableMap customVariables, final String scheduleInterceptTitle, final ReadableMap scheduleInterceptParams) method is not getting called in RNSurveyMonkeyModule.java. I am doing exactly as mentioned in the documentation. Please have a look into that issue.

IOS: Talking of IOS, i am using Macbook Pro and when i tried giving the path in the podfile, I am facing issues of what i am attaching screenshots

Screenshot 2021-01-29 at 15 01 16 Screenshot 2021-01-29 at 15 01 35 Screenshot 2021-01-29 at 15 03 56
yarikpwnzer commented 3 years ago

Hi @punittttt try to install library without pods (option B) from documentation.

punittttt commented 3 years ago

Hey, thanks @yarikpwnzer , i got it all working. Thank you for the help

Closing this issue