Facebook SDK for tracking app installs
Nabeel
Expo currently supports the Facebook Login function from the Facebook SDK. However, it does not support the SDK's basic function of tracking app installs on its own.
To be able to track app installs, the SDK simply has to triggered in the app when being used. It doesn't require specific code to be added for tracking installs like the Facebook Login function.
Please include the ability to use the Facebook SDK for tracking app installs. Tracking installs can be used for the purpose of tracking the results of Facebook ad campaigns.
Audrey JW
Hello there! I am also trying to track app installs based on Facebook Ad Campaigns and so far... no luck!
I am not even sure if I should download:
- https://www.npmjs.com/package/react-native-fbsdk-next#usage
to fit my needs...
Any help would be much appreciated! Thank you. ><
PS: I also looked into
expo-facebook
package but the official documentation states that it's deprecated...M
Muzandgo
Thank you Michael for your fast reply.
Before posting on this forum, I obviously did a lot of research and I found several users who were facing the problem without having found a solution. Example :
"I am struggling to implement facebook sdk inside my expo app, precisely: I need to track app download campaign, I am following this simple guide from official docs https://docs.expo.io/versions/latest/sdk/facebook/ but events doesn't seem to work. Have anyone succeeded with this?"
I followed all the settings given in the docs regarding manifest and configuration files, but nothing helps, Facebook Business still says that the Facebook SDK is not installed in the application.
However Facebook perfectly recognizes our application since the Facebook Login button works perfectly.
Wodin
Muzandgo: The Expo Team has done a lot of work recently to allow us to use custom native code in managed Expo apps. But in order to do this we need to build with EAS Build instead of the old
expo build:ios
/expo build:android
. Also, depending on the library we're trying to use we might need to write a Config Plugin.If you can post a minimal example app to forums.expo.dev to show what you've done, then maybe someone can have a look and see what the problem is.
I have not tried to integrate the Facebook SDK myself and I don't know if there's anything else that needs to be done (other than just installing the SDK) in order to track app installs. But maybe another forum member or maybe one of the Expo Team members will be able to help.
EDIT: You will probably need to install the SDK based on Facebook's documentation rather than Expo's documentation.
M
Muzandgo
We are unable to run campaigns with our marketing agency to promote our app. This feature is really essential. Our project is completely blocked after 2 years of R&D. The choice of Expo turns out to be a disaster for us. Please integrate this functionality as soon as possible.
Wodin
Muzandgo: If you have the details of what code needs to be added/changed in order to implement this functionality in a React Native app you should be able to do the same thing using a Config Plugin and EAS Build without needing the Expo Team to implement this.
If you can point to some documentation about what a mobile app developer needs to do in order to support this functionality then someone here (or maybe on the forums or discord) can recommend a solution.
Mohammad Islam
I also need this feature to track app installs from Facebook campaigns.