update: 升级 GuruConsent iOS 版本 -> 1.4.6

--story=1020278 --user=yufei.hu 【中台】【发行】【iOS】 将 GuruConsent 库升级到最新的版本, 将线上的 Pods 依赖改为 UPM 内部文件依赖 https://www.tapd.cn/33527076/s/1147539

Signed-off-by: huyufei <yufei.hu@castbox.fm>
hotfix/v1.0.12.2
胡宇飞 2024-05-30 10:56:14 +08:00
parent 073c0ef7ac
commit f641f1828c
18 changed files with 95 additions and 5 deletions

View File

@ -77,6 +77,8 @@ namespace Guru.Editor
var workdir = GetWorkdir();
var source = $"{workdir}/{SourceFileName}";
var toDir = Directory.GetParent(IosPrivacyInfoPath);
if (!toDir.Exists) toDir.Create();
if (File.Exists(source))
{
FileUtil.ReplaceFile(source, IosPrivacyInfoPath);

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: b88f29431cdd47f9bc1945ddd590c4df
timeCreated: 1717035321

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: c1d92ec4f77c4f179f05f8a7be17de86
timeCreated: 1717035338

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 4e5722a54ec94d72a304d981db2426f7
timeCreated: 1717035343

View File

@ -10,10 +10,6 @@ Sample Dependencies.xml:
<androidPackage spec="com.mapzen:on-the-road:0.8.1" />
</androidPackages>
<iosPods>
<iosPod name="GuruConsent" bitcodeEnabled="false">
<sources>
<source>git@github.com:castbox/GuruSpecs.git</source>
</sources>
</iosPod>>
<iosPod name="GuruConsent" bitcodeEnabled="false" path="Packages/com.guru.unity.sdk.core/Runtime/GuruConsent/Plugins/iOS" />
</iosPods>
</dependencies>

View File

@ -0,0 +1,40 @@
#
# Be sure to run `pod lib lint CastboxNetwork.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'GuruConsent'
s.version = '1.4.6'
s.summary = 'Google GDPR'
s.description = 'Google GDPR'
s.homepage = 'https://github.com/castbox/GuruConsent-iOS'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'LEE' => 'xiang.li@castbox.fm' }
# s.source = { :git => 'git@github.com:castbox/GuruConsent-iOS.git', :tag => s.version }
s.source = { :tag => s.version }
s.frameworks = 'UIKit', 'AppTrackingTransparency'
s.swift_version = '5.0'
s.ios.deployment_target = '12.0'
s.source_files = "Sources/**/*.swift"
s.requires_arc = true
s.static_framework = true
s.default_subspec = 'Privacy'
s.dependency 'GoogleUserMessagingPlatform', '2.3.0'
s.subspec 'Privacy' do |ss|
ss.resource_bundles = {
s.name => 'Resources/PrivacyInfo.xcprivacy'
}
end
end

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 4d451434a71243edb55e61e8fd0040a0
timeCreated: 1717035350

View File

@ -0,0 +1 @@
/Users/huyfuei/Workspace/Castbox/SDK/Native/GuruConsent-iOS/LICENSE

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0819b6a57c25e4ef0bd2f83c97a353fd
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1 @@
/Users/huyfuei/Workspace/Castbox/SDK/Native/GuruConsent-iOS/README.md

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2591a1ab95ce94235adc38c94f28f029
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1 @@
/Users/huyfuei/Workspace/Castbox/SDK/Native/GuruConsent-iOS/Resources

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 30771cebf05b44ad19739c67642b61ce
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1 @@
/Users/huyfuei/Workspace/Castbox/SDK/Native/GuruConsent-iOS/Sources

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9c2ff42f8bf73454290c2c13d6de943d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +1,11 @@
# Guru Unity Consent
## Version 1.0.8
* 更新 GuruConsent 的 iOS 库版本至 `1.4.6`
* 更新 iOS 库添加 Privacy Policy 的配置项
* 更新 iOS 依赖的 cocospods 库地址
## Version 1.0.7
* 更新 Consent 针对 Json 参数的回调和解析逻辑.