Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

null is not an object RNAppTour.show Sequence #105

Open
prateekchitransh1907 opened this issue Aug 21, 2020 · 6 comments
Open

null is not an object RNAppTour.show Sequence #105

prateekchitransh1907 opened this issue Aug 21, 2020 · 6 comments

Comments

@prateekchitransh1907
Copy link

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

@annaostapenko22
Copy link

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

@prateekchitransh1907
Copy link
Author

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.

@annaostapenko22
Copy link

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
Copy link

@prateekchitransh1907

@bouchezb
Copy link

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 ?

@rahul-yadav1
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants