This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @flow */ | |
import React from 'react'; | |
import styled from 'styled-components'; | |
import { Card, Icon } from 'antd'; | |
import PropTypes from 'prop-types'; | |
type Props = { | |
children: any, | |
viewName: string | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import PropTypes from "prop-types"; | |
import ReactNative, { | |
NativeModules, | |
View, | |
Text, | |
StyleSheet, | |
ScrollView, | |
Dimensions, | |
TextInput, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const array = [ | |
{ | |
latitude: 40.737102, | |
longitude: -73.990318 | |
}, | |
{ | |
latitude: 40.749825, | |
longitude: -73.987963 | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { StackNavigator, TabNavigator } from "react-navigation"; | |
import { StatusBar } from "react-native"; | |
import LoginScreen from "./screens/LoginScreen"; | |
import SplashScreen from "./screens/SplashScreen"; | |
import ProfileScreen from "./screens/ProfileScreen"; | |
import HistoryScreen from "./screens/HistoryScreen"; | |
import DashboardScreen from "./screens/DashboardScreen"; | |
import OrderScreen from "./screens/OrderScreen"; | |
import MapDrivingScreen from "./screens/MapDrivingScreen"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by nikollasbetiol on 16/04/17. | |
* | |
*/ | |
import React, { Component } from "react"; | |
import { | |
View, | |
Text, | |
StyleSheet, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { | |
AppRegistry, | |
Dimensions, | |
StyleSheet, | |
Text, | |
View, | |
TouchableOpacity, | |
AsyncStorage, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { BrowserRouter as Router } from "react-router-dom"; | |
import Routes from "./Routes"; | |
import Sidebar from "./shared/components/layout/Sidebar"; | |
import Navbar from "./shared/components/layout/Navbar"; | |
import FullPage from "./shared/components/layout/FullPage"; | |
import AuthPage from "./auth/AuthPage"; | |
import Pusher from "pusher-js"; | |
import Notification from "react-web-notification"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/9j/4AAQSkZJRgABAQEASABIAAD//gBCRmlsZSBzb3VyY2U6IGh0dHA6Ly9wZXNxdWlzYS5sYS93 | |
aWtpL0FycXVpdm86TmVnYW9fZGFfcGljb25hLmpwZ//bAEMABgQFBgUEBgYFBgcHBggKEAoKCQkK | |
FA4PDBAXFBgYFxQWFhodJR8aGyMcFhYgLCAjJicpKikZHy0wLSgwJSgpKP/bAEMBBwcHCggKEwoK | |
EygaFhooKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKP/A | |
ABEIAcABLAMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAFAgMEBgcBAAj/xABDEAACAQIF | |
AgQEBAUDBAEDAwUBAgMEEQAFEiExQVEGEyJhFHGBkQcjMqFCscHR8BVS4SQzYvEWCHKCJTSSNUNj | |
c6L/xAAaAQACAwEBAAAAAAAAAAAAAAABAgADBAUG/8QAKBEAAgICAgICAgMBAAMAAAAAAAECEQMh | |
EjEEQRNRBSIyYXEjBhSB/9oADAMBAAIRAxEAPwDR4s7QKglooyETy1seRbYG/bc45FnCxOjxUaKy | |
ElTrvbi3TpYcYEaSPfC9OO58UDkc5BVc5KkaKaMcc79CLccb3x5M3a4/IRbHWGQlTq02ue/yt0wL | |
GOgHpifFAnORNjzKSOYvp1roSMKzE7KQRc9dx++FPmTedM4hQmTTfUS1yp2Ldz77YgBScKI74Pxw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SMSBackgroundService extends BroadcastReceiver { | |
public event EventHandler<String> OnCodeReceived; | |
public override void OnReceive(Context context, Android.Content.Intent intent) { | |
if ((intent.Action != "android.provider.Telephony.SMS_RECEIVED")) { | |
return; | |
} | |
SmsMessage[] smsMessages; |