Skip to content

Commit

Permalink
Release 5.1.0
Browse files Browse the repository at this point in the history
Release 5.1.0
  • Loading branch information
SpertsyanKM authored Jan 30, 2024
2 parents 2a2e091 + 8654796 commit 5c9160e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-qonversion",
"version": "5.0.0",
"version": "5.1.0",
"description": "Qonversion Cordova Plugin",
"cordova": {
"id": "cordova-plugin-qonversion",
Expand Down
4 changes: 2 additions & 2 deletions plugin/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<param name="android-package" value="com.qonversion.android.sdk.QonversionPlugin"/>
</feature>
</config-file>
<framework src="io.qonversion.sandwich:sandwich:4.0.0" />
<framework src="io.qonversion.sandwich:sandwich:4.1.1" />
<source-file src="src/android/QonversionPlugin.java" target-dir="src/com/qonversion/android/sdk" />
<source-file src="src/android/EntitiesConverter.java" target-dir="src/com/qonversion/android/sdk" />
<source-file src="src/android/Utils.java" target-dir="src/com/qonversion/android/sdk" />
Expand All @@ -71,7 +71,7 @@
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="QonversionSandwich" spec="4.0.0" />
<pod name="QonversionSandwich" spec="4.1.1" />
</pods>
</podspec>
</platform>
Expand Down
8 changes: 8 additions & 0 deletions plugin/src/plugin/Mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,14 @@ class Mapper {
return UserPropertyKey.APP_SET_ID;
case '_q_advertising_id':
return UserPropertyKey.ADVERTISING_ID;
case "_q_appmetrica_device_id":
return UserPropertyKey.APP_METRICA_DEVICE_ID;
case "_q_appmetrica_user_profile_id":
return UserPropertyKey.APP_METRICA_USER_PROFILE_ID;
case "_q_pushwoosh_hwid":
return UserPropertyKey.PUSH_WOOSH_HW_ID;
case "_q_pushwoosh_user_id":
return UserPropertyKey.PUSH_WOOSH_USER_ID;
}

return UserPropertyKey.CUSTOM;
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/plugin/QonversionInternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {UserProperties} from './UserProperties';
import {PurchaseModel} from './PurchaseModel';
import {PurchaseUpdateModel} from './PurchaseUpdateModel';

const sdkVersion = "5.0.0";
const sdkVersion = "5.1.0";

export default class QonversionInternal implements QonversionApi {

Expand Down
4 changes: 4 additions & 0 deletions plugin/src/plugin/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ export enum UserPropertyKey {
FIREBASE_APP_INSTANCE_ID = "FirebaseAppInstanceId",
APP_SET_ID = "AppSetId", // Android only
ADVERTISING_ID = "AdvertisingId", // iOS only
APP_METRICA_DEVICE_ID = "AppMetricaDeviceId",
APP_METRICA_USER_PROFILE_ID = "AppMetricaUserProfileId",
PUSH_WOOSH_HW_ID = "PushWooshHwId",
PUSH_WOOSH_USER_ID = "PushWooshUserId",
CUSTOM = "Custom",
}

Expand Down
4 changes: 1 addition & 3 deletions sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
"android",
"ios"
],
"plugins": {
"cordova-plugin-qonversion": {}
}
"plugins": {}
}
}
2 changes: 1 addition & 1 deletion sample/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ cordova-plugin-device@^2.1.0:
integrity sha512-FU0Lw1jZpuKOgG4v80LrfMAOIMCGfAVPumn7AwaX9S1iU/X3OPZUyoKUgP09q4bxL35IeNPkqNWVKYduAXZ1sg==

"cordova-plugin-qonversion@file:../plugin":
version "4.3.0"
version "5.0.0"
resolved "file:../plugin"

cross-spawn@^7.0.1, cross-spawn@^7.0.3:
Expand Down

0 comments on commit 5c9160e

Please sign in to comment.