34 lines
1.7 KiB
JavaScript
34 lines
1.7 KiB
JavaScript
import styles from './style'
|
|
import React, { Component } from 'react';
|
|
import { Div, StyleSheet, Text, View, ScrollView, Alert, Button, TouchableHighlight, Image, Collapsile } from 'react-native';
|
|
import wifi from 'react-native-android-wifi';
|
|
import MapView from 'react-native-maps';
|
|
import { createStackNavigator } from 'react-navigation';
|
|
import { YellowBox } from 'react-native';
|
|
YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated', 'Module RCTImageLoader']); //Silence Bug in React-Navigation
|
|
import { WebView } from 'react-native';
|
|
|
|
|
|
export default class Information extends React.Component {
|
|
static navigationOptions = {
|
|
title: 'Information',
|
|
};
|
|
render() {
|
|
/* 2. Get the param, provide a fallback value if not available */
|
|
const { navigation } = this.props;
|
|
const itemId = navigation.getParam('itemId', 'NO-ID');
|
|
const dataATT = navigation.getParam('dataATT', 'some default value');
|
|
//console.log('From MapScreen', dataATT.map(us => us.hostname)) //Funktioniert!
|
|
return (
|
|
<ScrollView style={styles.wholeBackground}>
|
|
<View style={styles.infoTextinf}>
|
|
<Text style={{ paddingBottom: 20, fontWeight: 'bold' }}>The App is devided in sections. Here are the sections listed:</Text>
|
|
<Text style={styles.infTextinfC}><Text style={styles.infoTextinfH}>SSID Information:</Text> Returns your SSID, even if you are not connected to a Freifunk Router.</Text>
|
|
<Text style={styles.infTextinfC}><Text style={styles.infoTextinfH}>Node Information:</Text> After status ready you can get Information about your current connection.</Text>
|
|
</View>
|
|
</ScrollView>
|
|
);
|
|
}
|
|
}
|
|
|