- React Native version: 0.62.2
- Affected platform: Android (iOS is working fine)
- Affected stages: debug & release
- Affected JS engines: jsc, v8 & Hermes
- Used phones: Redmi Note
- Tried to comment out initializeFlipper without success
- Tried to set
FLIPPER_VERSION=0.39.0
without success - The problem also happens in Postman on macOS with the "SSL certificate verification" option enabled, although the failing URLs don't show any SSL warning in Chrome browser
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
<script> | |
var list = []; | |
document.querySelectorAll("a").forEach(function(tag) { | |
if (tag.innerText === "../" || tag.rel) { | |
return; | |
} | |
var url = tag.href.replace(location.href, ""); | |
var file = decodeURIComponent(url); |
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 { PermissionsAndroid, Platform, Alert, Permission, PermissionStatus } from "react-native" | |
const permissions: Record<string, Permission> = { | |
// location: PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION, | |
camera: PermissionsAndroid.PERMISSIONS.CAMERA, | |
// read: PermissionsAndroid.PERMISSIONS.READ_EXTERNAL_STORAGE, | |
write: PermissionsAndroid.PERMISSIONS.WRITE_EXTERNAL_STORAGE, | |
} | |
export const getPermissions = async (keys: string[]) => { |
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
/** | |
* This is an example React hook I wrote to demonstrate the use of an AbortController | |
* to avoid setting state on unmounted components | |
* | |
* Example use: | |
* const { data, loading, error } = useFetch<MyDataType>("https://reqres.in/api/users") | |
*/ | |
import { useState, useEffect } from "react" | |
import HttpError from "standard-http-error" |
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
// yarn add typescript | |
// yarn add -D eslint prettier eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks @typescript-eslint/parser @typescript-eslint/eslint-plugin | |
// yarn add -D @types/react @types/react-dom | |
module.exports = { | |
parser: "@typescript-eslint/parser", | |
plugins: ["react", "react-hooks", "prettier"], | |
extends: ["plugin:react/recommended", "plugin:prettier/recommended"], | |
parserOptions: { | |
ecmaVersion: 2018, |
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
{ | |
"asset": { | |
"copyright": "(C)2018 PC-TEDDY-2", | |
"generator": "Maya2glTF V0.9.9 df3632e", | |
"version": "2.0" | |
}, | |
"scenes": [ | |
{ | |
"nodes": [ | |
0 |
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 React, {Component, PropTypes} from 'react' | |
import {View, TextInput, Animated, StyleSheet, Platform} from 'react-native' | |
import colors from '../../common/constants/colors' | |
const getLabelSize = (focused) => focused ? 12 : 16 | |
const getLabelPosition = (focused) => focused ? 16 : 37 | |
const ANIMATION_DURATION = 200 | |
export default class MaterialTextField extends Component { |
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
.cover { | |
position: fixed; | |
width: 100%; | |
top: 0; | |
left: 0; | |
z-index: 1100; /* just above title bar */ | |
transition: opacity 0.2s ease-in-out; | |
opacity: 1; | |
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5dc1b2+0,1fbcd2+100 */ |
I hereby claim:
- I am antoinerousseau on github.
- I am antoine (https://keybase.io/antoine) on keybase.
- I have a public key whose fingerprint is 1B5C 77C7 0297 8523 346F 4756 77DA 270D 4E75 46DE
To claim this, I am signing this object: