Skip to content

Commit

Permalink
Merge pull request #261 from qonversion/release/8.1.2
Browse files Browse the repository at this point in the history
Release 8.1.2
  • Loading branch information
SpertsyanKM authored Oct 16, 2024
2 parents 0f1ef22 + 06a6250 commit de557b7
Show file tree
Hide file tree
Showing 7 changed files with 83 additions and 4 deletions.
73 changes: 73 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/

# MemoryCaptures can get excessive in size.
# They also could contain extremely sensitive data
/[Mm]emoryCaptures/

# Recordings can get excessive in size
/[Rr]ecordings/

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# Autogenerated Jetbrains Rider plugin
/[Aa]ssets/Plugins/Editor/JetBrains*

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db
.idea

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.aab
*.unitypackage
*.app

# Crashlytics generated file
crashlytics-build.properties

# Packed Addressables
/[Aa]ssets/[Aa]ddressable[Aa]ssets[Dd]ata/*/*.bin*

# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*
4 changes: 2 additions & 2 deletions Editor/QonversionDependencies.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<dependencies>
<androidPackages>
<androidPackage spec="io.qonversion.sandwich:sandwich:5.1.4" />
<androidPackage spec="io.qonversion.sandwich:sandwich:5.1.6" />
<androidPackage spec="com.fasterxml.jackson.core:jackson-databind:2.11.1" />
<androidPackage spec="org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.61" />
</androidPackages>
<iosPods>
<iosPod name="QonversionSandwich" version="5.1.4" />
<iosPod name="QonversionSandwich" version="5.1.6" />
</iosPods>
</dependencies>
2 changes: 2 additions & 0 deletions Runtime/Scripts/Dto/UserProperty.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ private UserPropertyKey ConvertUserPropertyKey(string stringKey)
return UserPropertyKey.PushWooshHwId;
case "_q_pushwoosh_user_id":
return UserPropertyKey.PushWooshUserId;
case "_q_tenjin_aiid":
return UserPropertyKey.TenjinAnalyticsInstallationId;
}

return UserPropertyKey.Custom;
Expand Down
1 change: 1 addition & 0 deletions Runtime/Scripts/Dto/UserPropertyKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public enum UserPropertyKey
AppMetricaUserProfileId,
PushWooshHwId,
PushWooshUserId,
TenjinAnalyticsInstallationId,
Custom,
}
}
3 changes: 3 additions & 0 deletions Runtime/Scripts/IAutomations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ public interface IAutomations
/// <summary>
/// Set push token to Qonversion to enable Qonversion push notifications
/// </summary>
/// <deprecated>Consider removing this method calls. Qonversion is not working with push notifications anymore.</deprecated>
/// <param name="token">Firebase device token for Android. APNs device token for iOS.</param>
public void SetNotificationsToken(string token);

/// <summary>
/// Call to handle push notifications sent by Qonversion Automations.
/// </summary>
/// <deprecated>Consider removing this method calls. Qonversion is not working with push notifications anymore.</deprecated>
/// <param name="notification">notification payload data</param>
/// <returns>true when a push notification was received from Qonversion. Otherwise, returns false, so you need to handle the notification yourself</returns>
/// <see href="https://pub.dev/documentation/firebase_messaging_platform_interface/latest/firebase_messaging_platform_interface/RemoteMessage/data.html">Firebase RemoteMessage data</see>
Expand All @@ -30,6 +32,7 @@ public interface IAutomations
/// <summary>
/// Get parsed custom payload, which you added to the notification in the dashboard
/// </summary>
/// <deprecated>Consider removing this method calls. Qonversion is not working with push notifications anymore.</deprecated>
/// <param name="notification">notification payload data</param>
/// <returns>a map with custom payload from the notification or null if it's not provided</returns>
[CanBeNull]
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/Internal/QonversionInternal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ internal class QonversionInternal : MonoBehaviour, IQonversion
private const string OnDetachUserMethodName = "OnDetachUser";
private const string OnIsFallbackFileAccessibleMethodName = "OnIsFallbackFileAccessible";

private const string SdkVersion = "8.1.1";
private const string SdkVersion = "8.1.2";
private const string SdkSource = "unity";

private const string DefaultRemoteConfigContextKey = "";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.qonversion.unity",
"displayName": "Qonversion",
"version": "8.1.1",
"version": "8.1.2",
"unity": "2018.3",
"description": "Empower your mobile app marketing and product decisions with precise subscription data.",
"author": {
Expand Down

0 comments on commit de557b7

Please sign in to comment.