React Native: Native App Tour Library.This library is a React Native bridge around native app tour libraries. It allows show/guide beautiful tours:
This library is a React Native bridge around native app tour libraries. It allows show/guide beautiful tours:
Android: KeepSafe/TapTargetView
iOS: aromajoin/material-showcase-ios
$ npm install react-native-app-tour --save
$ react-native link react-native-app-tour
Android
build.gradle
buildscript {
repositories {
jcenter()
google()
maven { url "https://jitpack.io" }
...
}
}
allprojects {
repositories {
mavenLocal()
jcenter()
google()
maven { url "https://jitpack.io" }
...
}
}
Note
Android SDK 27 > is supported
iOS
cd ../node_modules/react-native-app-tour/ios && pod install
. If it has error => try pod repo update
then pod install
File not found in iOS
issue while setup, please refer ISSUE - 3 issue which might help you in order to resolve.Android
Trying to resolve view with tag which doesn’t exist or can’t resolve tag. Please add props collapasable: false
to your Viewlet appTourTarget = AppTourView.for(Button, {...native-library-props})
AppTour.ShowFor(appTourTarget)
let appTourSequence = new AppTourSequence()
this.appTourTargets.forEach(appTourTarget => {
appTourSequence.add(appTourTarget)
})
AppTour.ShowSequence(appTourSequence)
General(iOS & Android)
Android
Note:
App Tour Target Properties are same as defined by KeepSafe/TapTargetView & aromajoin/material-showcase-ios
Author: prscX
GitHub: https://github.com/prscX/react-native-app-tour
#react-native #programming