Skip to content

Commit

Permalink
more fixes so workflow will work
Browse files Browse the repository at this point in the history
all fixes are derived straight from the errors the workflow gave in order to build the example react app.
  • Loading branch information
Dani-Koza-AF committed Aug 14, 2024
1 parent 7129688 commit 5ce2743
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion examples/CapacitorReact/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import '@ionic/react/css/display.css';
import './theme/variables.css';
import { AFConstants, AppsFlyer } from "appsflyer-capacitor-plugin";
import { AppTrackingTransparency } from "capacitor-plugin-app-tracking-transparency";
import React, { useState } from "react";

function initAppsFlyer() {
setOAOA();
Expand Down
10 changes: 5 additions & 5 deletions examples/CapacitorReact/src/components/ExploreContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ function logAdRevenueExample() {
.catch(e => alert('logAdRevenue returned error: ' + e));
}

function sendPushNotificationData() {
AppsFlyer.sendPushNotificationData({
pushPayload: { af: '{"pid":"media_int","is_retargeting":"true", "c":"test_campaign"}' } //replace with push payload
});
}
// function sendPushNotificationData() {
// AppsFlyer.sendPushNotificationData({
// pushPayload: { af: '{"pid":"media_int","is_retargeting":"true", "c":"test_campaign"}' } //replace with push payload
// });
// }

const ExploreContainer: React.FC<ContainerProps> = () => {
return (
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
},
"devDependencies": {
"@angular/cli": "^12.1.1",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@capacitor/android": "^6.0.0",
"@capacitor/core": "^6.0.0",
"@capacitor/docgen": "^0.2.0",
Expand Down

0 comments on commit 5ce2743

Please sign in to comment.