Skip to content

Instantly share code, notes, and snippets.

@cabdesigns
cabdesigns / MainViewController.h
Last active December 2, 2018 12:31
Integrating AdMob into your Apache Cordova project. Implementation positions ad unit at bottom of window and ensures it doesn't overlay and block the WebView.
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@cabdesigns
cabdesigns / amplify.yml
Created September 2, 2019 10:22
Example Amplify build config with cache control headers
version: 0.1
backend:
phases:
build:
commands:
- '# Execute Amplify CLI with the helper script'
- amplifyPush --simple
frontend:
phases:
preBuild: