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
#!/bin/bash | |
emulator -avd AVD_NAME | |
# chmod u+x filename |
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 { StatusBar } from "expo-status-bar"; | |
import React, { useState } from "react"; | |
import { FlatList, StyleSheet, Text, View, Button } from "react-native"; | |
const Item = ({ item }) => { | |
console.log("render item"); | |
return ( | |
<View style={{ width: 50, height: 50, backgroundColor: "red" }}> | |
<Text>{item}</Text> | |
</View> |
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
const functions = require("firebase-functions"); | |
const admin = require("firebase-admin"); | |
admin.initializeApp(functions.config().firebase); | |
exports.pushConfig = functions.remoteConfig.onUpdate(() => { | |
return admin | |
.remoteConfig() | |
.getTemplate() | |
.then((remoteConfigTemplate) => { | |
const defaultVal = |