This file contains hidden or 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
var Fetch = require('whatwg-fetch'); | |
var baseUrl = 'https://secure.budgettracker.com/api/'; | |
var service = { | |
get: function(url){ | |
return fetch(baseUrl+url) | |
.then(function(response) { | |
return response.json() | |
}); | |
}, |
This file contains hidden or 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
'use strict'; | |
import React, { Component } from 'react'; | |
import { connect } from 'react-redux'; | |
import { DeviceEventEmitter, Dimensions, Image, Text, AsyncStorage, TouchableOpacity } from 'react-native'; | |
import { Col, Row, Grid } from 'react-native-easy-grid'; | |
import { Container, Content, InputGroup, Input, Button, Icon, View } from 'native-base'; | |
import { replaceRoute } from '../../actions/route'; |
NewerOlder