Skip to content

Instantly share code, notes, and snippets.

View nikitph's full-sized avatar
:electron:
CTO @Makua Building a better world with tech .... and empathy

Nikit phadke nikitph

:electron:
CTO @Makua Building a better world with tech .... and empathy
View GitHub Profile
[
{
"id": "100ba3fe-5463-4972-bfbe-e8cdb68bf51d",
"title": "Pride Month",
"summary": "Celebrating Pride Month ",
"primary_display_image_url": "https://makuacompressed.s3.us-west-1.amazonaws.com/The+Trevor+Project+/P-1.jpg",
"url": "www.makua.com/current-events/celebrating-pride-month",
"priority": 1,
"posted_at": "2023-06-03"
},
@nikitph
nikitph / Apple_mobile_device_types.txt
Created September 16, 2022 04:39 — forked from adamawolf/Apple_mobile_device_types.txt
List of Apple's mobile device codes types a.k.a. machine ids (e.g. `iPhone1,1`, `Watch1,1`, etc.) and their matching product names
i386 : iPhone Simulator
x86_64 : iPhone Simulator
arm64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
import React, {
createContext,
useContext,
useEffect,
useRef,
useState,
} from 'react';
import { Platform } from 'react-native';
import { LongPressGestureHandler } from 'react-native-gesture-handler';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
<OrientationLoadingOverlay
visible={this.props.fetching}
color='white'
>
<View>
<Image
source={Images.launch}
/>
</View>
</OrientationLoadingOverlay>
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import {
View,
Text,
Image,
TouchableOpacity
} from 'react-native'
import style from './Styles/HeroStyle'
import React, {Component} from 'react'
import {
View,
TouchableHighlight,
Text,
LayoutAnimation
} from 'react-native'// import PropTypes from 'prop-types';
import style from './Styles/SummaryStyle'
export default class Summary extends Component {
import { createStackNavigator, createAppContainer, createBottomTabNavigator } from 'react-navigation'
import FeedbackScreen from '../Containers/FeedbackScreen'
import TutorialScreen from '../Containers/TutorialScreen'
import CreateGuardianScreen from '../Containers/CreateGuardianScreen'
import DashboardScreen from '../Containers/DashboardScreen'
import SignUpScreen from '../Containers/SignUpScreen'
import LoginScreen from '../Containers/LoginScreen'
import LaunchScreen from '../Containers/LaunchScreen'
import styles from './Styles/NavigationStyles'
import React, { Component } from 'react'
import { ScrollView, KeyboardAvoidingView, Image, View, Text, TextInput, PropTypes } from 'react-native'
import { connect } from 'react-redux'
import { Images, Metrics } from '../Themes'
import Icon from 'react-native-vector-icons/Ionicons'
import * as Animatable from 'react-native-animatable'
import DropdownAlert from 'react-native-dropdownalert'
import ActivityIndicator from 'react-native-activity-indicator'; // optional
import Button from 'react-native-micro-animated-button';
// Add Actions - replace 'Your' with whatever your reducer is called :)
/**
* Created by Omkareshwar on 9/15/17.
*/
import firebase from 'firebase'
import config from './FirebaseConfig'
import ReduxSagaFirebase from 'redux-saga-firebase';
const mapp = firebase.initializeApp(config);
export const reduxSagaFirebase = new ReduxSagaFirebase(mapp);
export function removeAllData (flag) {
// grab all of the user's notifications and store them in the Redux store
if(flag)
{
database
.ref('hostEvents')
.remove();
database
.ref('guardians')