The main difference between the two pages is the method of sending messages. Recieving messages is the same in both.
Send messages to iframe using iframeEl.contentWindow.postMessage
Recieve messages using window.addEventListener('message')
{ | |
"name": "exampleapp", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node_modules/react-native/packager/packager.sh --nonPersistent", | |
"test": "jest", | |
"build-uport-connect": "node_modules/.bin/derequire node_modules/uport-connect/dist/uport-connect.js >src/vendor/uport-connect.js" | |
}, | |
"dependencies": { |
Hi, I am a fork from https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03.
A high level overview for what I need to do to get most of an Android environment setup and maintained on OSX higher Catalina and Big Sur with and without Android Studio been installed.
Considering the SDK is installed under /Users/<your_user>/Library/Android/sdk folder which is the Android Studio preferred SDK location, but it works fine under /usr/local/share/android-sdk as well, which is a location pretty much used on CI mostly.
https://github.com/shyiko/jabba instead ?
signingConfigs { | |
release { | |
if (System.getenv()["CI"]) { // CI is true when running build on CI service, such as Bitrise | |
storeFile file(System.getenv()["BITRISE_SOURCE_DIR"] + "/keystores/my_keystore.jks") | |
storePassword System.getenv()["BITRISEIO_ANDROID_KEYSTORE_PASSWORD"] | |
keyAlias System.getenv()["BITRISEIO_ANDROID_KEYSTORE_ALIAS"] | |
keyPassword System.getenv()["BITRISEIO_ANDROID_KEYSTORE_PRIVATE_KEY_PASSWORD"] | |
} else { | |
storeFile file("release.keystore") | |
storePassword "Password123" |
# You should always specify a full version here to ensure all of your developers | |
# are running the same version of Node. | |
FROM node:7.8.0 | |
# The base node image sets a very verbose log level. | |
ENV NPM_CONFIG_LOGLEVEL warn | |
# Copy all local files into the image. | |
COPY . . |
<br /><br /> | |
# React Native: Animated | |
ReactEurope 2015, Paris - Spencer Ahrens - Facebook | |
<br /><br /> | |
## Fluid Interactions | |
- People expect smooth, delightful experiences |
/** | |
* The examples provided by Facebook are for non-commercial testing and | |
* evaluation purposes only. | |
* | |
* Facebook reserves all rights not expressly granted. | |
* | |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS | |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
* FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL | |
* FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
block = { | |
'index': 1, | |
'timestamp': 1506057125.900785, | |
'transactions': [ | |
{ | |
'sender': "8527147fe1f5426f9dd545de4b27ee00", | |
'recipient': "a77f5cdfa2934df3954a5c7c7da5df1f", | |
'amount': 5, | |
} | |
], |
const store = createStore((state = { counter: 0 }, action) => { | |
switch(action.type) { | |
case "INCREMENT": | |
return { counter: state.counter + 1 } | |
case "DECREMENT": | |
return { counter: state.counter - 1 } | |
default: | |
return state | |
} | |
}) |