-
Upgrade Expo:
npm i -g exp
. -
Open Expo XDE & start a new project.
-
Copy the
expo
,react
, &react-native
versions from thepackage.json
file into your current project. -
Upgrade any other packages that might be stale. Especially things like
react-navigation
,react-native-elements
, or any other Expo-specific packages. -
Delete
node_modules
folder,package-lock.json
, and/oryarn.lock
.
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 FullHeightPage = () => ( | |
<div> | |
Hello World! | |
<style global jsx>{` | |
html, | |
body, | |
body > div:first-child, | |
div#__next, | |
div#__next > div { | |
height: 100%; |
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
.center-table { | |
height: 100%; | |
width: 100%; | |
display: table; | |
} | |
.center-cell { | |
position: relative; | |
display: table-cell; | |
vertical-align: middle; | |
text-align: center; |
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
exports.availability = (event, context, cb) => { | |
context.callbackWaitsForEmptyEventLoop = false; | |
console.log(event, context); | |
return cb(null, { | |
dialogAction: { | |
type: "Close", | |
fulfillmentState: "Fulfilled", | |
message: { | |
contentType: "PlainText", | |
content: "Response from availability lambda" |
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
Show hidden characters
{ | |
"Print to console": { | |
"scope": "javascript,typescript", | |
"prefix": "log", | |
"body": [ | |
"console.log('$1', $2);" | |
], | |
"description": "Log output to console" | |
}, | |
"prettier": { |
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
{ | |
"scripts": { | |
"deploy": "now -e EXAMPLE_API_KEY=@example-api-key && now alias `pbpaste` example.com && now scale `pbpaste` 1 1" | |
} | |
} |
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
{ | |
"isbn": "pg1017", | |
"title": "The Soul of Man under Socialism", | |
"contributors": [ | |
"Oscar Wilde" | |
], | |
"flags": { | |
"pages": false, | |
"noCover": false | |
}, |
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
{ | |
"id": "1818", | |
"uid": "207", | |
"category": "11", | |
"event_hash": "", | |
"comments": "undefined", | |
"stamp": "1536349687", | |
"created": "1536349687", | |
"longitude": "-82.51255529236315", | |
"latitude": "27.33067613370507", |
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
{ | |
"answer": "333", | |
"field_id": "22", | |
"label": "Service Time", | |
"position": "3", | |
"template": { | |
"activity_category_id": "11", | |
"alerts": [], | |
"created": "1524064596", | |
"field_type": "decimal", |
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
{ | |
"id": "18", | |
"name": "Smiley Test Media", | |
"created": "1531745959", | |
"updated": "1531745959", | |
"status": "active", | |
"act_ids": "13,13,13,13,12,12,12,12,14,14,14,14", | |
"activities": [ | |
{ | |
"id": "12", |