Skip to content

Commit

Permalink
apply code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
noa-kogonia committed Aug 29, 2024
1 parent b66a067 commit 403b5b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@
</pods>
</podspec>
</platform>

</plugin>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

public class AppsFlyerConstants {

final static String PLUGIN_VERSION = "6.15.0";
final static String PLUGIN_VERSION = "6.15.1";
final static String NO_DEVKEY_FOUND = "AppsFlyer 'devKey' is missing or empty";
final static String NO_GCM_PROJECT_NUMBER_PROVIDED = "No GCM Project number provided";
final static String SUCCESS = "Success";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,13 @@ private boolean logAdRevenue(JSONArray args) {
JSONObject additionalParametersJson = args.getJSONObject(1);
additionalParameters = toObjectMap(additionalParametersJson);
}

if(mediationNetworkEnumVal != null){
AFAdRevenueData afAdRevenueData = new AFAdRevenueData(monetizationNetwork, mediationNetworkEnumVal, currencyIso4217Code, revenue);
AppsFlyerLib.getInstance().logAdRevenue(afAdRevenueData, additionalParameters);
}
else{
Log.d("AppsFlyer", "Could not log Ad-Revenue event, bad inputs");
}
}
} catch (JSONException e) {
e.printStackTrace();
Expand Down

0 comments on commit 403b5b6

Please sign in to comment.