Antes de começar, instale o yarn:
npm install -g yarn
Inicie um projeto react native com o comando:
react-native init nomeDoProjeto
Complemente o package.json com as seguintes dependências:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>MemeMaker-Simple</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> | |
| <meta name="mobile-web-app-capable" content="yes"> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <style> |
| // @flow | |
| /* eslint-disable no-console, no-plusplus, no-param-reassign */ | |
| import { Sentry, SentrySeverity } from 'react-native-sentry'; | |
| type Level = 'debug' | 'warning' | 'error' | 'info'; | |
| function log(message: string, ...args: Array<any>): void { | |
| if (__DEV__) { | |
| console.log(message, ...args); | |
| } else { |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |