Skip to content

Commit

Permalink
fix: handle brand property in products
Browse files Browse the repository at this point in the history
  • Loading branch information
1abhishekpandey committed Feb 14, 2023
1 parent ca20e70 commit b217f7e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PODS:
- CleverTap-iOS-SDK (3.10.0):
- SDWebImage (~> 5.1)
- Rudder (1.1.3)
- Rudder-CleverTap (1.0.1):
- CleverTap-iOS-SDK
- Rudder
- SDWebImage (5.12.1):
- SDWebImage/Core (= 5.12.1)
- SDWebImage/Core (5.12.1)
- Rudder (1.10.0)
- Rudder-CleverTap (1.0.3):
- CleverTap-iOS-SDK (~> 3.0)
- Rudder (~> 1.0)
- SDWebImage (5.15.2):
- SDWebImage/Core (= 5.15.2)
- SDWebImage/Core (5.15.2)

DEPENDENCIES:
- Rudder-CleverTap (from `../`)
Expand All @@ -24,10 +24,10 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
CleverTap-iOS-SDK: 1e38a25eee5bdb3e525c5c8497504bc64b7d695d
Rudder: 4121e7e96f7c9bb975d0aa97da204b9d71fafdeb
Rudder-CleverTap: 7c887be621f8c3c1d9fac87db34836be8ca03764
SDWebImage: 4dc3e42d9ec0c1028b960a33ac6b637bb432207b
Rudder: 779dce4fdb93f3d102a876e13f5450074a4211e1
Rudder-CleverTap: f1429a62c26b6db1d4b0c7ea50b7bd8f907625e5
SDWebImage: 8ab87d4b3e5cc4927bd47f78db6ceb0b94442577

PODFILE CHECKSUM: 5bdc8bea45680c7529abadb38ab094bd0dc5ae26

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
4 changes: 4 additions & 0 deletions Rudder-CleverTap/Classes/RudderCleverTapIntegration.m
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ -(NSArray*) getProductList:(NSArray*) products
{
transformedProduct[@"image_url"] = product[@"image_url"];
}
if(product[@"brand"])
{
transformedProduct[@"brand"] = product[@"brand"];
}
[transformedProducts addObject:transformedProduct];
}
return transformedProducts;
Expand Down

0 comments on commit b217f7e

Please sign in to comment.