From 162ee9eff4e4839e69fcaa6a08f0f1e351f88055 Mon Sep 17 00:00:00 2001 From: Kamo Spertsyan Date: Mon, 14 Oct 2024 12:35:08 +0300 Subject: [PATCH 1/3] Fix podspec issue --- QonversionCapacitor.podspec | 18 ------------------ example/ios/App/Podfile | 2 +- example/ios/App/Podfile.lock | 12 ++++++------ package.json | 2 +- 4 files changed, 8 insertions(+), 26 deletions(-) delete mode 100644 QonversionCapacitor.podspec diff --git a/QonversionCapacitor.podspec b/QonversionCapacitor.podspec deleted file mode 100644 index 12c8362..0000000 --- a/QonversionCapacitor.podspec +++ /dev/null @@ -1,18 +0,0 @@ -require 'json' - -package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) - -Pod::Spec.new do |s| - s.name = 'QonversionCapacitor' - s.version = package['version'] - s.summary = package['description'] - s.license = package['license'] - s.homepage = package['repository']['url'] - s.author = package['author'] - s.source = { :git => package['repository']['url'], :tag => s.version.to_s } - s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' - s.ios.deployment_target = '13.0' - s.dependency 'Capacitor' - s.swift_version = '5.1' - s.dependency "QonversionSandwich", "5.1.5" -end diff --git a/example/ios/App/Podfile b/example/ios/App/Podfile index 1f407a8..41a779d 100644 --- a/example/ios/App/Podfile +++ b/example/ios/App/Podfile @@ -13,7 +13,7 @@ def capacitor_pods pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' pod 'CapacitorCamera', :path => '../../node_modules/@capacitor/camera' pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen' - pod 'QonversionCapacitor', :path => '../../node_modules/qonversion-capacitor' + pod 'QonversionCapacitorPlugin', :path => '../../node_modules/@qonversion/capacitor-plugin' end target 'App' do diff --git a/example/ios/App/Podfile.lock b/example/ios/App/Podfile.lock index 74376de..1836f30 100644 --- a/example/ios/App/Podfile.lock +++ b/example/ios/App/Podfile.lock @@ -9,7 +9,7 @@ PODS: - Qonversion (5.12.3): - Qonversion/Main (= 5.12.3) - Qonversion/Main (5.12.3) - - QonversionCapacitor (0.0.1): + - QonversionCapacitorPlugin (0.1.0): - Capacitor - QonversionSandwich (= 5.1.5) - QonversionSandwich (5.1.5): @@ -20,7 +20,7 @@ DEPENDENCIES: - "CapacitorCamera (from `../../node_modules/@capacitor/camera`)" - "CapacitorCordova (from `../../node_modules/@capacitor/ios`)" - "CapacitorSplashScreen (from `../../node_modules/@capacitor/splash-screen`)" - - QonversionCapacitor (from `../../node_modules/qonversion-capacitor`) + - "QonversionCapacitorPlugin (from `../../node_modules/@qonversion/capacitor-plugin`)" SPEC REPOS: trunk: @@ -36,8 +36,8 @@ EXTERNAL SOURCES: :path: "../../node_modules/@capacitor/ios" CapacitorSplashScreen: :path: "../../node_modules/@capacitor/splash-screen" - QonversionCapacitor: - :path: "../../node_modules/qonversion-capacitor" + QonversionCapacitorPlugin: + :path: "../../node_modules/@qonversion/capacitor-plugin" SPEC CHECKSUMS: Capacitor: 679f9673fdf30597493a6362a5d5bf233d46abc2 @@ -45,9 +45,9 @@ SPEC CHECKSUMS: CapacitorCordova: f48c89f96c319101cd2f0ce8a2b7449b5fb8b3dd CapacitorSplashScreen: 250df9ef8014fac5c7c1fd231f0f8b1d8f0b5624 Qonversion: d1a0c6aeff9ba9772ed5020899c2b13422f6aff1 - QonversionCapacitor: 54585ea1bc444184a9bcffbbe2cd4574b809d454 + QonversionCapacitorPlugin: 6a5a80259d86bfab3d1ca0bd5ada5be2959f1d23 QonversionSandwich: 427599ed4e5c655a63eba1cf029647e49a12a457 -PODFILE CHECKSUM: 3db5691f2f4da3ecec4a7865926b8521ff6ec736 +PODFILE CHECKSUM: 238528980101a97d01a6a29581a5e0d56d489a11 COCOAPODS: 1.15.2 diff --git a/package.json b/package.json index 61b51fc..28e2f0f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "ios/Sources", "ios/Tests", "Package.swift", - "QonversionCapacitor.podspec" + "QonversionCapacitorPlugin.podspec" ], "author": { "name": "Qonversion", From 2aa6cd967f36866128166f1bba455098f19974fa Mon Sep 17 00:00:00 2001 From: Kamo Spertsyan Date: Mon, 14 Oct 2024 12:35:18 +0300 Subject: [PATCH 2/3] Fix podspec issue --- QonversionCapacitorPlugin.podspec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 QonversionCapacitorPlugin.podspec diff --git a/QonversionCapacitorPlugin.podspec b/QonversionCapacitorPlugin.podspec new file mode 100644 index 0000000..ba92121 --- /dev/null +++ b/QonversionCapacitorPlugin.podspec @@ -0,0 +1,18 @@ +require 'json' + +package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) + +Pod::Spec.new do |s| + s.name = 'QonversionCapacitorPlugin' + s.version = package['version'] + s.summary = package['description'] + s.license = package['license'] + s.homepage = package['repository']['url'] + s.author = package['author'] + s.source = { :git => package['repository']['url'], :tag => s.version.to_s } + s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}' + s.ios.deployment_target = '13.0' + s.dependency 'Capacitor' + s.swift_version = '5.1' + s.dependency "QonversionSandwich", "5.1.5" +end From 9058a6be4f3d86a94da04cb98e552026ceed4584 Mon Sep 17 00:00:00 2001 From: SpertsyanKM Date: Mon, 14 Oct 2024 10:22:21 +0000 Subject: [PATCH 3/3] [create-pull-request] automated change --- package.json | 2 +- src/internal/QonversionInternal.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 28e2f0f..7e6b06d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@qonversion/capacitor-plugin", - "version": "0.1.0", + "version": "0.1.1", "description": "Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and content using our StoreKit wrapper and Google Play Billing wrapper.", "main": "dist/plugin.cjs.js", "module": "dist/esm/index.js", diff --git a/src/internal/QonversionInternal.ts b/src/internal/QonversionInternal.ts index 2c55fce..3fd76f3 100644 --- a/src/internal/QonversionInternal.ts +++ b/src/internal/QonversionInternal.ts @@ -18,7 +18,7 @@ import {QonversionApi} from '../QonversionApi'; import {QonversionNativePlugin} from '../QonversionNativePlugin'; import {PurchaseOptionsBuilder} from '../dto/PurchaseOptionsBuilder'; -const sdkVersion = "0.1.0"; +const sdkVersion = "0.1.1"; const entitlementsUpdatedEvent = 'entitlementsUpdatedEvent'; const promoPurchaseEvent = 'shouldPurchasePromoProductEvent';