Determine installation of the app from Facebook - ios

I am using in my app Facebook's Mobile App Ads for Installs.
That means I can see when people install my app from Facebook along with the conversion rates using Facebook's dashboard.
My question:
Is there a way to know that from code?
I mean, is there a way to know when the user installed and launched the app from Facebook versus installed and launched from the App Store?
Thanks!

Using the public iOS APIs the answer is definitely No. You can only catch if your app is launched from a push notification.
A workaround is to create a URL scheme and track the events on your own (when this scheme is called). The official documentation for this is here.

Related

How to fill App Store Privacy Questioner if I am using Facebook SDK for app install only?

Can anyone who use Facebook SDK only to check app installs with Facebook/Instagram apps point me to direction of how to fill Apple Appstore Privacy Questioner? There is little info on what exactly Facebook collects in that case, they have a blog post but it is not clear for me from this one:
Preparing for Appleā€™s App Store Data Disclosure Requirements
It looks from what I was able to find that if you use SDK only to check for app installs then this SDK use SKAdNetwork which is anonymous and should not be tracked as well? Also if that is the case should I set FacebookAutoLogAppEventsEnabled to false will it still count app installs?
If somebody have exact setup please point me to the right place thanks!

How to identify if the user opened the link to the App store but did not install the app then but later in the future?

Is there any way to know if a user opened the link to your app on the app store from a universal link but did not install it at that time and after say 2-3 days later, installs the app from the app store itself instead of your link.
Currently, when we simulate the same situation at the time of development during the installation of the app via Xcode we still get those parameters. How to identify if the user did install at that moment or at a later point of time.
You can use any third-party SDK.
I have integrated this feature using branch.io SDK
Using their Quick Links option you can achieve this.

How to user can get updated version of notification of app for third party apps in iOS

I have seen few third party apps in iOS which are installed in iPhone/iPad, If those apps are updated version in app store,
If we open the the app in device, We used to get notification like "New version updated in appstore, Please update."
Is this notification comes defaultly, Or do we need to customise something in iTunes connect or in our application?
I'm looking for how to come to know the installed version is lower than appstore version and if so, How to show popup and once user click on the some button in popup, should navigate to appstore for update the app.
Can anyone give suggestions on this?
That functionality doesn't come by default. If you want to build in-app dialogs or views, you could look at something like Firebase Remote Config to store the minimum or recommended app versions and some appropriate messaging. You could also pass version information to your server and use push notifications to do something similar perhaps later when the user didn't have the app open.
No, that is not the default behaviour. You should implement it by your self or can use some code https://github.com/ArtSabintsev/Siren

Test Deep Link Notification using Facebook not working in iOS

I'm trying to test a deep link notif using Facebook's App Ad Helper tool. However, I'm getting the following error message: Deep link notification could not be sent for the chosen platform.
Anyone experienced this and how did you solved this?
It is probably due to lack of App ID entered in application settings. I am unsure if it is the only possible problem causing this message, but after adding App ID from my app on appstore notification with deeplink was successfully sent to device
In https://developers.facebook.com/apps/712694549805037/settings/basic/, Go to iOS Platform and make sure that iPhone Store ID has a valid value. For me it was not working till the time this value was empty.
You can get this id without even shipping your app to the app store.
But you need a developer account for the same.

Facebook App Install not recorded in Facebook Insights [iOS App]

I am trying to track down the installs in my iOS app in the Facebook Insights panel and i am not really able to do it. The only reading that i get is the number of App Launches. App install data is not getting recorded.
When i went through the insights panel i came across a banner as follows
"This data can be incomplete as we do not seem to be receiving app launch events corresponding to all your app installs"
Can you please help me with a solutions to track the no of App installs in Facebook Insights panel.
If you are using the FB iOS SDK then this logging is done by the use of FBSDKAppEvents class as described here.
One reason I can think of why you cannot see the data is that you do not have enough data. Wait for more data to log and see if it works.
If you are working with Mobile ads then make sure you follow the instructions here. There is an App Ads Helper as well that you might find handy.

Resources