├── fastlane
├── Appfile
├── report.xml
├── Appfile.meta
├── fastfile.meta
├── README.md.meta
├── report.xml.meta
├── README.md
└── Fastfile
├── Runtime
├── Qonversion.Unity.Sdk.asmdef
├── Scripts
│ ├── Dto
│ │ ├── User.cs.meta
│ │ ├── Environment.cs.meta
│ │ ├── LaunchMode.cs.meta
│ │ ├── ProductType.cs.meta
│ │ ├── PurchaseModel.cs.meta
│ │ ├── UserProperties.cs.meta
│ │ ├── UserProperty.cs.meta
│ │ ├── PromotionalOffer.cs.meta
│ │ ├── PurchaseOptions.cs.meta
│ │ ├── PurchaseUpdateModel.cs.meta
│ │ ├── RemoteConfigList.cs.meta
│ │ ├── SubscriptionPeriod.cs.meta
│ │ ├── PurchaseOptionsBuilder.cs.meta
│ │ ├── PurchaseUpdatePolicy.cs.meta
│ │ ├── ScreenPresentationConfig.cs.meta
│ │ ├── ScreenPresentationStyle.cs.meta
│ │ ├── SubscriptionPeriodUnit.cs.meta
│ │ ├── SkProduct
│ │ │ ├── SKPraymentDiscount.cs.meta
│ │ │ ├── SKProduct.cs.meta
│ │ │ ├── SKProductDiscount.cs.meta
│ │ │ ├── SKProductSubscriptionPeriod.cs.meta
│ │ │ ├── SKProductSubscriptionPeriod.cs
│ │ │ ├── SKPraymentDiscount.cs
│ │ │ ├── SKProductDiscount.cs
│ │ │ └── SKProduct.cs
│ │ ├── ProductStoreDetails
│ │ │ ├── ProductInstallmentPlanDetails.cs.meta
│ │ │ ├── PricingPhaseType.cs.meta
│ │ │ ├── ProductPrice.cs.meta
│ │ │ ├── ProductInAppDetails.cs.meta
│ │ │ ├── ProductOfferDetails.cs.meta
│ │ │ ├── ProductPricingPhase.cs.meta
│ │ │ ├── ProductStoreDetails.cs.meta
│ │ │ ├── PricingPhaseRecurrenceMode.cs.meta
│ │ │ ├── PricingPhaseRecurrenceMode.cs
│ │ │ ├── PricingPhaseType.cs
│ │ │ ├── ProductInAppDetails.cs
│ │ │ ├── ProductInstallmentPlanDetails.cs
│ │ │ ├── ProductPrice.cs
│ │ │ ├── ProductPricingPhase.cs
│ │ │ └── ProductOfferDetails.cs
│ │ ├── Environment.cs
│ │ ├── LaunchMode.cs
│ │ ├── SkProduct.meta
│ │ ├── EligibilityStatus.cs
│ │ ├── ProductStoreDetails.meta
│ │ ├── SubscriptionPeriodUnit.cs
│ │ ├── ActionResultType.cs
│ │ ├── AttributionProvider.cs
│ │ ├── Eligibility.cs.meta
│ │ ├── Entitlement.cs.meta
│ │ ├── EntitlementsCacheLifetime.cs
│ │ ├── Experiment.cs.meta
│ │ ├── Offering.cs.meta
│ │ ├── Offerings.cs.meta
│ │ ├── Product.cs.meta
│ │ ├── SkuDetails.cs.meta
│ │ ├── Transaction.cs.meta
│ │ ├── ActionResult.cs.meta
│ │ ├── ActionResultType.cs.meta
│ │ ├── AutomationsEvent.cs.meta
│ │ ├── ExperimentGroup.cs.meta
│ │ ├── QonversionError.cs.meta
│ │ ├── RemoteConfig.cs.meta
│ │ ├── UserPropertyKey.cs.meta
│ │ ├── AttributionProvider.cs.meta
│ │ ├── AutomationsDelegate.cs.meta
│ │ ├── AutomationsEventType.cs.meta
│ │ ├── EligibilityStatus.cs.meta
│ │ ├── EntitlementsCacheLifetime.cs.meta
│ │ ├── RemoteConfigurationSource.cs.meta
│ │ ├── UserPropertyKey.cs
│ │ ├── ProductType.cs
│ │ ├── AutomationsEventType.cs
│ │ ├── ScreenPresentationStyle.cs
│ │ ├── Experiment.cs
│ │ ├── PromotionalOffer.cs
│ │ ├── User.cs
│ │ ├── Offerings.cs
│ │ ├── PurchaseModel.cs
│ │ ├── PurchaseUpdatePolicy.cs
│ │ ├── RemoteConfig.cs
│ │ ├── RemoteConfigList.cs
│ │ ├── Eligibility.cs
│ │ ├── ExperimentGroup.cs
│ │ ├── ScreenPresentationConfig.cs
│ │ ├── Offering.cs
│ │ ├── PurchaseUpdateModel.cs
│ │ ├── AutomationsDelegate.cs
│ │ ├── PurchaseOptions.cs
│ │ ├── SubscriptionPeriod.cs
│ │ ├── ActionResult.cs
│ │ ├── UserProperty.cs
│ │ ├── RemoteConfigurationSource.cs
│ │ ├── AutomationsEvent.cs
│ │ ├── QonversionError.cs
│ │ ├── PurchaseOptionsBuilder.cs
│ │ ├── SkuDetails.cs
│ │ └── UserProperties.cs
│ ├── Internal.meta
│ ├── IAutomations.cs.meta
│ ├── IQonversion.cs.meta
│ ├── Qonversion.cs.meta
│ ├── Internal
│ │ ├── wrappers.meta
│ │ ├── AutomationsInternal.cs.meta
│ │ ├── wrappers
│ │ │ ├── automations.meta
│ │ │ ├── qonversion.meta
│ │ │ ├── automations
│ │ │ │ ├── AutomationsWrapperNoop.cs.meta
│ │ │ │ ├── IAutomationsWrapper.cs.meta
│ │ │ │ ├── IAutomationsWrapper.cs
│ │ │ │ └── AutomationsWrapperNoop.cs
│ │ │ └── qonversion
│ │ │ │ ├── IQonversionWrapper.cs.meta
│ │ │ │ ├── QonversionWrapperNoop.cs.meta
│ │ │ │ ├── IQonversionWrapper.cs
│ │ │ │ └── QonversionWrapperNoop.cs
│ │ ├── Constants.cs
│ │ ├── Mapper.cs.meta
│ │ ├── Utils.cs.meta
│ │ ├── Constants.cs.meta
│ │ ├── QonversionInternal.cs.meta
│ │ ├── Utils.cs
│ │ └── AutomationsInternal.cs
│ ├── QonversionConfig.cs.meta
│ ├── QonversionConfigBuilder.cs.meta
│ ├── Dto.meta
│ ├── .idea
│ │ └── .idea.Scripts.dir
│ │ │ └── .idea
│ │ │ ├── encodings.xml
│ │ │ ├── vcs.xml
│ │ │ ├── indexLayout.xml
│ │ │ └── .gitignore
│ ├── Automations.cs.meta
│ ├── QonversionConfig.cs
│ ├── Automations.cs
│ ├── IAutomations.cs
│ ├── QonversionConfigBuilder.cs
│ └── Qonversion.cs
├── iOS
│ ├── AutomationsWrapperIOS.cs.meta
│ ├── Plugins.meta
│ ├── Plugins
│ │ ├── Common.meta
│ │ ├── Common
│ │ │ ├── UtilityBridge.h.meta
│ │ │ ├── QNUAutomationsDelegate.h.meta
│ │ │ ├── QNUAutomationsDelegate.h
│ │ │ ├── UtilityBridge.m.meta
│ │ │ ├── QNUAutomationsDelegate.m.meta
│ │ │ ├── UtilityBridge.h
│ │ │ ├── QNUAutomationsDelegate.m
│ │ │ └── UtilityBridge.m
│ │ ├── QonversionBridge.m.meta
│ │ ├── AutomationsBridge.m.meta
│ │ └── AutomationsBridge.m
│ ├── QonversionWrapperIOS.cs.meta
│ └── AutomationsWrapperIOS.cs
├── Android
│ ├── AutomationsWrapperAndroid.cs.meta
│ ├── Plugins
│ │ ├── com
│ │ │ ├── qonversion
│ │ │ │ ├── unitywrapper
│ │ │ │ │ ├── Utils.java.meta
│ │ │ │ │ ├── MessageSender.java.meta
│ │ │ │ │ ├── QonversionWrapper.java.meta
│ │ │ │ │ ├── AutomationsWrapper.java.meta
│ │ │ │ │ ├── MessageSender.java
│ │ │ │ │ ├── Utils.java
│ │ │ │ │ └── AutomationsWrapper.java
│ │ │ │ └── unitywrapper.meta
│ │ │ └── qonversion.meta
│ │ └── com.meta
│ ├── Plugins.meta
│ ├── QonversionWrapperAndroid.cs.meta
│ └── AutomationsWrapperAndroid.cs
├── Common.meta
├── iOS.meta
├── Android.meta
├── Scripts.meta
├── Common
│ ├── MiniJSON.meta
│ ├── MiniJson.cs.meta
│ ├── MiniJSON
│ │ ├── Json.cs.meta
│ │ ├── MiniJsonExtensions.cs.meta
│ │ └── MiniJsonExtensions.cs
│ └── MiniJson.cs
└── Qonversion.Unity.Sdk.asmdef.meta
├── img
├── UnityQonversionLauncher.png
└── UnityQonversionLauncher.png.meta
├── README.md.meta
├── package.json.meta
├── img.meta
├── Editor.meta
├── Runtime.meta
├── fastlane.meta
├── Editor
├── QonversionDependencies.xml.meta
└── QonversionDependencies.xml
├── .github
└── workflows
│ ├── stale_issues.yml
│ ├── release_pull_requests.yml
│ ├── manual_minor_prerelease.yml
│ ├── manual_patch_prerelease.yml
│ ├── upgrade_sandwich.yml
│ └── prerelease_github.yml
├── package.json
├── .gitignore
└── README.md
/fastlane/Appfile:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Runtime/Qonversion.Unity.Sdk.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Qonversion.Unity.Sdk"
3 | }
4 |
--------------------------------------------------------------------------------
/img/UnityQonversionLauncher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/qonversion/unity-sdk/HEAD/img/UnityQonversionLauncher.png
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/User.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e90e3bc36aae4e069c0c373e53427b0c
3 | timeCreated: 1668747828
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 00384c60219c4bda98b08e4f7c65bc6f
3 | timeCreated: 1668672384
--------------------------------------------------------------------------------
/Runtime/Scripts/IAutomations.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1bf6adea119149b5a8575fd688405c1d
3 | timeCreated: 1670849785
--------------------------------------------------------------------------------
/Runtime/Scripts/IQonversion.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9ded0a1938a14b2788563e72c5f7fbd6
3 | timeCreated: 1670849923
--------------------------------------------------------------------------------
/Runtime/Scripts/Qonversion.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3d153a0da53e4ab38cd2815b94987e82
3 | timeCreated: 1668681655
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Environment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1b02fbe89ab349a59491d47e9ca2329d
3 | timeCreated: 1668682691
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/LaunchMode.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 24dcbe0f097a40c59733cfbd46312398
3 | timeCreated: 1668682749
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductType.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8243ed1d06a04a3a9affcba77e8e2b98
3 | timeCreated: 1701454390
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PurchaseModel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d23e34be58ec4d1aae93cd7de23b3825
3 | timeCreated: 1701455044
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/UserProperties.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1e8d7ac2990e44f2972a103d52a7b30d
3 | timeCreated: 1691165498
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/UserProperty.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 93d0d943d5504615ab21656f2090226c
3 | timeCreated: 1691165220
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bc8c98aad7534db3bf2a3733e1e9b9eb
3 | timeCreated: 1668776043
--------------------------------------------------------------------------------
/Runtime/Scripts/QonversionConfig.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 081671b389ce42258e66635391aa5c2f
3 | timeCreated: 1668682590
--------------------------------------------------------------------------------
/Runtime/iOS/AutomationsWrapperIOS.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 833a9b7bdb0a43228b1153c40421e900
3 | timeCreated: 1668776223
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PromotionalOffer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f3b6b8019f7640c7840cc65821a1d7a4
3 | timeCreated: 1732029067
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PurchaseOptions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4ad1a7d219a24e79b8b3d51c4e830b2f
3 | timeCreated: 1725357220
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PurchaseUpdateModel.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f3649a3b94f94417a8ba61fa41937e6b
3 | timeCreated: 1701455222
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/RemoteConfigList.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c04d46990d4d4e03b14436e3cb92ce0e
3 | timeCreated: 1711619835
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SubscriptionPeriod.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 70b23c73445d4949880a71a288548384
3 | timeCreated: 1701437706
--------------------------------------------------------------------------------
/Runtime/Scripts/QonversionConfigBuilder.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e965105671494d86988de6e150a1a2a3
3 | timeCreated: 1668683063
--------------------------------------------------------------------------------
/Runtime/Android/AutomationsWrapperAndroid.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bf1469979a8544c5b531368ea34cec2f
3 | timeCreated: 1668776137
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PurchaseOptionsBuilder.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8c9a321d73824a668433f26898c31b17
3 | timeCreated: 1725357426
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PurchaseUpdatePolicy.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 11d8a5507d73422bae604dc45573a52f
3 | timeCreated: 1701455289
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ScreenPresentationConfig.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c6a0a1bedf494be7901137a0ffbcc70b
3 | timeCreated: 1674808729
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ScreenPresentationStyle.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c9772f14cb44431faca69bb2a0841fd6
3 | timeCreated: 1674808596
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SubscriptionPeriodUnit.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2e3484a14d3e49c7b358851431e2bb66
3 | timeCreated: 1701437751
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/AutomationsInternal.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c4a786ad04fb4a94b86844c34f317f23
3 | timeCreated: 1668753627
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/automations.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d39ad171d37c4033a7b7a4c23c0ea18a
3 | timeCreated: 1668776048
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/qonversion.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b14757828b514a959d4e299c27c50782
3 | timeCreated: 1668776059
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkProduct/SKPraymentDiscount.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 446d731fe6b84b17a0ae9f3ce196f7e2
3 | timeCreated: 1732029963
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper/Utils.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1b5c0dd49367425db4e808bbc38580bf
3 | timeCreated: 1670833335
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductInstallmentPlanDetails.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e15d639930374a54829f77585619d381
3 | timeCreated: 1719504789
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/automations/AutomationsWrapperNoop.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: efc8a0074ad9d48879dfbbec563b3225
3 | timeCreated: 1668776080
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/automations/IAutomationsWrapper.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e55580a6da23457280c02026ad96b05d
3 | timeCreated: 1668776004
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Environment.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum Environment
4 | {
5 | Sandbox,
6 | Production
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/LaunchMode.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum LaunchMode
4 | {
5 | Analytics,
6 | SubscriptionManagement
7 | }
8 | }
--------------------------------------------------------------------------------
/fastlane/report.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/Constants.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | internal static class Constants
4 | {
5 | public const int PriceMicrosRatio = 1000000;
6 | }
7 | }
--------------------------------------------------------------------------------
/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5a66fc8572b164d4da7665448ad88ea5
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/fastlane/Appfile.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: df504593313e54776a427d43dca4e661
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/fastlane/fastfile.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0490d362f09d34421838ef526cb8839d
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e77a923a5f798344db5fb608a5876fed
3 | PackageManifestImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/fastlane/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0f7d66a11e8894098917aa1f4ef1507a
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/fastlane/report.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ce3590874b3444ee79db9c2164fd95be
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/img.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 48c2b6eb637629f45a1e09fdfab22448
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 00dca6be949bd4393bfdbb3bc85e201a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 76f61b2fdd3f42d4a83f044b683016db
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/fastlane.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 089159a4944c04210aeeacfd063d3601
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Common.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9f8f248a64639f24d88b5cf8823ed8e0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/iOS.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 12ddc0ad3eba449488e2184ea69f2006
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Editor/QonversionDependencies.xml.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e8f49b3053cb24b62a0793a238b95380
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Runtime/Android.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 68d19869c54f9764d855135c11d2ab00
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 43b724a4537ec484ab8c8e7d293af0e0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6941a58d609fd49ffac95120213d64a3
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1f220c0e7d2a77d4ba1b6302c752a67a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/.github/workflows/stale_issues.yml:
--------------------------------------------------------------------------------
1 | name: Close stale issues
2 | on:
3 | schedule:
4 | - cron: '30 1 * * *'
5 |
6 | jobs:
7 | stale_issues:
8 | uses: qonversion/shared-sdk-workflows/.github/workflows/stale_issues.yml@main
--------------------------------------------------------------------------------
/Runtime/Android/Plugins.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d7df7b917c788e84aaff9c56bab04ced
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Common/MiniJSON.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fae5ccf0682f6754ea6da63d7ffe7e54
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a28459d5e109a944794b5a7a64aaabcd
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Qonversion.Unity.Sdk.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7997463b3dbb27245a8ff4616b271e67
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkProduct.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 34cf22d7675f2416d9d88b74fa126afb
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/Common.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1c5765ecd60071e49a790d0145515f91
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/.idea/.idea.Scripts.dir/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dcef5ddb5c68df540ae5468498f4a949
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/EligibilityStatus.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum EligibilityStatus
4 | {
5 | Unknown,
6 | NonIntroOrTrialProduct,
7 | Ineligible,
8 | Eligible
9 | }
10 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9fbc1f954cf3c4c02b065ab4eccdc1ac
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SubscriptionPeriodUnit.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum SubscriptionPeriodUnit
4 | {
5 | Day,
6 | Week,
7 | Month,
8 | Year,
9 | Unknown,
10 | }
11 | }
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 06b40e5048253d04ab06b66f9d2452d2
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Runtime/Scripts/.idea/.idea.Scripts.dir/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Runtime/Scripts/.idea/.idea.Scripts.dir/.idea/indexLayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.github/workflows/release_pull_requests.yml:
--------------------------------------------------------------------------------
1 | name: Release pull requests from dev by tag
2 | on:
3 | push:
4 | tags:
5 | - prerelease/*
6 |
7 | jobs:
8 | handle_prerelease:
9 | uses: qonversion/shared-sdk-workflows/.github/workflows/prerelease_handling.yml@main
10 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ActionResultType.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum ActionResultType
4 | {
5 | Unknown,
6 | URL,
7 | Deeplink,
8 | Navigation,
9 | Purchase,
10 | Restore,
11 | Close
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/AttributionProvider.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum AttributionProvider
4 | {
5 | AppsFlyer = 0,
6 | Branch,
7 | Adjust,
8 | AppleSearchAds, // ios only
9 | AppleAdServices // ios only
10 | }
11 | }
--------------------------------------------------------------------------------
/Runtime/Common/MiniJson.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5fe28a6970fb6864a9081f9e960ab07a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Common/MiniJSON/Json.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9d3ee7b76aed97e4a94ba457376993fd
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Automations.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fb9026ffe23714e4094aebd9d036c9c2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Eligibility.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e5734643decb54c5b891603130ab213e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Entitlement.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8721b4598de3343a28465afe8261afe7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/EntitlementsCacheLifetime.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum EntitlementsCacheLifetime
4 | {
5 | Week,
6 | TwoWeeks,
7 | Month,
8 | TwoMonths,
9 | ThreeMonths,
10 | SixMonths,
11 | Year,
12 | Unlimited
13 | }
14 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Experiment.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 26f8b4a30f24045028e51326a03fb1e9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Offering.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ad8db728bf4fd489b8a8a65677f0089b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Offerings.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b48e5e74dc2dc416881ccb7e3030bc3e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Product.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f7fdfa6fc70dc4ac08162a1886f1539a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkuDetails.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 23ce9e7e4cd8f48f8840738ffaef5f55
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Transaction.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6c2207fece8b44558ad88f2591eb0f89
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/Mapper.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c9bbffdaa971c4956be8e45ffcd4b28a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/Utils.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7e1c5a8d202334384887efe986d70d57
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ActionResult.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e27480d33c0774d5f9f7ce5a1d7c6c56
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ActionResultType.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 25342fbb35e8a4dce81d44d56b414766
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/AutomationsEvent.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 687d028d5e04c4ad88e7995bfbf808c0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ExperimentGroup.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3bea57f1886414de79be7bf2ea23f74b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/QonversionError.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0b5335b7346c84e0d85ca63af24368c9
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/RemoteConfig.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ba2fbd2bcc0e45b5b4cab28b85ad25f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/UserPropertyKey.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a3f3e84df946549f68ad3cbfa4f727f7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/Constants.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5ea3fffc4c6514bbdbdce589ee67f561
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/iOS/QonversionWrapperIOS.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c9b40e5937b479a4e8d83a389ea7e051
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Android/QonversionWrapperAndroid.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ac748a0eedddf7f48bf78bd60d0d8b40
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/AttributionProvider.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4b91d281dc6374342b819965b3694d4e
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/AutomationsDelegate.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a59920bdf2fc14ac1a37e77eb3f4d7b2
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/AutomationsEventType.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d069be0d69cf1482da59364bce07633d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/EligibilityStatus.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eb95a37986ad54d139d16c3bc624e387
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkProduct/SKProduct.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a47619ab0f35e47b6882af6cbc4c6b05
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Common/MiniJSON/MiniJsonExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9c6171f44828f1f4c9629916a99e6b32
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/EntitlementsCacheLifetime.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7a565dd602ce74950a70927782a8f4fe
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/RemoteConfigurationSource.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 47dd88424cf8b4b63b34e89a3f76b6fb
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/QonversionInternal.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 38c50778583feeb4da0934f2fa914b96
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkProduct/SKProductDiscount.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 022a118da08d74f60b495168da846a70
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/PricingPhaseType.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 65730d53808e4455d9c80ab2981353fa
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductPrice.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a1fcbbb07eb2b4740ac8528874738326
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductInAppDetails.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8f770c2c584a6456baee470c99f6f44d
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductOfferDetails.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b389bf1726051461b97d14e1220443a1
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductPricingPhase.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 129d13ec7f81348fb8a969e8f187c91a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductStoreDetails.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1aed806485ecb43eab6a4f2681282904
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkProduct/SKProductSubscriptionPeriod.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8451375a11e03434594db113652a3624
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/PricingPhaseRecurrenceMode.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c9d02b7b4c0a14d14840c161828aea94
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/qonversion/IQonversionWrapper.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f8a6901a4a36fb14dbb0c19d2093caf3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/qonversion/QonversionWrapperNoop.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1ba1c72708b384965890bb327159ac57
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/.github/workflows/manual_minor_prerelease.yml:
--------------------------------------------------------------------------------
1 | name: Manual Minor Prerelease
2 |
3 | on:
4 | workflow_dispatch
5 |
6 | jobs:
7 | patch-minor:
8 | runs-on: ubuntu-latest
9 |
10 | steps:
11 | - uses: actions/checkout@v2
12 | with:
13 | ref: develop
14 |
15 | - name: Minor
16 | run: |
17 | fastlane minor
18 |
--------------------------------------------------------------------------------
/Runtime/Common/MiniJson.cs:
--------------------------------------------------------------------------------
1 | using QonversionUnity.MiniJSON;
2 |
3 | namespace QonversionUnity
4 | {
5 | public class MiniJson
6 | {
7 | public static string JsonEncode(object json)
8 | {
9 | return Json.Serialize(json);
10 | }
11 |
12 | public static object JsonDecode(string json)
13 | {
14 | return Json.Deserialize(json);
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/.github/workflows/manual_patch_prerelease.yml:
--------------------------------------------------------------------------------
1 | name: Manual Patch Prerelease
2 |
3 | on:
4 | workflow_dispatch
5 |
6 | jobs:
7 | patch-prerelease:
8 | runs-on: ubuntu-latest
9 |
10 | steps:
11 | - uses: actions/checkout@v2
12 | with:
13 | ref: develop
14 |
15 | - name: Patch
16 | run: |
17 | fastlane patch
18 |
--------------------------------------------------------------------------------
/Runtime/Scripts/.idea/.idea.Scripts.dir/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Rider ignored files
5 | /.idea.Scripts.iml
6 | /projectSettingsUpdater.xml
7 | /contentModel.xml
8 | /modules.xml
9 | # Editor-based HTTP Client requests
10 | /httpRequests/
11 | # Datasource local storage ignored files
12 | /dataSources/
13 | /dataSources.local.xml
14 |
--------------------------------------------------------------------------------
/.github/workflows/upgrade_sandwich.yml:
--------------------------------------------------------------------------------
1 | name: Upgrade Sandwich
2 | on:
3 | workflow_dispatch:
4 | inputs:
5 | sandwich_version:
6 | description: 'Sandwich version'
7 | required: true
8 | default: '0.0.0'
9 |
10 | jobs:
11 | upgrade:
12 | uses: qonversion/shared-sdk-workflows/.github/workflows/upgrade_sandwich.yml@main
13 | with:
14 | sandwich_version: ${{ github.event.inputs.sandwich_version }}
15 |
--------------------------------------------------------------------------------
/Editor/QonversionDependencies.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/.github/workflows/prerelease_github.yml:
--------------------------------------------------------------------------------
1 | name: Pre-release Github
2 |
3 | on:
4 | push:
5 | branches:
6 | - "main"
7 |
8 | jobs:
9 | pre-release:
10 | runs-on: macos-latest
11 |
12 | steps:
13 | - uses: "marvinpinto/action-automatic-releases@latest"
14 | with:
15 | repo_token: "${{ secrets.GITHUB_TOKEN }}"
16 | automatic_release_tag: "latest"
17 | prerelease: true
18 | title: "Development Build"
19 | files: |
20 | LICENSE.txt
21 | *.jar
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/UserPropertyKey.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum UserPropertyKey
4 | {
5 | Email,
6 | Name,
7 | KochavaDeviceId,
8 | AppsFlyerUserId,
9 | AdjustAdId,
10 | CustomUserId,
11 | FacebookAttribution, // Android only
12 | FirebaseAppInstanceId,
13 | AppSetId, // Android only
14 | AdvertisingId, // iOS only
15 | AppMetricaDeviceId,
16 | AppMetricaUserProfileId,
17 | PushWooshHwId,
18 | PushWooshUserId,
19 | TenjinAnalyticsInstallationId,
20 | Custom,
21 | }
22 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductType.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum QProductType
4 | {
5 | /// Provides access to content on a recurring basis with a free offer
6 | Trial,
7 | /// Provides access to content on a recurring basis with an introductory offer
8 | /// Currently works for Android only. iOS support will be added soon.
9 | Intro,
10 | /// Provides access to content on a recurring basis
11 | Subscription,
12 | /// Content that users can purchase with a single, non-recurring charge
13 | InApp,
14 | /// Unknown product type
15 | Unknown,
16 | }
17 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/automations/IAutomationsWrapper.cs:
--------------------------------------------------------------------------------
1 | using JetBrains.Annotations;
2 |
3 | namespace QonversionUnity
4 | {
5 | internal interface IAutomationsWrapper
6 | {
7 | void Initialize(string gameObjectName);
8 | void SetNotificationsToken(string token);
9 | bool HandleNotification(string notification);
10 | [CanBeNull] string GetNotificationCustomPayload(string notification);
11 | void SubscribeOnAutomationEvents();
12 | void ShowScreen(string screenId, string callbackName);
13 | void SetScreenPresentationConfig(string configJson, [CanBeNull] string screenId);
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/AutomationsEventType.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum AutomationsEventType
4 | {
5 | Unknown,
6 | TrialStarted,
7 | TrialConverted,
8 | TrialCanceled,
9 | TrialBillingRetry,
10 | SubscriptionStarted,
11 | SubscriptionRenewed,
12 | SubscriptionRefunded,
13 | SubscriptionCanceled,
14 | SubscriptionBillingRetry,
15 | InAppPurchase,
16 | SubscriptionUpgraded,
17 | TrialStillActive,
18 | TrialExpired,
19 | SubscriptionExpired,
20 | SubscriptionDowngraded,
21 | SubscriptionProductChanged
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/Common/UtilityBridge.h.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 48e3194c80281f049b6f5ba07f3b215c
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | userData:
26 | assetBundleName:
27 | assetBundleVariant:
28 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/Common/QNUAutomationsDelegate.h.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 185ee14cf41c34a3ca880e5d40585f29
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 1
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | userData:
26 | assetBundleName:
27 | assetBundleVariant:
28 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/Utils.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | internal static class Utils
5 | {
6 | internal static DateTime FormatDate(long time)
7 | {
8 | DateTimeOffset dateTimeOffset = DateTimeOffset.FromUnixTimeMilliseconds(time);
9 |
10 | return dateTimeOffset.DateTime.ToLocalTime();
11 | }
12 |
13 | internal static string PrintObjectList(List objectsToPrint)
14 | {
15 | if (objectsToPrint == null) return "";
16 |
17 | string result = string.Empty;
18 | foreach (T val in objectsToPrint)
19 | {
20 | if (val != null) result += val.ToString();
21 | }
22 |
23 | return result;
24 | }
25 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/PricingPhaseRecurrenceMode.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | ///
4 | /// Recurrence mode of the pricing phase.
5 | ///
6 | public enum PricingPhaseRecurrenceMode
7 | {
8 | /// The billing plan payment recurs for infinite billing periods unless canceled.
9 | InfiniteRecurring,
10 |
11 | /// The billing plan payment recurs for a fixed number of billing periods
12 | /// set in .
13 | FiniteRecurring,
14 |
15 | /// The billing plan payment is a one-time charge that does not repeat.
16 | NonRecurring,
17 |
18 | /// Unknown recurrence mode.
19 | Unknown,
20 | }
21 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/PricingPhaseType.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | ///
4 | /// Type of the pricing phase.
5 | ///
6 | public enum PricingPhaseType
7 | {
8 | /// Regular subscription without any discounts like trial or intro offers.
9 | Regular,
10 |
11 | /// A free phase.
12 | FreeTrial,
13 |
14 | /// A phase with a discounted payment for a single period.
15 | DiscountedSinglePayment,
16 |
17 | /// A phase with a discounted payment for several periods, described in .
18 | DiscountedRecurringPayment,
19 |
20 | /// Unknown pricing phase type.
21 | Unknown,
22 | }
23 | }
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.qonversion.unity",
3 | "displayName": "Qonversion",
4 | "version": "8.2.1",
5 | "unity": "2018.3",
6 | "description": "Empower your mobile app marketing and product decisions with precise subscription data.",
7 | "author": {
8 | "name": "qonversion.io",
9 | "url": "https://github.com/qonversion/unity-sdk"
10 | },
11 | "keywords": [
12 | "unity",
13 | "qonversion",
14 | "ios",
15 | "android",
16 | "apple",
17 | "subscription",
18 | "analytics",
19 | "iap",
20 | "purchase"
21 | ],
22 | "category": "Unity",
23 | "files": [
24 | "/README.md",
25 | "/README.md.meta",
26 | "/package.json",
27 | "/package.json.meta",
28 | "/Runtime",
29 | "/Runtime.meta",
30 | "/Editor",
31 | "/Editor.meta"
32 | ],
33 | "dependencies": {}
34 | }
35 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper/MessageSender.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 684884a01eddd4f10aa3ab971380605e
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
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:
33 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper/QonversionWrapper.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9b3bcac970bd57249a19f97cb4621515
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
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:
33 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper/AutomationsWrapper.java.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c343db7cc54e542d39f73bd2228012e6
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
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:
33 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/QonversionBridge.m.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bd940853716574fd8a7a72a9a6d34390
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 | Any:
16 | second:
17 | enabled: 0
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | iPhone: iOS
27 | second:
28 | enabled: 1
29 | settings: {}
30 | - first:
31 | tvOS: tvOS
32 | second:
33 | enabled: 1
34 | settings: {}
35 | userData:
36 | assetBundleName:
37 | assetBundleVariant:
38 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/AutomationsBridge.m.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3274bd50e96104e20b153fb581760138
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 0
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | iPhone: iOS
27 | second:
28 | enabled: 1
29 | settings: {}
30 | - first:
31 | tvOS: tvOS
32 | second:
33 | enabled: 1
34 | settings: {}
35 | userData:
36 | assetBundleName:
37 | assetBundleVariant:
38 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/Common/QNUAutomationsDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // QNUAutomationsDelegate.h
3 | // Unity-iPhone
4 | //
5 | // Created by Surik Sarkisyan on 15.03.2022.
6 | //
7 |
8 | #import
9 | @import QonversionSandwich;
10 |
11 | NS_ASSUME_NONNULL_BEGIN
12 |
13 | @interface QNUAutomationsDelegate : NSObject
14 |
15 | - (instancetype)initWithListenerName:(char *)unityListenerName;
16 | - (void)subscribe;
17 | - (void)setNotificationsToken:(NSString *)token;
18 | - (BOOL)handleNotification:(NSDictionary *)notificationInfo;
19 | - (NSDictionary *)getNotificationCustomPayload:(NSDictionary *)payload;
20 | - (void)showScreenWithId:(NSString *)screenId callbackName:(NSString *)callbackName;
21 | - (void)setScreenPresentationConfig:(NSDictionary *)config screenId:(NSString *)screenId;
22 |
23 | @end
24 |
25 | NS_ASSUME_NONNULL_END
26 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/Common/UtilityBridge.m.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 666fb1fa0c7e977428a9aee8f0797497
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 0
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | iPhone: iOS
27 | second:
28 | enabled: 1
29 | settings: {}
30 | - first:
31 | tvOS: tvOS
32 | second:
33 | enabled: 1
34 | settings: {}
35 | userData:
36 | assetBundleName:
37 | assetBundleVariant:
38 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ProductStoreDetails/ProductInAppDetails.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace QonversionUnity
5 | {
6 | ///
7 | /// This class contains all the information about the Google in-app product details.
8 | ///
9 | public class ProductInAppDetails
10 | {
11 | /// The price of the in-app product.
12 | public readonly ProductPrice Price;
13 |
14 | public ProductInAppDetails(Dictionary dict)
15 | {
16 | if (dict.TryGetValue("price", out object value) && value is Dictionary price)
17 | {
18 | Price = new ProductPrice(price);
19 | }
20 | }
21 |
22 | public override string ToString()
23 | {
24 | return $"{nameof(Price)}: {Price}";
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/ScreenPresentationStyle.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | public enum ScreenPresentationStyle
4 | {
5 | /// on Android - default screen transaction animation will be used.
6 | /// on iOS - not a modal presentation. This style pushes a controller to a current navigation stack.
7 | /// For iOS NavigationController on the top of the stack is required.
8 | Push,
9 |
10 | /// on Android - screen will move from bottom to top.
11 | /// on iOS - UIModalPresentationFullScreen analog.
12 | FullScreen,
13 |
14 | /// iOS only - UIModalPresentationPopover analog
15 | Popover,
16 |
17 | /// Android only - screen will appear/disappear without any animation
18 | /// For iOS consider providing the flag.
19 | NoAnimation,
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Runtime/iOS/Plugins/Common/QNUAutomationsDelegate.m.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3539a63d5587c4502ad192926adb131c
3 | PluginImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | iconMap: {}
7 | executionOrder: {}
8 | defineConstraints: []
9 | isPreloaded: 0
10 | isOverridable: 1
11 | isExplicitlyReferenced: 0
12 | validateReferences: 1
13 | platformData:
14 | - first:
15 | Any:
16 | second:
17 | enabled: 0
18 | settings: {}
19 | - first:
20 | Editor: Editor
21 | second:
22 | enabled: 0
23 | settings:
24 | DefaultValueInitialized: true
25 | - first:
26 | iPhone: iOS
27 | second:
28 | enabled: 1
29 | settings: {}
30 | - first:
31 | tvOS: tvOS
32 | second:
33 | enabled: 1
34 | settings: {}
35 | userData:
36 | assetBundleName:
37 | assetBundleVariant:
38 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper/MessageSender.java:
--------------------------------------------------------------------------------
1 | package com.qonversion.unitywrapper;
2 |
3 | import com.fasterxml.jackson.core.JsonProcessingException;
4 | import com.fasterxml.jackson.databind.ObjectMapper;
5 | import com.unity3d.player.UnityPlayer;
6 |
7 | import org.jetbrains.annotations.NotNull;
8 |
9 | public class MessageSender {
10 | private final String unityListenerName;
11 |
12 | public MessageSender(String unityListenerName) {
13 | this.unityListenerName = unityListenerName;
14 | }
15 |
16 | void sendMessageToUnity(@NotNull Object objectToConvert, @NotNull String methodName) throws JsonProcessingException {
17 | final ObjectMapper mapper = new ObjectMapper();
18 | final String json = mapper.writeValueAsString(objectToConvert);
19 | UnityPlayer.UnitySendMessage(unityListenerName, methodName, json);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Internal/wrappers/automations/AutomationsWrapperNoop.cs:
--------------------------------------------------------------------------------
1 | namespace QonversionUnity
2 | {
3 | internal class AutomationsWrapperNoop : IAutomationsWrapper
4 | {
5 | public void Initialize(string gameObjectName)
6 | {
7 | }
8 |
9 | public void SetNotificationsToken(string token)
10 | {
11 | }
12 |
13 | public bool HandleNotification(string notification)
14 | {
15 | return false;
16 | }
17 |
18 | public string GetNotificationCustomPayload(string notification)
19 | {
20 | return null;
21 | }
22 |
23 | public void SubscribeOnAutomationEvents()
24 | {
25 | }
26 |
27 | public void ShowScreen(string screenId, string callbackName)
28 | {
29 | }
30 |
31 | public void SetScreenPresentationConfig(string configJson, string screenId)
32 | {
33 | }
34 | }
35 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Experiment.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace QonversionUnity
4 | {
5 | public class Experiment
6 | {
7 | public readonly string Id;
8 | public readonly string Name;
9 | public readonly ExperimentGroup Group;
10 |
11 |
12 | public Experiment(Dictionary dict)
13 | {
14 | if (dict.TryGetValue("id", out object value)) Id = value as string;
15 | if (dict.TryGetValue("name", out value)) Name = value as string;
16 | if (dict.TryGetValue("group", out value) && value is Dictionary group)
17 | {
18 | Group = new ExperimentGroup(group);
19 | }
20 | }
21 |
22 | public override string ToString()
23 | {
24 | return $"{nameof(Id)}: {Id}, " +
25 | $"{nameof(Name)}: {Name}, " +
26 | $"{nameof(Group)}: {Group}";
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/SkProduct/SKProductSubscriptionPeriod.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace QonversionUnity
5 | {
6 | public class SKProductSubscriptionPeriod
7 | {
8 | public readonly int NumberOfUnits;
9 | public readonly SKPeriodUnit Unit;
10 |
11 | public SKProductSubscriptionPeriod(Dictionary dict)
12 | {
13 | if (dict.TryGetValue("numberOfUnits", out object value)) NumberOfUnits = Convert.ToInt32(value);
14 | if (dict.TryGetValue("unit", out value)) Unit = FormatPeriodUnit(value);
15 | }
16 |
17 | public override string ToString()
18 | {
19 | return $"{nameof(NumberOfUnits)}: {NumberOfUnits}, " +
20 | $"{nameof(Unit)}: {Unit}";
21 | }
22 |
23 | private SKPeriodUnit FormatPeriodUnit(object periodUnit) =>
24 | (SKPeriodUnit)Convert.ToInt32(periodUnit);
25 | }
26 |
27 | public enum SKPeriodUnit
28 | {
29 | Day,
30 | Week,
31 | Month,
32 | Year,
33 | }
34 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/PromotionalOffer.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace QonversionUnity
4 | {
5 | public class PromotionalOffer
6 | {
7 | public readonly SKProductDiscount ProductDiscount;
8 | public readonly SKPaymentDiscount PaymentDiscount;
9 |
10 | public PromotionalOffer(Dictionary dict)
11 | {
12 | if (dict.TryGetValue("productDiscount", out object value) && value is Dictionary productDiscount)
13 | {
14 | ProductDiscount = new SKProductDiscount(productDiscount);
15 | }
16 | if (dict.TryGetValue("paymentDiscount", out value) && value is Dictionary paymentDiscount)
17 | {
18 | PaymentDiscount = new SKPaymentDiscount(paymentDiscount);
19 | }
20 | }
21 |
22 | public override string ToString()
23 | {
24 | return $"{nameof(ProductDiscount)}: {ProductDiscount}, " +
25 | $"{nameof(PaymentDiscount)}: {PaymentDiscount}";
26 | }
27 | }
28 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/QonversionConfig.cs:
--------------------------------------------------------------------------------
1 | using JetBrains.Annotations;
2 |
3 | namespace QonversionUnity
4 | {
5 | public class QonversionConfig
6 | {
7 | public readonly string ProjectKey;
8 | public readonly LaunchMode LaunchMode;
9 | public readonly Environment Environment;
10 | public readonly EntitlementsCacheLifetime EntitlementsCacheLifetime;
11 | [CanBeNull] public readonly string ProxyUrl;
12 | public readonly bool KidsMode;
13 |
14 | public QonversionConfig(
15 | string projectKey,
16 | LaunchMode launchMode,
17 | Environment environment,
18 | EntitlementsCacheLifetime entitlementsCacheLifetime,
19 | [CanBeNull] string proxyUrl,
20 | bool kidsMode
21 | )
22 | {
23 | ProjectKey = projectKey;
24 | LaunchMode = launchMode;
25 | Environment = environment;
26 | EntitlementsCacheLifetime = entitlementsCacheLifetime;
27 | ProxyUrl = proxyUrl;
28 | KidsMode = kidsMode;
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/User.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using JetBrains.Annotations;
3 |
4 | namespace QonversionUnity
5 | {
6 | public class User
7 | {
8 | public readonly string QonversionId;
9 | [CanBeNull] public readonly string IdentityId;
10 |
11 | public User(string qonversionId, [CanBeNull] string identityId)
12 | {
13 | QonversionId = qonversionId;
14 | IdentityId = identityId;
15 | }
16 |
17 | public User(Dictionary dict)
18 | {
19 | if (dict.TryGetValue("qonversionId", out var qonversionId) && qonversionId != null)
20 | {
21 | QonversionId = qonversionId as string;
22 | }
23 |
24 | if (dict.TryGetValue("identityId", out var identityId) && identityId != null)
25 | {
26 | IdentityId = identityId as string;
27 | }
28 | }
29 |
30 | public override string ToString()
31 | {
32 | return $"{nameof(QonversionId)}: {QonversionId}, " +
33 | $"{nameof(IdentityId)}: {IdentityId}";
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Runtime/Android/Plugins/com/qonversion/unitywrapper/Utils.java:
--------------------------------------------------------------------------------
1 | package com.qonversion.unitywrapper;
2 |
3 | import com.fasterxml.jackson.databind.ObjectMapper;
4 | import com.fasterxml.jackson.databind.node.ObjectNode;
5 |
6 | import org.jetbrains.annotations.NotNull;
7 | import org.jetbrains.annotations.Nullable;
8 |
9 | import io.qonversion.sandwich.SandwichError;
10 |
11 | public class Utils {
12 |
13 | public static ObjectNode createErrorNode(@NotNull SandwichError error) {
14 | return createErrorNode(error.getCode(), error.getDescription(), error.getAdditionalMessage());
15 | }
16 |
17 | public static ObjectNode createErrorNode(String code, String description, @Nullable String additionalMessage) {
18 | ObjectMapper mapper = new ObjectMapper();
19 | ObjectNode errorNode = mapper.createObjectNode();
20 | errorNode.put("code", code);
21 | errorNode.put("description", description);
22 | if (additionalMessage != null) {
23 | errorNode.put("additionalMessage", additionalMessage);
24 | }
25 |
26 | ObjectNode rootNode = mapper.createObjectNode();
27 | rootNode.set("error", errorNode);
28 | return rootNode;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/fastlane/README.md:
--------------------------------------------------------------------------------
1 | fastlane documentation
2 | ----
3 |
4 | # Installation
5 |
6 | Make sure you have the latest version of the Xcode command line tools installed:
7 |
8 | ```sh
9 | xcode-select --install
10 | ```
11 |
12 | For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane)
13 |
14 | # Available Actions
15 |
16 | ### patch
17 |
18 | ```sh
19 | [bundle exec] fastlane patch
20 | ```
21 |
22 |
23 |
24 | ### minor
25 |
26 | ```sh
27 | [bundle exec] fastlane minor
28 | ```
29 |
30 |
31 |
32 | ### bump
33 |
34 | ```sh
35 | [bundle exec] fastlane bump
36 | ```
37 |
38 |
39 |
40 | ### upgrade_sandwich
41 |
42 | ```sh
43 | [bundle exec] fastlane upgrade_sandwich
44 | ```
45 |
46 |
47 |
48 | ### provide_next_patch_version
49 |
50 | ```sh
51 | [bundle exec] fastlane provide_next_patch_version
52 | ```
53 |
54 |
55 |
56 | ----
57 |
58 | This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
59 |
60 | More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools).
61 |
62 | The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools).
63 |
--------------------------------------------------------------------------------
/Runtime/Scripts/Dto/Offerings.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using JetBrains.Annotations;
3 |
4 | namespace QonversionUnity
5 | {
6 | public class Offerings
7 | {
8 | [CanBeNull] public readonly Offering Main;
9 | public readonly List AvailableOfferings;
10 |
11 | public Offerings(Dictionary dict)
12 | {
13 | if (dict.TryGetValue("main", out object value) && value is Dictionary offering)
14 | {
15 | Main = new Offering(offering);
16 | }
17 | if (dict.TryGetValue("availableOfferings", out value) && value is List