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
| #import <UIKit/UIKit.h> | |
| #import <RNAppAuthAuthorizationFlowManager.h> | |
| @interface AppDelegate : UIResponder <UIApplicationDelegate, RNAppAuthAuthorizationFlowManager> | |
| @property (nonatomic, strong) UIWindow *window; | |
| @property(nonatomic, weak)id<RNAppAuthAuthorizationFlowManagerDelegate>authorizationFlowManagerDelegate; | |
| @end |
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
| #import "AppDelegate.h" | |
| #import <React/RCTBridge.h> | |
| #import <React/RCTBundleURLProvider.h> | |
| #import <ReactNativeNavigation/ReactNativeNavigation.h> | |
| #import <React/RCTLinkingManager.h> | |
| @implementation AppDelegate | |
| - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions |
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
| import React from 'react'; | |
| import {View, Text, TouchableOpacity, StyleSheet} from 'react-native'; | |
| import {SimpleLink, SectionTitle} from 'components'; | |
| import styles from './styles'; | |
| const SettingsView = ({ | |
| type = 'creator', | |
| email = '', | |
| minRate = 0, | |
| logout, |
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
| // resets all cache, removes node_modules and start new server instance | |
| watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache verify && npm i && npm start -- --reset-cache | |
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
| import React, { useState, useEffect } from "react"; | |
| import "./index.css"; | |
| // const date = { dateNum: 199, dateType: 'min', dateInterval: 60000 } - prop for CountdownTimer | |
| const CountdownTimer = ({ dateNum, dateType, dateInterval }) => { | |
| const [num, setNum] = useState(dateNum); | |
| useEffect(() => { | |
| const interval = setInterval(() => { |
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
| Errors { | |
| type: String!, | |
| operation: String!, | |
| message: String!, | |
| } |
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
| // standard registration input | |
| input StandardRegistrationInput { | |
| email: String! | |
| password: String! | |
| passwordConfirmed: String! | |
| userName: String! | |
| avatarUrl: String | |
| } | |
| // social registration input |