Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Navegação #3

Open
wants to merge 63 commits into
base: Integrador2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
d269d2e
Update App.js
gustavosizilio Mar 28, 2018
8f7c7d3
Adicionando arquivo teste
Mar 28, 2018
62bac74
Add files via upload
kairiroberto Apr 6, 2018
2263050
Add files via upload
kairiroberto Apr 6, 2018
702ce1e
Geolocalizacao
joseansouza Apr 6, 2018
38804b6
mapa ifrn
joseansouza Apr 6, 2018
b7d8e82
Geolocation - Roberto e Gabriel
kairiroberto Apr 7, 2018
a27af30
Geolocalização IFRN CN
joseansouza Apr 7, 2018
4016c7c
mapa IFRN Currais Novos
joseansouza Apr 7, 2018
d074428
Arquivo para a exibir a localização
joseansouza Apr 7, 2018
96c12dd
arquivo de exibir a localização
joseansouza Apr 7, 2018
7f9d639
mapa currais novos, arquivo localização
joseansouza Apr 7, 2018
63a449d
Add files via upload
brhen10 Apr 10, 2018
4152117
Add files via upload
kairiroberto Apr 11, 2018
0c597ca
Merge pull request #1 from gustavosizilio/Geolocation2
gustavosizilio Apr 11, 2018
77414e3
Add files via upload
brhen10 Apr 19, 2018
3d608bb
Atualização master local
May 6, 2018
71a565d
Inserção da dependência navigation
May 6, 2018
5252e85
Merge branch 'Integrador2' into master
May 6, 2018
3a2fc44
Correção de bug de navegação
kairiroberto May 7, 2018
0a65735
Update App.js
kairiroberto May 7, 2018
1131ba2
Map Fixes
gustavosizilio May 9, 2018
adafc62
Atualização da posição do aluno/professor
May 11, 2018
86324ba
Delete App.js
kairiroberto May 19, 2018
9821dad
Delete home.js
kairiroberto May 19, 2018
282b6ac
Delete login.js
kairiroberto May 19, 2018
bdf532b
Delete 31818947_202184777172869_4999292720808722432_n.png
kairiroberto May 19, 2018
f6363bd
Delete 31880858_202184683839545_5746873306716307456_n.png
kairiroberto May 19, 2018
be0fbe6
Delete 31890649_202184593839554_2781018786180890624_n.png
kairiroberto May 19, 2018
57348a2
Delete 31914087_202184580506222_6442806236579627008_n.png
kairiroberto May 19, 2018
9fc3840
Delete 31935454_202184460506234_8812549313956675584_n.png
kairiroberto May 19, 2018
1ee9edc
Delete CapturaTela1.JPG
kairiroberto May 19, 2018
209243c
Delete CapturaTela2.JPG
kairiroberto May 19, 2018
841ff6f
Delete App.js
kairiroberto May 19, 2018
dc70202
Add files via upload
kairiroberto May 20, 2018
6949be2
Add files via upload
kairiroberto May 20, 2018
f8a42e2
Add files via upload
kairiroberto May 20, 2018
0a06143
Add files via upload
kairiroberto May 20, 2018
418352a
Add files via upload
giliardemacedo May 23, 2018
e8d6753
Add files via upload
brhen10 May 24, 2018
c99a278
Add files via upload
brhen10 May 24, 2018
3ff0750
Add files via upload
brhen10 May 25, 2018
71d0056
Add files via upload
brhen10 May 25, 2018
42188cb
Add files via upload
joseansouza May 30, 2018
b86cfab
Removendo arquivos compilados do controle de versão
brhen10 Jun 1, 2018
88f7cd7
Update README.md
kairiroberto Jun 8, 2018
a49511a
Update README.md
kairiroberto Jun 8, 2018
00c1ea1
Configuração do firebase
lucasemanuel Jun 8, 2018
c580975
Commit Quebrado da aula do dia 08 de junho
lucasemanuel Jun 8, 2018
6d90ded
Merge branch 'master' of https://github.com/gustavosizilio/SmartIF
lucasemanuel Jun 8, 2018
937169b
atualizando as versões
giliardemacedo Jun 15, 2018
fd9bb7a
Atualizaão
giliardemacedo Jun 20, 2018
6cfdab3
acesso ao firebase
kairiroberto Jun 25, 2018
c98ae67
alterações nas funções gerarMarker e gerarPonto
kairiroberto Jun 26, 2018
2faa82b
alteração nos métodos gerarMarker e gerarPonto - parte 2
kairiroberto Jun 26, 2018
0b8a311
Alteração do código: usando json.map
kairiroberto Jun 27, 2018
49d8ed7
Add files via upload
kairiroberto Jun 27, 2018
47b2129
Add files via upload
kairiroberto Jun 27, 2018
57f7bd3
Add files via upload
kairiroberto Jun 29, 2018
e0637d3
Add files via upload
kairiroberto Jun 29, 2018
b1d3b04
Add files via upload
kairiroberto Jun 29, 2018
bac9d75
Add files via upload
kairiroberto Jun 29, 2018
395aa8f
Add files via upload
kairiroberto Jun 29, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 1 addition & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"presets": ["babel-preset-expo"],
"env": {
"development": {
"plugins": ["transform-react-jsx-source"]
}
}
"presets": ["react-native"]
}
6 changes: 6 additions & 0 deletions .buckconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

[android]
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
57 changes: 18 additions & 39 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,74 +2,53 @@
; We fork some components by platform
.*/*[.]android.js

; Ignore templates for 'react-native init'
<PROJECT_ROOT>/node_modules/react-native/local-cli/templates/.*

; Ignore RN jest
<PROJECT_ROOT>/node_modules/react-native/jest/.*

; Ignore RNTester
<PROJECT_ROOT>/node_modules/react-native/RNTester/.*

; Ignore the website subdir
<PROJECT_ROOT>/node_modules/react-native/website/.*

; Ignore the Dangerfile
<PROJECT_ROOT>/node_modules/react-native/danger/dangerfile.js

; Ignore Fbemitter
<PROJECT_ROOT>/node_modules/fbemitter/.*

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/node_modules/react-native/\.buckd/
<PROJECT_ROOT>/\.buckd/

; Ignore unexpected extra "@providesModule"
.*/node_modules/.*/node_modules/fbjs/.*

; Ignore duplicate module providers
; For RN Apps installed via npm, "Libraries" folder is inside
; "node_modules/react-native" but in the source repo it is in the root
.*/Libraries/react-native/React.js

; Ignore polyfills
<PROJECT_ROOT>/node_modules/react-native/Libraries/polyfills/.*
.*/Libraries/polyfills/.*

; Ignore various node_modules
<PROJECT_ROOT>/node_modules/react-native-gesture-handler/.*
<PROJECT_ROOT>/node_modules/expo/.*
<PROJECT_ROOT>/node_modules/react-navigation/.*
<PROJECT_ROOT>/node_modules/xdl/.*
<PROJECT_ROOT>/node_modules/reqwest/.*
<PROJECT_ROOT>/node_modules/metro-bundler/.*
; Ignore metro
.*/node_modules/metro/.*

[include]

[libs]
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/expo/flow/
node_modules/react-native/flow-github/

[options]
emoji=true

module.system=haste

module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'

module.file_ext=.js
module.file_ext=.jsx
module.file_ext=.json
module.file_ext=.native.js

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState
suppress_type=$FixMe

suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(5[0-6]\\|[1-4][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native_oss[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

unsafe.enable_getters_and_setters=true

[version]
^0.56.0
^0.67.0
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -text
65 changes: 52 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,56 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# OSX
#
.DS_Store

# expo
.expo/
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# dependencies
/node_modules
# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# misc
.env.local
.env.development.local
.env.test.local
.env.production.local
# node.js
#
node_modules/
npm-debug.log
yarn-error.log

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# BUCK
buck-out/
\.buckd/
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle
2 changes: 1 addition & 1 deletion .watchmanconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{}
{}
Binary file removed 31818947_202184777172869_4999292720808722432_n.png
Binary file not shown.
Binary file removed 31880858_202184683839545_5746873306716307456_n.png
Binary file not shown.
Binary file removed 31890649_202184593839554_2781018786180890624_n.png
Binary file not shown.
Binary file removed 31914087_202184580506222_6442806236579627008_n.png
Binary file not shown.
Binary file not shown.
89 changes: 40 additions & 49 deletions App.js
Original file line number Diff line number Diff line change
@@ -1,49 +1,40 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/

import React, { Component } from 'react';
import { Button, Text } from 'react-native';
import { StackNavigator, TabNavigator, DrawerNavigator } from 'react-navigation';
import Mapa from './mapa/AppMapa';
import Home from './login/AppHome';
import Login from './login/AppLogin';



const Menu = DrawerNavigator(
{
Login: { screen: Login },
Home: { screen: Home },
Mapa: { screen: Mapa },
}
);

const MenuButton = StackNavigator({
DrawerStack: { screen: Menu }
},
{
headerMode: 'float',
navigationOptions: ({navigation}) => ({
title: 'SmartIF',
headerLeft: <Text onPress={() => navigation.navigate('DrawerOpen')}>Menu</Text>
})
}
);


class App extends Component {

constructor(props) {
super(props);
}

render() {
return <MenuButton />;
}

}

export default App;
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/

import React, { Component } from 'react';
import {
Platform,
StyleSheet,
Text,
View
} from 'react-native';
import {
StackNavigator,
DrawerNavigator,
SwitchNavigator,
DrawerActions,
} from 'react-navigation';
import Login from './login/AppLogin';
import Home from './login/AppHome';
import Mapa from './mapa/AppMapa';
import App2 from './App2';
import App3 from './App3';

const TelasAuth = SwitchNavigator(
{
Auth: Login,
App2: App2,
}
);

export default class App extends Component {
render() {
return (
<TelasAuth />
);
}

}
58 changes: 58 additions & 0 deletions App2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/

import React, { Component } from 'react';
import { StyleSheet, Text, View, Image, ImageBackground, TextInput, Button, TouchableOpacity, TouchableHighlight, AsyncStorage, Alert, Dimensions } from 'react-native';
import {
StackNavigator,
DrawerNavigator,
SwitchNavigator,
//DrawerActions,
} from 'react-navigation';
import Mapa from './mapa/AppMapa';
import Home from './login/AppHome';
import Config from './login/AppConfig'
import Logout from './login/AppLogout';
import Login from './login/AppLogin';
import App from './App';

const MenuDrawer = DrawerNavigator(
{
Mapa: { screen: Mapa },
Usuários: { screen: Home },
Configuração: { screen: Config },
Logout: { screen: Logout},
}
);

const Menu = StackNavigator(
{
DrawerStack: { screen: MenuDrawer },
},
{
headerMode: 'float',
navigationOptions: ({navigation}) => ({
title: 'SmartIF',
headerLeft: <TouchableHighlight onPress={() => navigation.toggleDrawer()}><Image source={require('./menu-icon.png')} style={{margin: 10, width: 30, height: 30}} /></TouchableHighlight>
})
}
);

class App2 extends Component {

constructor(props) {
super(props);
}

render() {
return <Menu />;
}

}

export default App2;


Loading