Skip to content

Commit

Permalink
GoogleTagManager 7.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunghung committed Aug 13, 2021
0 parents commit 05d2122
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 0 deletions.
17 changes: 17 additions & 0 deletions GoogleTagManagerWrapper/dummy.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2021 Google LLC
*
* Licensed 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Swift Package Manager needs at least one source file.
18 changes: 18 additions & 0 deletions GoogleTagManagerWrapper/include/dummy.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright 2021 Google LLC
*
* Licensed 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Swift Package Manager needs at least one header to prevent a warning. See
// https://github.com/firebase/firebase-ios-sdk/pull/6504.
69 changes: 69 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

// Copyright 2021 Google LLC
//
// Licensed 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
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import PackageDescription

let package = Package(
name: "GoogleTagManager",
platforms: [.iOS(.v11)],
products: [
.library(
name: "GoogleTagManager",
targets: ["GoogleTagManagerTarget"]
),
],
dependencies: [
.package(
name: "Firebase",
url: "https://github.com/firebase/firebase-ios-sdk.git",
"8.0.0" ..< "9.0.0"
),
],
targets: [
.target(
name: "GoogleTagManagerTarget",
dependencies: [
"GoogleTagManager",
"GoogleAnalytics",
.product(name: "FirebaseAnalytics", package: "Firebase"),
],
path: "GoogleTagManagerWrapper",
linkerSettings: [
.linkedLibrary("sqlite3"),
.linkedLibrary("z"),
.linkedFramework("AdSupport"),
.linkedFramework("CoreData"),
.linkedFramework("CoreTelephony"),
.linkedFramework("JavaScriptCore"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("UIKit"),
]
),
.binaryTarget(
name: "GoogleTagManager",
url: "https://dl.google.com/firebase/ios/tagmanager/swiftpm/7.4.0/GoogleTagManager.zip",
checksum: "09a6214657b3656baa0ee2ed30a9ebec3d768a7f9422b1c82c5f42dbb5814e5c"
),
.binaryTarget(
name: "GoogleAnalytics",
url: "https://dl.google.com/firebase/ios/tagmanager/swiftpm/7.4.0/GoogleAnalytics.zip",
checksum: "255e44905b5168a214995f74889eb8245778789c9fe915031099c6b6a481f21a"
),
],
cLanguageStandard: .c99,
cxxLanguageStandard: CXXLanguageStandard.gnucxx14
)
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GoogleTagManager
This repo hosts the GoogleTagManager Swift Package Manager distribution.

0 comments on commit 05d2122

Please sign in to comment.