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')
var Migrations = artifacts.require('./Migrations.sol'); | |
module.exports = function(deployer) { | |
deployer.deploy(Migrations, { gas: 4612388 }); | |
}; | |
{ | |
"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": { |
import Web3 from 'web3'; | |
const ProviderEngine = require('web3-provider-engine'); | |
const Web3Subprovider = require('web3-provider-engine/subproviders/web3.js'); | |
const HookedWalletEthTxSubprovider = require('web3-provider-engine/subproviders/hooked-wallet-ethtx.js'); | |
const PUBLIC_ACCOUNT = '0xPUBLIC_ACCOUNT_HERE'; |
module.exports = { | |
parser: require.resolve("babel-eslint"), | |
env: { | |
es6: true | |
}, | |
parserOptions: { | |
sourceType: "module", | |
ecmaFeatures: { |
import React, { Component } from 'react' | |
/** | |
* Creates a component class that renders the given Material UI component | |
* | |
* @param MaterialUIComponent The material ui component to render | |
* @param mapProps A mapping of props provided by redux-form to the props the Material UI | |
* component needs | |
*/ | |
export default function createComponent(MaterialUIComponent, mapProps) { |
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 ?
Comments and feedback welcome!
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" |