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
// 'The AppDelegate.m file can only have one method for openUrl.' | |
// 'If you're also using RCTLinkingManager to handle deep links, you should handle both results in your openUrl method.' | |
// https://github.com/facebook/react-native-fbsdk#32-ios-project | |
#import "AppDelegate.h" | |
#import <React/RCTBundleURLProvider.h> | |
#import <React/RCTRootView.h> | |
#import <CodePush/CodePush.h> | |
#import <react-native-branch/RNBranch.h> |
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 fetch from 'isomorphic-fetch'; | |
import stripeInit from 'stripe'; | |
import {stripeKey, graphCoolEndpoint} from './constants'; | |
const stripe = stripeInit(stripeKey); | |
const updateGraphCoolCustomer = async (id, stripeId) => { | |
const updateCustomer = JSON.stringify({ | |
query: ` | |
mutation { |
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 { | |
View, | |
ViewPropTypes, | |
} from 'react-native'; | |
import PropTypes from 'prop-types'; | |
import XDate from 'xdate'; | |
import dateutils from '../dateutils'; | |
import {xdateToData, parseDate} from '../interface'; |