IOS Tracking Facebook installation, app install number not growing - ios

As per this Facebook documentation, In my app I have implemented the last Facebook SDK and I have added the following method in my AppDelegate:
- (void)applicationDidBecomeActive:(UIApplication *)application {
[FBSDKAppEvents activateApp];
}
All seems to work correctly in the begining. I have installed my app by Xcode and in the Analytics section of my Facebook app I could see (under events section) :
App Installs: 1
To check this behavior I installed my app in another iPhone but the App Installs number is still 1.
What causes this behavior? Installing the app in another device apparently is not creating a new installation event?

Related

Using Firebase analytics for Unity on iOS prevents the use of promotional IAP

We are now preparing our game for the new iOS 11 promotional IAP, and it seems that when Firebase Analytics is enabled, we do not get the second call to the IAP event.
Scenario:
- Firebase analytics are enabled
- We open the app on iOS (ver 11) with the promotional iAP link
- We see the IAP window
- We get back to the iOS main screen (press the home button)
- We press the iAP link again
- We get into the app, and do not see the iAP window
The same scenario with firebase analytics disabled is working for us.
It took us a lot of time to understand that this caused the error.
We think that somehow, using firebase analytics blocks the iAP event from getting into other modules, does anyone else encountered this behavior?

Facebook iOS SDK- Mobile App Install Tracking not working

I'm using Facebook SDK version 4.5.1 in my application. The APP ID, URL scheme, App display name etc have been incorporated into the info.plist correctly. We have Authentication as well as Share features inside the app all of which are working perfectly as expected. For Event tracking we have;
- (void)applicationDidBecomeActive:(UIApplication *)application{
[FBSDKAppEvents activateApp];
}
I can confirm that analytics is working seeing the Dashboard, i.e Installs and App events are getting reported correctly.
But when I run an Ad Campaign I would expect the SDK to correctly report the Mobile Installs but unfortunately I don't see any of that data coming in, i.e Mobile App Ad Installs are showing "0" installs.
An interesting thing to note here - when Checking with Facebook's App Ad Helper, It seems to show the "Last iOS Install" data on the top correctly but interestingly enough the second row i.e "Installs over the last 7 days" seems to show an "X".
Here's a screenshot of the same
But here's the screenshot which confirms that installs are getting reported.
Facebook is tracking organic install now. I also faced similar situation and i came across the concept of organic app install tracking.
Just install the app on a fresh device (which was not used with my application earlier). You will be able to see the install in the facebook dashboard after few minutes.
Thats all!
Hope this helps
I managed to get this working eventually. Haven't got the confirmation officially from Facebook dev team on this but it turned out that the "Advanced settings" section in the App Facebook Setting has an "Collect the Apple Advertising Identifier (IDFA) with App Events" switch which was turned Off for our App. The App was created a pretty long time back and this had to be turned On.
Although the description below it seems to suggest that this might not have been the real reason behind the issue, I can confirm that installs started reporting once we had this turned ON.
You must have the iPhone Facebook App installed for their analytics to work.
I had the exact same symptoms, and after installing the FB app it worked. Seems really like they're bypassing sandboxing somehow, but there you go.

Open communication session with iOS app from Pebble watchapp

I recently made an app for Apple Watch that I want to port to Pebble. The app is simple, when opened on the Watch it requests the info to the iPhone app, that asks for location, gets the nearest POI and returns the info to the Watch; all of this is done via - (void)application:(UIApplication *)application handleWatchKitExtensionRequest:(NSDictionary *)userInfo reply:(void(^)(NSDictionary *replyInfo))reply AppDelegate's method.
Is it possible to get this behavior on a Peeble app? I'm reading the docs and it says:
The session can only be opened from the phone app. This means that the iOS app has to start "talking" to the watch first in order to open the communications channel; the other way around is not possible.
Pebble iOS docs
So, if I understood correctly, the Pebble watchapp cannot request anything to the iPhone app, is the iPhone app the one which has to send the info to the Pebble watchapp. Is this correct?
Thank you so much.
Yes, that is correct for PebbleKit iOS.
On the other hand you can use PebbleKit JS, and build an app that utilizes AppMessage, and can get your location, talk to your POI api, etc.

Facebook - Mobile app installs not tracked

I am having some troubles when trying to track the number of mobile installs of my iOS application through Facebook.
I am using Facebook-iOS-SDK 4.0.1, and calling:
- (void)applicationDidBecomeActive:(UIApplication *)application {
[FBSDKAppEvents activateApp];
}
However, when I go to the bottom of my Facebook application dashboard, I have this:
Last Mobile App Installs:
We have not seen any install pings from your app yet
Moreover, if I go to the App Ads Helper for my app, I get:
No installs were recorded in the last 7 days for iOS. See App
Analytics for more data. If you expect to see installs reported, make
sure you have set up measurement as indicated here. Specifically, make
sure to
Call the 'activateApp' function as soon as the app is on
foreground.
Include the correct Facebook app ID in the info plist.
I'm doing both things. In fact, I use other features from the Facebook iOS SDK and they are working fine.
What is weird is that, if I go to App Analytics and head to the mobile installs report, there are actual installs being tracked.
So the question is, why are the installs being shown in App Analytics but not in the other two sections (Dashboard and App Ads Helper)?
Is there anything I am missing in the iOS code or in Facebook application settings?
Thanks!

How many people have installed my iPhone app as a result of Facebook ads?

I've followed the instructions on this page for my Xcode project (iOS app): https://developers.facebook.com/docs/ios/getting-started/
Create Facebook ad for our iPhone APP
installed the Facebook SDK for iOS
obtained Facebook App ID
configured Xcode project
And I've created and run ads for app installs however how do I know how many people have installed my app as a result of the ads? There is nothing showing top left of the ads page....just zero???? Nothing showing in my Facebook Developer account.
here is the code
[FBSettings setDefaultAppID:#"MY FACEBOOK APP ID"];
[FBAppEvents activateApp];
I've clearly missed a pretty obvious step. Can someone please shed some light?

Resources