-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sergey Korney
committed
Nov 24, 2023
1 parent
93daa0f
commit 5d78d56
Showing
190 changed files
with
674 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: Publish Frameworks | ||
run-name: Publish Frameworks ${{ github.ref_name }} | ||
|
||
on: | ||
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: 'Version build' | ||
required: false | ||
type: string | ||
|
||
jobs: | ||
publish: | ||
name: Publish Affise SDK Frameworks | ||
runs-on: macOS-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
# Version | ||
- name: Version Tag | ||
id: version_tag | ||
run: | | ||
if [ -n "${{ inputs.version }}" ]; then | ||
echo Version: ${{ inputs.version }} | ||
echo "VERSION=${{ inputs.version }}" >> "$GITHUB_OUTPUT" | ||
else | ||
echo Version: ${{ github.ref_name }} | ||
echo "VERSION=${{ github.ref_name }}" >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Setup Swift 5.7 | ||
uses: swift-actions/setup-swift@v1 | ||
with: | ||
swift-version: "5.7" | ||
|
||
- name: Create AffiseAttributionLib XCFramework | ||
uses: unsignedapps/swift-create-xcframework@v2.3.0 | ||
with: | ||
target: "AffiseAttributionLib" | ||
|
||
# Release | ||
- name: Release | ||
if: ${{ success() }} | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Affise Attribution iOS SDK ${{ steps.version_tag.outputs.VERSION }} | ||
draft: false | ||
prerelease: false | ||
|
||
# Upload AffiseAttributionLib | ||
- name: Upload Release AffiseAttributionLib Framework 🗳 | ||
if: ${{ success() }} | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./AffiseAttributionLib.zip | ||
asset_name: AffiseAttributionLib-${{ steps.version_tag.outputs.VERSION }}.xcframework.zip | ||
asset_content_type: application/zip | ||
|
||
# # Upload AffiseModuleStatus | ||
# - name: Upload Release AffiseModuleStatus Framework 🗳 | ||
# if: ${{ success() }} | ||
# uses: actions/upload-release-asset@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: ./AffiseModuleStatus.zip | ||
# asset_name: AffiseModuleStatus-${{ steps.version_tag.outputs.VERSION }}.xcframework.zip | ||
# asset_content_type: application/zip | ||
|
||
# # Upload AffiseSKAdNetwork | ||
# - name: Upload Release AffiseSKAdNetwork Framework 🗳 | ||
# if: ${{ success() }} | ||
# uses: actions/upload-release-asset@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
# asset_path: ./AffiseSKAdNetwork.zip | ||
# asset_name: AffiseSKAdNetwork-${{ steps.version_tag.outputs.VERSION }}.xcframework.zip | ||
# asset_content_type: application/zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
|
||
internal class AffiseComponent: AffiseApi { | ||
|
||
private let app: UIApplication | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import Foundation | ||
import WebKit | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import Foundation | ||
|
||
@objc | ||
public enum AffiseAdSource: Int { | ||
|
||
|
7 changes: 0 additions & 7 deletions
7
AffiseAttributionLib/Classes/advertising/AdvertisingIdManagerImpl.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 2 additions & 8 deletions
10
AffiseAttributionLib/Classes/app/AppLifecycleEventsManagerImpl.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
AffiseAttributionLib/Classes/converter/ConverterToBase64.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 1 addition & 6 deletions
7
AffiseAttributionLib/Classes/converter/EventToSerializedEventConverter.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
// | ||
// EventToSerializedEventConverter.swift | ||
// app | ||
// | ||
// Created by Sergey Korney | ||
// | ||
import Foundation | ||
|
||
|
||
/** | ||
|
8 changes: 1 addition & 7 deletions
8
AffiseAttributionLib/Classes/converter/InstallReferrerToDeeplinkUriConverter.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 1 addition & 7 deletions
8
AffiseAttributionLib/Classes/converter/LogToSerializedLogConverter.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.