{
"expo": {
"name": "TestApp",
"slug": "TestApp",
"scheme": "testpp",
"privacy": "public",
"orientation": "portrait",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"notification": {
"icon": "./assets/icon.png",
"color": "#1f1f1f"
},
"ios": {
"bundleIdentifier": "com.ilyaux.testapp",
"buildNumber": "0.0.1"
},
"android": {
"package": "com.ilyaux.testapp"
},
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#B65EFF"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
]
}
}
this.props.navigation.push(HOMEPAGE,{
index: index
})
setInterval(() => {
this.ActiveSlide()
}, 1000);
async ActiveSlide() {
let value = await this.props.navigation.getParam("index");
if (value !== undefined) {
this.setState({
activeSlide: value
});
this.props.navigation.state.params.index = undefined;
}
}
_GoHome = async ( ) => {
this.props.navigation.navigate(HOMEPAGE);
};
if (ActiveSlide !== null){
this.setState({
activeSlide: ActiveSlide
})
}else{
this.setState({
activeSlide: 0
})
}