Skip to content

Instantly share code, notes, and snippets.

import React from 'react';
import { StyleSheet, Text, View , AsyncStorage} from 'react-native';
import GuestNavigation from './app/navigations/guestNavigation';
import LoggedNavigation from './app/navigations/loggedNavigation';
const USER_ACCESS = 'user_access';
export default class App extends React.Component {
constructor(props){
{
"expo": {
"name": "test1",
"description": "This project is really great.",
"slug": "test1",
"privacy": "public",
"sdkVersion": "24.0.0",
"platforms": ["ios", "android"],
"version": "1.0.0",
"orientation": "portrait",
@Vidacs
Vidacs / DrawerTabNavigation
Created February 13, 2018 15:42
Navegacion Ugi
import React from 'react';
import {StackNavigator, DrawerNavigator, TabNavigator} from 'react-navigation';
import HomeScreen from '../screens/Home';
import Bluetooth from '../screens/Ble';
import LogoutS from '../screens/Logout';
import Perfil from '../screens/Perfil';
import Pantalla from '../screens/Pantalla2';
import { NavigationComponent } from 'react-native-material-bottom-navigation'
import { Icon } from 'react-native-elements'
@Vidacs
Vidacs / ble.js
Created February 23, 2018 03:14
BleChifo
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
TouchableHighlight,
NativeAppEventEmitter,
NativeEventEmitter,
NativeModules,
import React from 'react';
import Preloader from "./app/components/Preloader";
import LoggedNavigation from './app/navigations/loggedNavigation';
import GuestNavigation from './app/navigations/guestNavigation';
// Initialize Firebase
import * as firebase from 'firebase';
const firebaseConfig = {
function Random(seed) {
this.seed = Math.random() * Math.pow(2,31);
this.a = 1103515245;
this.c = 12345;
this.m = Math.pow(2, 31);
}
Random.prototype.next = function() {
this.seed = (this.a * this.seed + this.c) % this.m;
return this.seed;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta name="x-apple-disable-message-reformatting" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="telephone=no" name="format-detection" />
<title>Mondelez</title>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SnacKINGS - Retos del Mes</title>
<!--[if mso]>
<style type="text/css">
table {border-collapse: collapse;}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta name="x-apple-disable-message-reformatting" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="telephone=no" name="format-detection" />
<title>Mondelez</title>
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SnacKINGS - Retos del Mes</title>
<!--[if mso]>
<style type="text/css">
table {border-collapse: collapse;}