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')
| FROM microsoft/dotnet:sdk | |
| LABEL author="Dan Wahlin" | |
| ENV DOTNET_USE_POLLING_FILE_WATCHER=1 | |
| ENV ASPNETCORE_URLS=http://*:5000 | |
| EXPOSE 5000 |
| import Contract from 'truffle-contract'; | |
| import VotingArtifact from '../build/contracts/Voting.json'; | |
| import Web3 from 'web3'; | |
| function Star(candidate) { | |
| const Voting = Contract(VotingArtifact); | |
| var web3Provided; |
| 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 ?