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
/* eslint-disable max-len */ | |
declare namespace V2QMM {} | |
declare namespace V2QMM.TYPES { | |
/** | |
* Place holder for ISO DateTime strings. When we can properly extend primitives for custom "brand" types, this should be able to validate | |
* as formatted `yyyy-MM-DD'T'hh:mm:ss'Z"` | |
*/ | |
export type ISODateTime = 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
import React from 'react'; | |
import {View, Text, TouchableOpacity, SafeAreaView} from 'react-native'; | |
import Icon from 'react-native-vector-icons/MaterialIcons'; | |
import {ScaledSheet} from 'react-native-size-matters'; | |
import { | |
v2Colors, | |
v2Fonts, | |
v2InputsPropertiesBlack, | |
v2ButtonStyles, | |
} from 'theme'; |
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, { Component } from "react"; | |
import { reduxForm, Field } from "redux-form"; | |
class Signup extends Component { | |
// bonus | |
// by making method below an arrow function | |
// developer does not have to worry | |
// about binding the context of onSubmit | |
// saves having to call bind(this) somewhere |
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 fs from "fs-extra"; | |
import eachSeries from "async/eachSeries"; | |
import { exec } from "child_process"; | |
import { androidDirectory } from "../../app.json"; | |
import { resolveFromRoot, distDir, createLogger } from "../build"; | |
const logger = createLogger("android"); | |
const APK_PATTERN = /release\.apk$/i; |
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
platform :ios, '9.0' | |
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' | |
abstract_target 'defaults' do | |
# Pods for NFIBEngage | |
pod 'React', :path => '../node_modules/react-native/' | |
pod 'React-Core', :path => '../node_modules/react-native/React' | |
pod 'React-DevSupport', :path => '../node_modules/react-native/React' | |
pod 'React-fishhook', :path => '../node_modules/react-native/Libraries/fishhook' | |
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS' |
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 fs from "fs-extra"; | |
import eachSeries from "async/eachSeries"; | |
import { exec } from "child_process"; | |
import { androidDirectory } from "../../app.json"; | |
import { resolveFromRoot, distDir, createLogger } from "../build"; | |
const logger = createLogger("android"); | |
const APK_PATTERN = /release\.apk$/i; |
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
#!/usr/bin/env node | |
const replace = require("replace-in-file"); | |
const path = require("path"); | |
const argv = require("yargs") | |
.env("APPCENTER") | |
.option("k", { | |
alias: "key" | |
}) | |
.option("p", { | |
alias: "platform" |
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
package com.nfib.engage; | |
import android.app.Application; | |
import android.util.Log; | |
import com.facebook.react.PackageList; | |
import com.facebook.hermes.reactexecutor.HermesExecutorFactory; | |
import com.facebook.react.bridge.JavaScriptExecutorFactory; | |
import com.facebook.react.ReactApplication; | |
import com.learnium.RNDeviceInfo.RNDeviceInfo; |
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
{ | |
"name": "NFIBEngage", | |
"version": "0.0.1", | |
"lockfileVersion": 1, | |
"requires": true, | |
"dependencies": { | |
"@babel/code-frame": { | |
"version": "7.5.5", | |
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", | |
"integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", |
NewerOlder