react-native-app-tour icon indicating copy to clipboard operation
react-native-app-tour copied to clipboard

null is not an object RNAppTour.show Sequence

Open prateekchitransh1907 opened this issue 4 years ago • 6 comments

RNAppTour.ShowSequence shows error on runtime. The AppTour does not launch

componentDidMount() { setTimeout(() => { let appTourSequence = new AppTourSequence(); this.appTourTargets.forEach((appTourTarget) => { appTourSequence.add(appTourTarget); }); AppTour.ShowSequence(appTourSequence); }, 1000); }

Config used in app :

"dependencies": { "react": "16.13.1", "react-native": "0.63.2", "react-native-app-tour": "^1.0.3" }

Screenshot 2020-08-19 at 11 25 09 PM

prateekchitransh1907 avatar Aug 21 '20 04:08 prateekchitransh1907

Hi, have you found the solution? I have the same problem

annaostapenko22 avatar Oct 26 '20 21:10 annaostapenko22

There was an issue in my pod file. I was using use_frameworks! in my podfile. Once I removed it and did pod install it started working for me.

prateekchitransh1907 avatar Oct 30 '20 11:10 prateekchitransh1907

How did you link the framework MaterialShowcase then? Did you create the folder RNAppTour and drug Pod.xcodepoject from node-modules/react-native-app-tour/ios?

annaostapenko22 avatar Oct 30 '20 16:10 annaostapenko22

@prateekchitransh1907

annaostapenko22 avatar Oct 31 '20 09:10 annaostapenko22

Hi,

Is this module still maintained ? I'm facing the same issue using RN 63 with expo 39 on Android and I cannot find any solution.

TypeError: null is not an object (evaluating 'RNAppTour.ShowSequence')

I haven't found any alternatives to this module which seems very nice by the way. Can someone help to figure out what is the problem ?

bouchezb avatar Nov 20 '20 13:11 bouchezb

in case someone looking for solution. React native version 0.63.3 need to remove

  1. pod 'RNAppTour', :path => '../node_modules/react-native-app-tour/ios' from your pod file.
  2. Run pod install for me it worked @bouchezb @prateekchitransh1907 @annaostapenko22

rahul-yadav1 avatar Jun 20 '22 13:06 rahul-yadav1