Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues with event tracking integration for ios14.5+ #242

Closed
YaroslavReact opened this issue May 3, 2022 · 2 comments
Closed

issues with event tracking integration for ios14.5+ #242

YaroslavReact opened this issue May 3, 2022 · 2 comments

Comments

@YaroslavReact
Copy link

馃悰 Help with integration

Hello, I want to use your package for tracking Facebook event for IOS14.5 +
I did everything according to the instructions but the events are not displayed

I create a project on react-native , versions of my packages

  "react-native-fbsdk-next": "^8.0.0",
  • FBSDKCoreKit (13.1.0):
    • FBAEMKit (= 13.1.0)
    • FBSDKCoreKit_Basics (= 13.1.0)
    • FBSDKCoreKit_Basics (13.1.0)
    • FBSDKGamingServicesKit (13.1.0):
      • FBSDKCoreKit (= 13.1.0)
      • FBSDKCoreKit_Basics (= 13.1.0)
      • FBSDKShareKit (= 13.1.0)
    • FBSDKLoginKit (13.1.0):
      • FBSDKCoreKit (= 13.1.0)
    • FBSDKShareKit (13.1.0):
      • FBSDKCoreKit (= 13.1.0)

To Reproduce

taken from example

#import <FBAEMKit/FBAEMKit.h>

// apply codes below to application:openURL:options:
// in AppDelegate.m or SceneDelegate.m
[FBAEMReporter configureWithNetworker:nil appID:{app-id}];
[FBAEMReporter enable];
[FBAEMReporter handleURL:url];

my AppDelegate.m

Screenshot at May 03 11-08-59 AM

in what format should i set the app id ? putting @ at the beginning is the only option where xCode doesn't give me an error

Expected Behavior

I understand that I have to parse permission from the user and send it to your package
Screenshot at May 02 11-21-20 AM

Screenshot at May 02 11-26-24 AM

it works and i can see device share on ios14.5+

in order to see events from ios14.5+, do I have to make additional settings for the necessary events in this section?
photo_2022-05-02_11-36-24

this is how i track events
Screenshot at May 02 11-18-59 AM

@RRaideRR
Copy link

RRaideRR commented May 3, 2022

I have the same issue. I tried to fallback to version 7.3.3 but this problem still occurs there.

Do you perform Settings.initializeSDK() before you set setAdvertiserTrackingEnabled?

Do you also follow this comment? #66 (comment)

@YaroslavReact
Copy link
Author

I found a problem, you need to separately configure events in facebook event manager and select the necessary events for SKAdNetwork and then select an event for ios 14.5 in the tab below
photo_2022-05-02_11-36-24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants