Skip to content

Commit

Permalink
Updating Unity plugins for version 3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
radixdev committed Sep 22, 2022
1 parent a86c407 commit 878fbba
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 30 deletions.
6 changes: 0 additions & 6 deletions Assets/Plugins/Appboy/AppboyBinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,6 @@ public static void RequestContentCardsRefreshFromCache() {
#endif
}

public static void LogContentCardsDisplayed() {
#if HAS_BRAZE_SDK
mBinding.LogContentCardsDisplayed();
#endif
}

public static void LogContentCardClicked(string contentCardString) {
#if HAS_BRAZE_SDK
mBinding.LogContentCardClicked(contentCardString);
Expand Down
4 changes: 0 additions & 4 deletions Assets/Plugins/Appboy/BrazeAndroidPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,6 @@ public void LogContentCardDismissed(string contentCardString) {
contentCard.Call("setIsDismissed", true);
}

public void LogContentCardsDisplayed() {
Braze.Call("logContentCardsDisplayed");
}

public void RequestContentCardsRefresh() {
Braze.Call("requestContentCardsRefresh", false);
}
Expand Down
1 change: 0 additions & 1 deletion Assets/Plugins/Appboy/BrazePlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ void SetUserLastKnownLocation(
#endif
void RequestContentCardsRefresh();
void RequestContentCardsRefreshFromCache();
void LogContentCardsDisplayed();
void LogContentCardClicked(string contentCardString);
void LogContentCardImpression(string contentCardString);
void LogContentCardDismissed(string contentCardString);
Expand Down
7 changes: 0 additions & 7 deletions Assets/Plugins/Appboy/BrazeiOSPlatform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ public class BrazeiOSPlatform : BrazePlatform {
[System.Runtime.InteropServices.DllImport("__Internal")]
private static extern void _displayContentCards();

[System.Runtime.InteropServices.DllImport("__Internal")]
private static extern void _logContentCardsDisplayed();

[System.Runtime.InteropServices.DllImport("__Internal")]
private static extern void _displayNextInAppMessage();

Expand Down Expand Up @@ -410,10 +407,6 @@ public void DisplayContentCards() {
_displayContentCards();
}

public void LogContentCardsDisplayed() {
_logContentCardsDisplayed();
}

public void WipeData() {
_wipeData();
}
Expand Down
1 change: 0 additions & 1 deletion Assets/Plugins/Appboy/Tests/AppboyBindingTester.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ void FeedReceivedCallback(string message) {

void ContentCardsReceivedCallback(string message) {
Debug.Log("ContentCardsReceivedCallback message: " + message);
AppboyBinding.LogContentCardsDisplayed();
try {
JSONClass json = (JSONClass)JSON.Parse(message);
if (json["mContentCards"] != null) {
Expand Down
5 changes: 5 additions & 0 deletions Assets/Plugins/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.10.0

##### Fixed
- Removed `AppboyBinding.LogContentCardsDisplayed()`.

## 3.9.0

##### Breaking
Expand Down
7 changes: 0 additions & 7 deletions Assets/Plugins/CHANGELOG.md.meta

This file was deleted.

4 changes: 0 additions & 4 deletions Assets/Plugins/iOS/AppboyBinding.m
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,6 @@ void _displayContentCards() {
[[AppboyUnityManager sharedInstance] displayContentCards];
}

void _logContentCardsDisplayed() {
[[Appboy sharedInstance] logContentCardsDisplayed];
}

# pragma mark - Content Card refresh

void _requestContentCardsRefresh() {
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 3.10.0

##### Fixed
- Removed `AppboyBinding.LogContentCardsDisplayed()`.

## 3.9.0

##### Breaking
Expand Down

0 comments on commit 878fbba

Please sign in to comment.