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 { useAgent } from '@aries-framework/react-hooks' | |
import React, { useState } from 'react' | |
import { useTranslation } from 'react-i18next' | |
import { ActivityIndicator, Clipboard, StyleSheet, Text, TouchableOpacity, View } from 'react-native' | |
import { DirectoryPickerResponse, DocumentPickerResponse } from 'react-native-document-picker' | |
import { SafeAreaView } from 'react-native-safe-area-context' | |
import Toast from 'react-native-toast-message' | |
import Button, { ButtonType } from '../components/buttons/Button' | |
import { ToastType } from '../components/toast/BaseToast' | |
import { useStore } from '../contexts/store' |
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
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache | |
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache |
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
Verifying my Blockstack ID is secured with the address 1FjHQDTPYL2FMoEZPTSAsRx5wbjUkwFiD6 https://explorer.blockstack.org/address/1FjHQDTPYL2FMoEZPTSAsRx5wbjUkwFiD6 |
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 axios from 'axios'; | |
const request = () =>{ | |
axios.get('yourendpoint/query') | |
.then(function (response){ | |
console.log(response); | |
}) | |
.catch(function (error){ | |
console.log(error); | |
}); |