com.xd.sdk.oversea 6.29.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Editor/XD.SDK.Oversea.Editor.asmdef +2 -2
- package/Editor/XD.SDK.Oversea.Editor.asmdef.meta +1 -1
- package/Editor/XDOverseaAndroidGradleProcessor.cs +106 -2
- package/Editor/XDOverseaAndroidGradleProcessor.cs.meta +1 -1
- package/Editor.meta +1 -1
- package/Plugins/Android/libs/XDGPushGlobal_7.0.0.aar +0 -0
- package/Plugins/Android/libs/{XDGThirdLogin_6.29.0.aar.meta → XDGPushGlobal_7.0.0.aar.meta} +2 -2
- package/Plugins/Android/libs/XDGThirdLogin_7.0.0.aar +0 -0
- package/Plugins/Android/libs/{XDGPushGlobal_6.29.0.aar.meta → XDGThirdLogin_7.0.0.aar.meta} +1 -1
- package/Plugins/Android/libs/XDGThirdTrack_7.0.0.aar +0 -0
- package/Plugins/Android/libs/{XDGShare_6.29.0.aar.meta → XDGThirdTrack_7.0.0.aar.meta} +1 -1
- package/Plugins/Android/libs/tweet-composer-3.3.1.aar.meta +1 -1
- package/Plugins/Android/libs/tweet-ui-3.3.1.aar.meta +1 -1
- package/Plugins/Android/libs/twitter-3.3.1.aar.meta +1 -1
- package/Plugins/Android/libs/twitter-core-3.3.1.aar.meta +1 -1
- package/Plugins/Android/libs.meta +1 -1
- package/Plugins/Android.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/Info.plist.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/PrivacyInfo.xcprivacy.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/Roboto-Bold.ttf.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ar.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ar.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ca.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ca.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/cs.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/cs.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/da.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/da.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/de.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/de.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/el.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/el.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/en.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/en.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/en_GB.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/en_GB.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/es.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/es.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/es_MX.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/es_MX.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/fi.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/fi.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/fr.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/fr.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/fr_CA.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/fr_CA.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/google.png.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/google@2x.png.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/google@3x.png.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/he.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/he.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/hi.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/hi.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/hr.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/hr.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/hu.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/hu.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/id.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/id.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/it.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/it.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ja.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ja.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ko.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ko.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ms.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ms.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/nb.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/nb.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/nl.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/nl.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pl.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pl.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pt.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pt.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pt_BR.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pt_BR.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pt_PT.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/pt_PT.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ro.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ro.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ru.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/ru.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/sk.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/sk.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/sv.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/sv.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/th.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/th.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/tr.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/tr.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/uk.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/uk.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/vi.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/vi.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/zh_CN.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/zh_CN.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/zh_TW.lproj/GoogleSignIn.strings.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle/zh_TW.lproj.meta +1 -1
- package/Plugins/iOS/Resource/GoogleSignIn.bundle.meta +1 -1
- package/Plugins/iOS/Resource.meta +1 -1
- package/Plugins/iOS/{XDLineWrapperSDK.framework/Headers/XDLineWrapperSDK-Swift.h → XDGlobalWrapper.framework/Headers/XDGlobalWrapper-Swift.h} +3 -37
- package/Plugins/iOS/{Resource/LineSDKResource.bundle/en.lproj/Localizable.strings.meta → XDGlobalWrapper.framework/Headers/XDGlobalWrapper-Swift.h.meta} +1 -1
- package/Plugins/iOS/XDGlobalWrapper.framework/Headers/XDGlobalWrapper.h +20 -0
- package/Plugins/iOS/{Resource/LineSDKResource.bundle/es.lproj/Localizable.strings.meta → XDGlobalWrapper.framework/Headers/XDGlobalWrapper.h.meta} +1 -1
- package/Plugins/iOS/{XDAdjustWrapperSDK.framework → XDGlobalWrapper.framework}/Headers.meta +1 -1
- package/Plugins/iOS/{XDLineWrapperSDK.framework → XDGlobalWrapper.framework}/Info.plist +0 -0
- package/Plugins/iOS/{XDAdjustWrapperSDK.framework → XDGlobalWrapper.framework}/Info.plist.meta +1 -1
- package/Plugins/iOS/XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/Plugins/iOS/{XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule}/Project/arm64-apple-ios.swiftsourceinfo.meta +1 -1
- package/Plugins/iOS/{XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule}/Project.meta +1 -1
- package/Plugins/iOS/{XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule}/arm64-apple-ios.abi.json.meta +1 -1
- package/Plugins/iOS/XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/Plugins/iOS/{XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule}/arm64-apple-ios.swiftdoc.meta +1 -1
- package/Plugins/iOS/XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/Plugins/iOS/{XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule}/arm64-apple-ios.swiftmodule.meta +1 -1
- package/Plugins/iOS/{Resource/LineSDKResource.bundle/ar.lproj.meta → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule.meta} +1 -1
- package/Plugins/iOS/XDGlobalWrapper.framework/Modules/module.modulemap +11 -0
- package/Plugins/iOS/{XDAdjustWrapperSDK.framework → XDGlobalWrapper.framework}/Modules/module.modulemap.meta +1 -1
- package/Plugins/iOS/{XDAdjustWrapperSDK.framework → XDGlobalWrapper.framework}/Modules.meta +1 -1
- package/Plugins/iOS/{XDFirebaseWrapperSDK.framework/XDFirebaseWrapperSDK → XDGlobalWrapper.framework/XDGlobalWrapper} +0 -0
- package/Plugins/iOS/{Resource/LineSDKResource.bundle/ar.lproj/Localizable.strings.meta → XDGlobalWrapper.framework/XDGlobalWrapper.meta} +1 -1
- package/Plugins/iOS/{XDFirebaseCrashlyticsWrapperSDK.framework.meta → XDGlobalWrapper.framework.meta} +4 -4
- package/Plugins/iOS.meta +1 -1
- package/Plugins.meta +1 -1
- package/package.json +5 -5
- package/package.json.meta +2 -2
- package/Editor/XDGOverseaGradleContextProvider.cs +0 -521
- package/Editor/XDGOverseaGradleContextProvider.cs.meta +0 -11
- package/Editor/XDOverseaGenerateGradleAdapter.cs +0 -89
- package/Editor/XDOverseaGenerateGradleAdapter.cs.meta +0 -11
- package/Plugins/Android/libs/XDGPushGlobal_6.29.0.aar +0 -0
- package/Plugins/Android/libs/XDGShare_6.29.0.aar +0 -0
- package/Plugins/Android/libs/XDGThirdLogin_6.29.0.aar +0 -0
- package/Plugins/Android/libs/XDGThirdTrack_6.29.0.aar +0 -0
- package/Plugins/Android/libs/XDGThirdTrack_6.29.0.aar.meta +0 -32
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ar.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/de.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/de.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/de.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/en.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/en.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/es.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/es.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/fr.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/fr.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/fr.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/id.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/id.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/id.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/it.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/it.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/it.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ja.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ja.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ja.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ko.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ko.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ko.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ms.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ms.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ms.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_base.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_base.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_base@2x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_base@2x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_base@3x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_base@3x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_disable.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_disable.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_disable@2x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_disable@2x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_disable@3x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_disable@3x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_press.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_press.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_press@2x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_press@2x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_press@3x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/normal_btn_login_press@3x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/pt-BR.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/pt-BR.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/pt-BR.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/pt-PT.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/pt-PT.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/pt-PT.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ru.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ru.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/ru.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_base.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_base.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_base@2x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_base@2x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_base@3x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_base@3x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_disable.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_disable.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_disable@2x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_disable@2x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_disable@3x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_disable@3x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_press.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_press.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_press@2x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_press@2x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_press@3x.png +0 -0
- package/Plugins/iOS/Resource/LineSDKResource.bundle/small_btn_login_press@3x.png.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/th.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/th.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/th.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/tr.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/tr.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/tr.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/vi.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/vi.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/vi.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/zh-Hans.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/zh-Hans.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/zh-Hans.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle/zh-Hant.lproj/Localizable.strings +0 -1
- package/Plugins/iOS/Resource/LineSDKResource.bundle/zh-Hant.lproj/Localizable.strings.meta +0 -7
- package/Plugins/iOS/Resource/LineSDKResource.bundle/zh-Hant.lproj.meta +0 -8
- package/Plugins/iOS/Resource/LineSDKResource.bundle.meta +0 -75
- package/Plugins/iOS/XDAdjustWrapperSDK.framework/Headers/XDAdjustWrapperSDK.h +0 -18
- package/Plugins/iOS/XDAdjustWrapperSDK.framework/Headers/XDAdjustWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDAdjustWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDAdjustWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDAdjustWrapperSDK.framework/XDAdjustWrapperSDK +0 -0
- package/Plugins/iOS/XDAdjustWrapperSDK.framework/XDAdjustWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDAdjustWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Headers/XDAppsFlyerWrapperSDK.h +0 -19
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Headers/XDAppsFlyerWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Headers/XDGAppsFlyerWrapper.h +0 -16
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Headers/XDGAppsFlyerWrapper.h.meta +0 -7
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/XDAppsFlyerWrapperSDK +0 -0
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework/XDAppsFlyerWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDAppsFlyerWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Headers/XDFacebookWrapperSDK.h +0 -18
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Headers/XDFacebookWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/XDFacebookWrapperSDK +0 -0
- package/Plugins/iOS/XDFacebookWrapperSDK.framework/XDFacebookWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDFacebookWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Headers/XDFirebaseCrashlyticsWrapperSDK.h +0 -18
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Headers/XDFirebaseCrashlyticsWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/XDFirebaseCrashlyticsWrapperSDK +0 -0
- package/Plugins/iOS/XDFirebaseCrashlyticsWrapperSDK.framework/XDFirebaseCrashlyticsWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers/FIRMessaging.h +0 -406
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers/FIRMessaging.h.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers/XDFirebasePushWrapperSDK.h +0 -18
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers/XDFirebasePushWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers/XDGFirebasePushWrapper.h +0 -16
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers/XDGFirebasePushWrapper.h.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/XDFirebasePushWrapperSDK +0 -0
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework/XDFirebasePushWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDFirebasePushWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Headers/XDFirebaseWrapperSDK.h +0 -18
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Headers/XDFirebaseWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework/XDFirebaseWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDFirebaseWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Headers/XDGoogleWrapperSDK.h +0 -18
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Headers/XDGoogleWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Modules/module.modulemap +0 -6
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/XDGoogleWrapperSDK +0 -0
- package/Plugins/iOS/XDGoogleWrapperSDK.framework/XDGoogleWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDGoogleWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDLineWrapperSDK.framework/Headers/XDLineWrapperSDK-Swift.h.meta +0 -7
- package/Plugins/iOS/XDLineWrapperSDK.framework/Headers/XDLineWrapperSDK.h +0 -18
- package/Plugins/iOS/XDLineWrapperSDK.framework/Headers/XDLineWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDLineWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDLineWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule.meta +0 -8
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules/module.modulemap +0 -11
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDLineWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDLineWrapperSDK.framework/XDLineWrapperSDK +0 -0
- package/Plugins/iOS/XDLineWrapperSDK.framework/XDLineWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDLineWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Headers/XDTikTokWrapperSDK-Swift.h +0 -583
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Headers/XDTikTokWrapperSDK-Swift.h.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/Project.meta +0 -8
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/arm64-apple-ios.abi.json +0 -9
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/arm64-apple-ios.abi.json.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/arm64-apple-ios.swiftdoc.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule/arm64-apple-ios.swiftmodule.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/XDTikTokWrapperSDK.swiftmodule.meta +0 -8
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/module.modulemap +0 -4
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/XDTikTokWrapperSDK +0 -0
- package/Plugins/iOS/XDTikTokWrapperSDK.framework/XDTikTokWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDTikTokWrapperSDK.framework.meta +0 -81
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Headers/XDTwitterWrapperSDK-Swift.h +0 -445
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Headers/XDTwitterWrapperSDK-Swift.h.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Headers/XDTwitterWrapperSDK.h +0 -18
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Headers/XDTwitterWrapperSDK.h.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Headers.meta +0 -8
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Info.plist +0 -0
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Info.plist.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/Project.meta +0 -8
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/arm64-apple-ios.abi.json +0 -9
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/arm64-apple-ios.abi.json.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/arm64-apple-ios.swiftdoc.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/arm64-apple-ios.swiftmodule +0 -0
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule/arm64-apple-ios.swiftmodule.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/XDTwitterWrapperSDK.swiftmodule.meta +0 -8
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/module.modulemap +0 -11
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules/module.modulemap.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/Modules.meta +0 -8
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/XDTwitterWrapperSDK +0 -0
- package/Plugins/iOS/XDTwitterWrapperSDK.framework/XDTwitterWrapperSDK.meta +0 -7
- package/Plugins/iOS/XDTwitterWrapperSDK.framework.meta +0 -81
- /package/Plugins/iOS/{XDLineWrapperSDK.framework/Modules/XDLineWrapperSDK.swiftmodule → XDGlobalWrapper.framework/Modules/XDGlobalWrapper.swiftmodule}/arm64-apple-ios.abi.json +0 -0
|
@@ -1,521 +0,0 @@
|
|
|
1
|
-
#if UNITY_EDITOR && UNITY_ANDROID
|
|
2
|
-
using System.Collections.Generic;
|
|
3
|
-
using System.IO;
|
|
4
|
-
using UnityEngine;
|
|
5
|
-
using LC.Newtonsoft.Json;
|
|
6
|
-
using UnityEditor;
|
|
7
|
-
using UnityEditor.Build;
|
|
8
|
-
using UnityEditor.Build.Reporting;
|
|
9
|
-
using TapTap.AndroidDependencyResolver.Editor;
|
|
10
|
-
using XD.SDK.Common.Editor;
|
|
11
|
-
|
|
12
|
-
namespace XD.SDK.Oversea.Editor
|
|
13
|
-
{
|
|
14
|
-
public class XDGOverseaGradleProvider : IPreprocessBuildWithReport
|
|
15
|
-
{
|
|
16
|
-
public int callbackOrder => AndroidGradleProcessor.CALLBACK_ORDER - 50;
|
|
17
|
-
|
|
18
|
-
private string ProviderFilePath => Path.Combine(Application.dataPath, "XDSDK", "Gen", "Oversea");
|
|
19
|
-
|
|
20
|
-
#region Gradle Content String
|
|
21
|
-
|
|
22
|
-
private const string FIREBASE_GMS_PLUGIN = "apply plugin: 'com.google.gms.google-services'";
|
|
23
|
-
private const string FIREBASE_CRASH_PLUGIN = "apply plugin: 'com.google.firebase.crashlytics'";
|
|
24
|
-
private const string FIREBASE_CORE_DEP = " implementation 'com.google.firebase:firebase-core:18.0.0'";
|
|
25
|
-
private const string FIREBASE_ANALYTICS_DEP = " implementation \"com.google.firebase:firebase-analytics:21.3.0\"";
|
|
26
|
-
private const string FIREBASE_MSG_DEP = " implementation 'com.google.firebase:firebase-messaging:21.1.0'";
|
|
27
|
-
// 不是必须要 Google-Services.json
|
|
28
|
-
private const string GOOGLE_AUTH_DEP = " implementation 'com.google.android.gms:play-services-auth:16.0.1'";
|
|
29
|
-
private const string GMS_ADS_ID_DEP = " implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1'";
|
|
30
|
-
private const string AD_BILL_DEP = " implementation 'com.android.billingclient:billing:7.0.0'";
|
|
31
|
-
private const string GMS_CLASSPATH = " classpath 'com.google.gms:google-services:4.0.2'";
|
|
32
|
-
private const string GMS_CLASSPATH_AGP_7 = " id 'com.google.gms.google-services' version '4.3.15' apply false";
|
|
33
|
-
private const string FIREBASE_CRASH_CLASSPATH = " classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.1'";
|
|
34
|
-
private const string FIREBASE_CRASH_CLASSPATH_AGP_7 = " id 'com.google.firebase.crashlytics' version '2.9.5' apply false";
|
|
35
|
-
private const string FACEBOOK_LOGIN_DEP = " implementation 'com.facebook.android:facebook-login:17.0.2'";
|
|
36
|
-
private const string FACEBOOK_SHARE_DEP = " implementation 'com.facebook.android:facebook-share:17.0.2'";
|
|
37
|
-
private const string OBSOLETE_TWITTER_DEP = " implementation 'com.twitter.sdk.android:twitter:3.3.0'";
|
|
38
|
-
private const string OBSOLETE_TWITTE_COMPOSER_DEP = " implementation 'com.twitter.sdk.android:tweet-composer:3.3.0'";
|
|
39
|
-
private const string AF_INST_DEP = " implementation 'com.android.installreferrer:installreferrer:2.2'";
|
|
40
|
-
private const string APPSFLYER_DEP = " implementation 'com.appsflyer:af-android-sdk:6.15.0'";
|
|
41
|
-
private const string APPSFLYER_WRAPPER_DEP = " implementation 'com.appsflyer:unity-wrapper:6.15.1'";
|
|
42
|
-
private const string ADJUST_DEP = " implementation 'com.adjust.sdk:adjust-android:4.33.4'";
|
|
43
|
-
private const string OBSOLETE_LINE_DEP = " implementation 'com.linecorp:linesdk:5.0.1'";
|
|
44
|
-
|
|
45
|
-
private const string CHROME_CUSTOM_TAB_DEP = " implementation 'androidx.browser:browser:1.4.0'";
|
|
46
|
-
|
|
47
|
-
private const string TwitterSupportPicasso = " implementation 'com.squareup.picasso:picasso:2.5.2'";
|
|
48
|
-
private const string TwitterSupportText = " implementation 'com.twitter:twitter-text:1.14.7'";
|
|
49
|
-
private const string TwitterSupportCoreUi = " implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'";
|
|
50
|
-
private const string TwitterSupportRetrofitConvertGson = " implementation 'com.squareup.retrofit2:converter-gson:2.9.0'"; // Common 中也有,但是不影响,额外声明避免遗漏
|
|
51
|
-
private const string TwitterSupportAndroidXCore = " implementation 'androidx.core:core:1.5.0'";
|
|
52
|
-
|
|
53
|
-
private const string LineSdk = " implementation 'com.linecorp.linesdk:linesdk:5.8.1'";
|
|
54
|
-
private const string LineSupportViewModelKtx = " implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1'"; // 原生 Demo 中使用 Firebase Crashlytics 使用的版本,不使用可能会造成 Duplicate Class 问题
|
|
55
|
-
|
|
56
|
-
private const string TikTokCore = " implementation 'com.tiktok.open.sdk:tiktok-open-sdk-core:2.2.0'";
|
|
57
|
-
private const string TikTokShare = " implementation 'com.tiktok.open.sdk:tiktok-open-sdk-share:2.2.0'";
|
|
58
|
-
|
|
59
|
-
#endregion
|
|
60
|
-
|
|
61
|
-
private HashSet<string> OBSOLETE_DEPS = new HashSet<string>()
|
|
62
|
-
{
|
|
63
|
-
FIREBASE_CORE_DEP,
|
|
64
|
-
};
|
|
65
|
-
private HashSet<string> FirebaseIncludeLauncher = new HashSet<string>()
|
|
66
|
-
{
|
|
67
|
-
FIREBASE_CRASH_PLUGIN,
|
|
68
|
-
FIREBASE_GMS_PLUGIN,
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
private HashSet<string> FirebaseIncludeBase = new HashSet<string>()
|
|
72
|
-
{
|
|
73
|
-
GMS_CLASSPATH,
|
|
74
|
-
FIREBASE_CRASH_CLASSPATH,
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
private HashSet<string> FirebaseIncludeBaseAGP7 = new HashSet<string>()
|
|
78
|
-
{
|
|
79
|
-
GMS_CLASSPATH_AGP_7,
|
|
80
|
-
FIREBASE_CRASH_CLASSPATH_AGP_7
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
private HashSet<string> OverseaIncludeDeps = new HashSet<string>()
|
|
84
|
-
{
|
|
85
|
-
GMS_ADS_ID_DEP,
|
|
86
|
-
AD_BILL_DEP,
|
|
87
|
-
CHROME_CUSTOM_TAB_DEP,
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
private HashSet<string> GoogleIncludeDeps = new HashSet<string>()
|
|
91
|
-
{
|
|
92
|
-
GOOGLE_AUTH_DEP,
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
private HashSet<string> FirebaseIncludeDeps = new HashSet<string>()
|
|
96
|
-
{
|
|
97
|
-
FIREBASE_ANALYTICS_DEP,
|
|
98
|
-
FIREBASE_MSG_DEP,
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
private HashSet<string> FacebookIncludeDeps = new HashSet<string>()
|
|
102
|
-
{
|
|
103
|
-
FACEBOOK_LOGIN_DEP,
|
|
104
|
-
FACEBOOK_SHARE_DEP
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
private HashSet<string> TwitterIncludeDeps = new HashSet<string>()
|
|
108
|
-
{
|
|
109
|
-
OBSOLETE_TWITTER_DEP,
|
|
110
|
-
OBSOLETE_TWITTE_COMPOSER_DEP
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
private HashSet<string> AppsflyerIncludeDeps = new HashSet<string>()
|
|
114
|
-
{
|
|
115
|
-
APPSFLYER_DEP,
|
|
116
|
-
APPSFLYER_WRAPPER_DEP,
|
|
117
|
-
AF_INST_DEP
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
private HashSet<string> AdjustIncludeDeps = new HashSet<string>()
|
|
121
|
-
{
|
|
122
|
-
ADJUST_DEP,
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
private HashSet<string> LineIncludeDeps = new HashSet<string>()
|
|
126
|
-
{
|
|
127
|
-
OBSOLETE_LINE_DEP,
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
private readonly HashSet<string> _twitterSupportDeps = new HashSet<string>()
|
|
131
|
-
{
|
|
132
|
-
TwitterSupportPicasso,
|
|
133
|
-
TwitterSupportText,
|
|
134
|
-
TwitterSupportCoreUi,
|
|
135
|
-
TwitterSupportRetrofitConvertGson,
|
|
136
|
-
TwitterSupportAndroidXCore
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
private readonly HashSet<string> _lineSdkIncludeDeps = new HashSet<string>()
|
|
140
|
-
{
|
|
141
|
-
LineSdk,
|
|
142
|
-
LineSupportViewModelKtx,
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
private readonly HashSet<string> _tiktokIncludeDeps = new HashSet<string>()
|
|
146
|
-
{
|
|
147
|
-
TikTokCore,
|
|
148
|
-
TikTokShare,
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
public void OnPreprocessBuild(BuildReport report)
|
|
152
|
-
{
|
|
153
|
-
DeleteOldProvider();
|
|
154
|
-
var provider = FixProvider();
|
|
155
|
-
SaveProvider(provider);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
public static void OverseaRefresh()
|
|
159
|
-
{
|
|
160
|
-
var temp = new XDGOverseaGradleProvider();
|
|
161
|
-
temp.OnPreprocessBuild(null);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
private AndroidGradleContextProvider FixProvider()
|
|
165
|
-
{
|
|
166
|
-
AndroidGradleContextProvider result = new AndroidGradleContextProvider();
|
|
167
|
-
result.Version = 1;
|
|
168
|
-
result.Priority = 3;
|
|
169
|
-
result.Use = true;
|
|
170
|
-
result.ModuleName = "XD.Oversea";
|
|
171
|
-
var tmp = GetGradleContext();
|
|
172
|
-
result.AndroidGradleContext = tmp;
|
|
173
|
-
return result;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
private void DeleteOldProvider()
|
|
177
|
-
{
|
|
178
|
-
var folderPath = ProviderFilePath;
|
|
179
|
-
if (!Directory.Exists(folderPath)) return;
|
|
180
|
-
var path = Path.Combine(folderPath, "TapAndroidProvider.txt");
|
|
181
|
-
if (File.Exists(path)) File.Delete(path);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
private void SaveProvider(AndroidGradleContextProvider provider)
|
|
185
|
-
{
|
|
186
|
-
var folderPath = ProviderFilePath;
|
|
187
|
-
if (!Directory.Exists(folderPath))
|
|
188
|
-
{
|
|
189
|
-
Directory.CreateDirectory(folderPath);
|
|
190
|
-
AssetDatabase.Refresh();
|
|
191
|
-
}
|
|
192
|
-
var path = Path.Combine(folderPath, "TapAndroidProvider.txt");
|
|
193
|
-
AndroidUtils.SaveProvider(path, provider);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
private void DeleteOldOverseaContent()
|
|
197
|
-
{
|
|
198
|
-
var pluginsFolder = Path.Combine(Application.dataPath, "Plugins", "Android");
|
|
199
|
-
DeleteMainOldOverseaContent(pluginsFolder);
|
|
200
|
-
DeleteThirdPartyContent(pluginsFolder);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
private void DeleteOldGoogleContent()
|
|
204
|
-
{
|
|
205
|
-
var pluginsFolder = Path.Combine(Application.dataPath, "Plugins", "Android");
|
|
206
|
-
DeleteMainOldGoogleContent(pluginsFolder);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
private void DeleteOldFirebaseContent()
|
|
210
|
-
{
|
|
211
|
-
var pluginsFolder = Path.Combine(Application.dataPath, "Plugins", "Android");
|
|
212
|
-
DeleteMainOldFirebaseContent(pluginsFolder);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
private void DeleteObsoleteContent()
|
|
216
|
-
{
|
|
217
|
-
var pluginsFolder = Path.Combine(Application.dataPath, "Plugins", "Android");
|
|
218
|
-
var gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle");
|
|
219
|
-
if (!File.Exists(gradleTemplate))
|
|
220
|
-
{
|
|
221
|
-
gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle.DISABLED");
|
|
222
|
-
}
|
|
223
|
-
if (!File.Exists(gradleTemplate)) return;
|
|
224
|
-
var writerHelper = new XDGScriptHandlerProcessor(gradleTemplate);
|
|
225
|
-
|
|
226
|
-
foreach (var dep in OBSOLETE_DEPS)
|
|
227
|
-
{
|
|
228
|
-
writerHelper.Delete(dep);
|
|
229
|
-
}
|
|
230
|
-
writerHelper.Dispose();
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
private void DeleteMainOldOverseaContent(string pluginsFolder)
|
|
234
|
-
{
|
|
235
|
-
var gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle");
|
|
236
|
-
if (!File.Exists(gradleTemplate))
|
|
237
|
-
{
|
|
238
|
-
gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle.DISABLED");
|
|
239
|
-
}
|
|
240
|
-
if (!File.Exists(gradleTemplate)) return;
|
|
241
|
-
var writerHelper = new XDGScriptHandlerProcessor(gradleTemplate);
|
|
242
|
-
|
|
243
|
-
foreach (var dep in OverseaIncludeDeps)
|
|
244
|
-
{
|
|
245
|
-
writerHelper.Delete(dep);
|
|
246
|
-
}
|
|
247
|
-
writerHelper.Dispose();
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
private void DeleteMainOldGoogleContent(string pluginsFolder)
|
|
251
|
-
{
|
|
252
|
-
var gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle");
|
|
253
|
-
if (!File.Exists(gradleTemplate))
|
|
254
|
-
{
|
|
255
|
-
gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle.DISABLED");
|
|
256
|
-
}
|
|
257
|
-
if (!File.Exists(gradleTemplate)) return;
|
|
258
|
-
var writerHelper = new XDGScriptHandlerProcessor(gradleTemplate);
|
|
259
|
-
|
|
260
|
-
foreach (var dep in GoogleIncludeDeps)
|
|
261
|
-
{
|
|
262
|
-
writerHelper.Delete(dep);
|
|
263
|
-
}
|
|
264
|
-
writerHelper.Dispose();
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
private void DeleteMainOldFirebaseContent(string pluginsFolder)
|
|
268
|
-
{
|
|
269
|
-
var gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle");
|
|
270
|
-
if (!File.Exists(gradleTemplate))
|
|
271
|
-
{
|
|
272
|
-
gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle.DISABLED");
|
|
273
|
-
}
|
|
274
|
-
if (!File.Exists(gradleTemplate)) return;
|
|
275
|
-
var writerHelper = new XDGScriptHandlerProcessor(gradleTemplate);
|
|
276
|
-
|
|
277
|
-
foreach (var dep in FirebaseIncludeDeps)
|
|
278
|
-
{
|
|
279
|
-
writerHelper.Delete(dep);
|
|
280
|
-
}
|
|
281
|
-
writerHelper.Dispose();
|
|
282
|
-
|
|
283
|
-
var launcherTemplate = Path.Combine(pluginsFolder, "launcherTemplate.gradle");
|
|
284
|
-
if (!File.Exists(launcherTemplate))
|
|
285
|
-
{
|
|
286
|
-
launcherTemplate = Path.Combine(pluginsFolder, "launcherTemplate.gradle.DISABLED");
|
|
287
|
-
}
|
|
288
|
-
if (!File.Exists(launcherTemplate)) return;
|
|
289
|
-
writerHelper = new XDGScriptHandlerProcessor(launcherTemplate);
|
|
290
|
-
|
|
291
|
-
foreach (var dep in FirebaseIncludeLauncher)
|
|
292
|
-
{
|
|
293
|
-
writerHelper.Delete(dep);
|
|
294
|
-
}
|
|
295
|
-
writerHelper.Dispose();
|
|
296
|
-
|
|
297
|
-
var baseProjectTemplate = Path.Combine(pluginsFolder, "baseProjectTemplate.gradle");
|
|
298
|
-
if (!File.Exists(baseProjectTemplate))
|
|
299
|
-
{
|
|
300
|
-
baseProjectTemplate = Path.Combine(pluginsFolder, "baseProjectTemplate.gradle.DISABLED");
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
if (!File.Exists(baseProjectTemplate)) return;
|
|
304
|
-
writerHelper = new XDGScriptHandlerProcessor(baseProjectTemplate);
|
|
305
|
-
|
|
306
|
-
foreach (var dep in FirebaseIncludeBase)
|
|
307
|
-
{
|
|
308
|
-
writerHelper.Delete(dep);
|
|
309
|
-
}
|
|
310
|
-
foreach (var dep in FirebaseIncludeBaseAGP7)
|
|
311
|
-
{
|
|
312
|
-
writerHelper.Delete(dep);
|
|
313
|
-
}
|
|
314
|
-
writerHelper.Dispose();
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
private void DeleteThirdPartyContent(string pluginsFolder)
|
|
318
|
-
{
|
|
319
|
-
var gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle");
|
|
320
|
-
if (!File.Exists(gradleTemplate))
|
|
321
|
-
{
|
|
322
|
-
gradleTemplate = Path.Combine(pluginsFolder, "mainTemplate.gradle.DISABLED");
|
|
323
|
-
}
|
|
324
|
-
if (!File.Exists(gradleTemplate)) return;
|
|
325
|
-
var writerHelper = new XDGScriptHandlerProcessor(gradleTemplate);
|
|
326
|
-
foreach (var dep in FacebookIncludeDeps)
|
|
327
|
-
{
|
|
328
|
-
writerHelper.Delete(dep);
|
|
329
|
-
}
|
|
330
|
-
foreach (var dep in TwitterIncludeDeps)
|
|
331
|
-
{
|
|
332
|
-
writerHelper.Delete(dep);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
foreach (var dep in _twitterSupportDeps)
|
|
336
|
-
{
|
|
337
|
-
writerHelper.Delete(dep);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
foreach (var dep in AppsflyerIncludeDeps)
|
|
341
|
-
{
|
|
342
|
-
writerHelper.Delete(dep);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
foreach (var dep in AdjustIncludeDeps)
|
|
346
|
-
{
|
|
347
|
-
writerHelper.Delete(dep);
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
foreach (var dep in LineIncludeDeps)
|
|
351
|
-
{
|
|
352
|
-
writerHelper.Delete(dep);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
foreach (var dep in _lineSdkIncludeDeps)
|
|
356
|
-
{
|
|
357
|
-
writerHelper.Delete(dep);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
foreach (var dep in _tiktokIncludeDeps)
|
|
361
|
-
{
|
|
362
|
-
writerHelper.Delete(dep);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
writerHelper.Dispose();
|
|
366
|
-
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
public List<AndroidGradleContext> GetGradleContext()
|
|
370
|
-
{
|
|
371
|
-
var result = new List<AndroidGradleContext>();
|
|
372
|
-
|
|
373
|
-
var xdconfigPath = XDGCommonEditorUtils.GetXDConfigPath("XDConfig");
|
|
374
|
-
if (!File.Exists(xdconfigPath))
|
|
375
|
-
{
|
|
376
|
-
Debug.LogError("XDConfig.json 配置文件不存在!");
|
|
377
|
-
return result;
|
|
378
|
-
}
|
|
379
|
-
var configMd = JsonConvert.DeserializeObject<XDConfigModel>(File.ReadAllText(xdconfigPath));
|
|
380
|
-
if (configMd == null)
|
|
381
|
-
{
|
|
382
|
-
Debug.LogError("XDConfig.json 解析失败!");
|
|
383
|
-
return result;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
AndroidGradleContext thirdPartyDeps = null;
|
|
387
|
-
DeleteObsoleteContent();
|
|
388
|
-
DeleteOldOverseaContent();
|
|
389
|
-
DeleteOldFirebaseContent();
|
|
390
|
-
DeleteOldGoogleContent();
|
|
391
|
-
|
|
392
|
-
var firebaseCoreDeps = new AndroidGradleContext();
|
|
393
|
-
firebaseCoreDeps.locationType = AndroidGradleLocationType.Builtin;
|
|
394
|
-
firebaseCoreDeps.locationParam = "DEPS";
|
|
395
|
-
firebaseCoreDeps.templateType = CustomTemplateType.UnityMainGradle;
|
|
396
|
-
firebaseCoreDeps.processContent = new List<string>(OverseaIncludeDeps);
|
|
397
|
-
result.Add(firebaseCoreDeps);
|
|
398
|
-
|
|
399
|
-
if (XDGCommonGradleProvider.IsNeedFirebaseDep(configMd))
|
|
400
|
-
{
|
|
401
|
-
var firebaseLancherDeps = new AndroidGradleContext();
|
|
402
|
-
firebaseLancherDeps.locationType = AndroidGradleLocationType.Custom;
|
|
403
|
-
firebaseLancherDeps.locationParam = "apply plugin: ['\"]com.android.application['\"]";
|
|
404
|
-
firebaseLancherDeps.templateType = CustomTemplateType.LauncherGradle;
|
|
405
|
-
firebaseLancherDeps.processContent = new List<string>(FirebaseIncludeLauncher);
|
|
406
|
-
result.Add(firebaseLancherDeps);
|
|
407
|
-
|
|
408
|
-
#if UNITY_2022_2_OR_NEWER
|
|
409
|
-
var firebaseClassPathAgp7Dependencies = new AndroidGradleContext
|
|
410
|
-
{
|
|
411
|
-
locationType = AndroidGradleLocationType.Custom,
|
|
412
|
-
locationParam = @"id 'com.android.library' version '\d+.\d+.\d+' apply false",
|
|
413
|
-
templateType = CustomTemplateType.BaseGradle,
|
|
414
|
-
unityVersionCompatibleType = UnityVersionCompatibleType.EveryVersion,
|
|
415
|
-
processContent = new List<string>(FirebaseIncludeBaseAGP7)
|
|
416
|
-
};
|
|
417
|
-
result.Add(firebaseClassPathAgp7Dependencies);
|
|
418
|
-
#else
|
|
419
|
-
var firebaseClassPathDependencies = new AndroidGradleContext();
|
|
420
|
-
firebaseClassPathDependencies.locationType = AndroidGradleLocationType.Custom;
|
|
421
|
-
firebaseClassPathDependencies.locationParam = @"classpath 'com.android.tools.build:gradle:\d+.\d+.\d+'";
|
|
422
|
-
firebaseClassPathDependencies.templateType = CustomTemplateType.BaseGradle;
|
|
423
|
-
firebaseClassPathDependencies.unityVersionCompatibleType = UnityVersionCompatibleType.EveryVersion;
|
|
424
|
-
firebaseClassPathDependencies.processContent = new List<string>(FirebaseIncludeBase);
|
|
425
|
-
result.Add(firebaseClassPathDependencies);
|
|
426
|
-
#endif
|
|
427
|
-
|
|
428
|
-
var firebaseIncludeDeps = new AndroidGradleContext();
|
|
429
|
-
firebaseIncludeDeps.locationType = AndroidGradleLocationType.Builtin;
|
|
430
|
-
firebaseIncludeDeps.locationParam = "DEPS";
|
|
431
|
-
firebaseIncludeDeps.templateType = CustomTemplateType.UnityMainGradle;
|
|
432
|
-
firebaseIncludeDeps.processContent = new List<string>();
|
|
433
|
-
firebaseIncludeDeps.processContent.AddRange(FirebaseIncludeDeps);
|
|
434
|
-
result.Add(firebaseIncludeDeps);
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
//配置第三方库
|
|
438
|
-
if (XDGCommonGradleProvider.IsNeedGoogleDep(configMd))
|
|
439
|
-
{
|
|
440
|
-
var googleIncludeDeps = new AndroidGradleContext();
|
|
441
|
-
googleIncludeDeps.locationType = AndroidGradleLocationType.Builtin;
|
|
442
|
-
googleIncludeDeps.locationParam = "DEPS";
|
|
443
|
-
googleIncludeDeps.templateType = CustomTemplateType.UnityMainGradle;
|
|
444
|
-
googleIncludeDeps.processContent = new List<string>();
|
|
445
|
-
googleIncludeDeps.processContent.AddRange(GoogleIncludeDeps);
|
|
446
|
-
result.Add(googleIncludeDeps);
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
var contents = GetGradleContextByXDConfig();
|
|
450
|
-
if (contents != null) result.AddRange(contents);
|
|
451
|
-
return result;
|
|
452
|
-
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
private List<AndroidGradleContext> GetGradleContextByXDConfig()
|
|
456
|
-
{
|
|
457
|
-
var result = new List<AndroidGradleContext>();
|
|
458
|
-
|
|
459
|
-
var jsonPath = XDGCommonEditorUtils.GetXDConfigPath("XDConfig");
|
|
460
|
-
if (!File.Exists(jsonPath))
|
|
461
|
-
{
|
|
462
|
-
Debug.LogError("XDConfig.json 配置文件不存在!");
|
|
463
|
-
return result;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
var configMd = JsonConvert.DeserializeObject<XDConfigModel>(File.ReadAllText(jsonPath));
|
|
467
|
-
if (configMd == null)
|
|
468
|
-
{
|
|
469
|
-
Debug.LogError("XDConfig.json 解析失败!");
|
|
470
|
-
return result;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
var thirdPartyDeps = new AndroidGradleContext();
|
|
474
|
-
thirdPartyDeps.locationType = AndroidGradleLocationType.Builtin;
|
|
475
|
-
thirdPartyDeps.locationParam = "DEPS";
|
|
476
|
-
thirdPartyDeps.templateType = CustomTemplateType.UnityMainGradle;
|
|
477
|
-
thirdPartyDeps.processContent = new List<string>();
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
//配置第三方库
|
|
481
|
-
if (configMd.facebook != null && !string.IsNullOrEmpty(configMd.facebook.app_id))
|
|
482
|
-
{
|
|
483
|
-
thirdPartyDeps.processContent.AddRange(FacebookIncludeDeps);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
if (configMd.twitter != null && !string.IsNullOrEmpty(configMd.twitter.consumer_key))
|
|
487
|
-
{
|
|
488
|
-
thirdPartyDeps.processContent.AddRange(_twitterSupportDeps);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
if (configMd.appsflyer != null && (!string.IsNullOrEmpty(configMd.appsflyer.dev_key_android) || !string.IsNullOrEmpty(configMd.appsflyer.dev_key)))
|
|
492
|
-
{
|
|
493
|
-
thirdPartyDeps.processContent.AddRange(AppsflyerIncludeDeps);
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
if (configMd.adjust != null && !string.IsNullOrEmpty(configMd.adjust.app_token))
|
|
497
|
-
{
|
|
498
|
-
thirdPartyDeps.processContent.AddRange(AdjustIncludeDeps);
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
if (configMd.line != null && !string.IsNullOrEmpty(configMd.line.channel_id))
|
|
502
|
-
{
|
|
503
|
-
thirdPartyDeps.processContent.AddRange(_lineSdkIncludeDeps);
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
if (configMd.tiktok != null && !string.IsNullOrEmpty(configMd.tiktok.client_key))
|
|
507
|
-
{
|
|
508
|
-
thirdPartyDeps.processContent.AddRange(_tiktokIncludeDeps);
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
if (thirdPartyDeps.processContent.Count > 0)
|
|
512
|
-
{
|
|
513
|
-
result.Add(thirdPartyDeps);
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
return result;
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
#endif
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
#if UNITY_EDITOR && UNITY_ANDROID
|
|
2
|
-
using System.IO;
|
|
3
|
-
using LC.Newtonsoft.Json;
|
|
4
|
-
using TapTap.AndroidDependencyResolver.Editor;
|
|
5
|
-
using UnityEditor.Android;
|
|
6
|
-
using UnityEngine;
|
|
7
|
-
using XD.SDK.Common.Editor;
|
|
8
|
-
|
|
9
|
-
namespace XD.SDK.Mainland.Editor
|
|
10
|
-
{
|
|
11
|
-
public class XDOverseaGenerateGradleAdapter : IPostGenerateGradleAndroidProject
|
|
12
|
-
{
|
|
13
|
-
private const string UnityLibraryName = "unityLibrary";
|
|
14
|
-
|
|
15
|
-
private const string TwitterComposerArtifact = "tweet-composer-3.3.1";
|
|
16
|
-
private const string TwitterUiArtifact = "tweet-ui-3.3.1";
|
|
17
|
-
private const string TwitterTwitterArtifact = "twitter-3.3.1";
|
|
18
|
-
private const string TwitterCoreArtifact = "twitter-core-3.3.1";
|
|
19
|
-
|
|
20
|
-
public int callbackOrder => AndroidGradleProcessor.CALLBACK_ORDER - 51;
|
|
21
|
-
|
|
22
|
-
public void OnPostGenerateGradleAndroidProject(string path)
|
|
23
|
-
{
|
|
24
|
-
var xdConfigJsonPath = XDGCommonEditorUtils.GetXDConfigPath();
|
|
25
|
-
if (!File.Exists(xdConfigJsonPath))
|
|
26
|
-
{
|
|
27
|
-
Debug.LogError("XDConfig.json not found.");
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
var configMd = JsonConvert.DeserializeObject<XDConfigModel>(File.ReadAllText(xdConfigJsonPath));
|
|
32
|
-
if (configMd == null)
|
|
33
|
-
{
|
|
34
|
-
Debug.LogError("Parse XDConfig.json failed.");
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var rootPath = path;
|
|
39
|
-
if (rootPath.Contains(UnityLibraryName))
|
|
40
|
-
{
|
|
41
|
-
rootPath = rootPath.Substring(0, rootPath.Length - UnityLibraryName.Length);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
FixTwitterDependencies(configMd, rootPath);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
private static void FixTwitterDependencies(XDConfigModel configMd, string rootPath)
|
|
48
|
-
{
|
|
49
|
-
if (configMd.twitter != null && !string.IsNullOrEmpty(configMd.twitter.consumer_key))
|
|
50
|
-
{
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
string buildGradleFilePath;
|
|
55
|
-
#if UNITY_2019_3_OR_NEWER
|
|
56
|
-
buildGradleFilePath = Path.Combine(rootPath, "unityLibrary/build.gradle");
|
|
57
|
-
#else
|
|
58
|
-
buildGradleFilePath = Path.Combine(rootPath, "build.gradle");
|
|
59
|
-
#endif
|
|
60
|
-
if (!File.Exists(buildGradleFilePath))
|
|
61
|
-
{
|
|
62
|
-
Debug.LogWarning("Oversea Fix Dependencies failed, build.gradle file not found.");
|
|
63
|
-
return;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
var allContentLines = File.ReadAllLines(buildGradleFilePath);
|
|
67
|
-
|
|
68
|
-
var hasChanged = false;
|
|
69
|
-
for (var i = 0; i < allContentLines.Length; i++)
|
|
70
|
-
{
|
|
71
|
-
var lineContent = allContentLines[i];
|
|
72
|
-
if (!lineContent.Contains(TwitterComposerArtifact)
|
|
73
|
-
&& !lineContent.Contains(TwitterUiArtifact)
|
|
74
|
-
&& !lineContent.Contains(TwitterTwitterArtifact)
|
|
75
|
-
&& !lineContent.Contains(TwitterCoreArtifact)) continue;
|
|
76
|
-
|
|
77
|
-
hasChanged = true;
|
|
78
|
-
Debug.LogFormat($"Disable dependencies: {lineContent}");
|
|
79
|
-
allContentLines[i] = "// " + lineContent;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
if (hasChanged)
|
|
83
|
-
{
|
|
84
|
-
File.WriteAllLines(buildGradleFilePath, allContentLines);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
#endif
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: b552e55400dec43a4b774a15917c696d
|
|
3
|
-
PluginImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
iconMap: {}
|
|
7
|
-
executionOrder: {}
|
|
8
|
-
defineConstraints: []
|
|
9
|
-
isPreloaded: 0
|
|
10
|
-
isOverridable: 0
|
|
11
|
-
isExplicitlyReferenced: 0
|
|
12
|
-
validateReferences: 1
|
|
13
|
-
platformData:
|
|
14
|
-
- first:
|
|
15
|
-
Android: Android
|
|
16
|
-
second:
|
|
17
|
-
enabled: 1
|
|
18
|
-
settings: {}
|
|
19
|
-
- first:
|
|
20
|
-
Any:
|
|
21
|
-
second:
|
|
22
|
-
enabled: 0
|
|
23
|
-
settings: {}
|
|
24
|
-
- first:
|
|
25
|
-
Editor: Editor
|
|
26
|
-
second:
|
|
27
|
-
enabled: 0
|
|
28
|
-
settings:
|
|
29
|
-
DefaultValueInitialized: true
|
|
30
|
-
userData:
|
|
31
|
-
assetBundleName:
|
|
32
|
-
assetBundleVariant:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"linesdk.login.button.login" = "تسجيل دخول باستخدام LINE";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"linesdk.login.button.login" = "Mit LINE anmelden";
|