Test Deep Link Notification using Facebook not working in iOS - 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.

Related

Why the Flutter phone authentication won't work my real device

I have encountered a strange problem. I'm using the Flutter tool to create my iOS app which requires Firebase phone authentication. I was able to make it work on the other app platform without any fuss, but I'm not able to make it work on iOS real device. As per the documentation, I have to register an APN key from the developer account which I did and added my app's bundle ID too. This key I had to upload in my app console in Firebase which I also did. The REVERSE_CLIENT_ID was entered in the project settings in Xcode too, so the simulator version works flawlessly.
However, when it came to make it work on the real iPhone, I get this issue
flutter: exception code verifyPhoneNumberError message Invalid token.
I just am not able to make out what the issue is. One thing to note is that I had created a native Swift version using same APN key with different App ID for test purpose. Could this be a cause? Should I create a new APN key and will that allow my old App ID?
I got it working by doing a couple of things. I don't really know which one is the actual reason of it working, but along with official docs, I also followed this blog post https://medium.com/flutter-community/flutter-adding-sign-in-with-google-and-phone-authentication-to-your-app-69f681518f9b for help and achieved it due to the blogger's additional help when asked.
Basically I created a new APN key altogether for both push notifications and Firebase phone authentication, then uploaded in Firebase console (removing my old one). Later, the blogger suggested I also enable Background modes for remote notifications in my Xcode project settings. I didn't know this, as I had thought the Push Notifications switch was enough. Anyhow, bam! it started working.

Facebook App can't find Appstore ID

I'm developing a iOS App right now and got some awkward things going on with Facebook.
The App is using the Facebook Login and therefore I need to add the
Bundle-ID, iPhone Store-ID and iPad Store-ID in the Facebook App so I can use the login in my native app.
like so: http://puu.sh/rE4oW/bfba72feb3.png
Error: "There was a problem fetching your iPhone Store ID from the App Store. Please check the ID and try again later."
But I can't add the appstore id because Facebook doesn't find this in the store.
This is right because the app is not listed in the store right now.
But how should I implement the login without releasing the app in to the app store?
I am confused..
This is a known issue with Facebook Login, that you can't leave it blank.
But what you can do is set it to 0.
Release the app and then you should have your iPhone Store Id & iPad Store Id, so you can change it then.
References of people facing the same issue:
https://forums.coronalabs.com/topic/43922-facebook-unable-to-retrive-iphone-store-id/
Please Note:
After reading about it, my recommendation is that you release this feature after your first App Store release. Because a non-working released feature is way worse than limited features.
Rest is upto you. Cheers!

Error message to set iPhone/IPad ID in Facebook setting

We'd like to start promoting an app which just passed review (not released).
As we put our iPhone/IPad ID, it shows
"Having error to get your iPhone store ID from App store."
We tried to put "0" and "blank", but it still have error message.
Should I just ignore this message? Does it mean anything we should fix?
Thanks for your help!
This ID should be relevant if you run App Install ads, it is the ID used to display/link to the App in the iOS App Store. Once your app is live on the store, pop the ID in there and it should save just fine.
If the ID is missing, there would be no way to link to your app in the iOS App Store.

iOS simulator build for Facebook app approval crashes

I have done everything specified by Facebook. I even validated the sim build using the ios-sim tools and it runs fine on my Mac. There are no crashes. Has anyone had this problem before? What am I missing. here is a screenshot :
Edit I gave it another try and I got the same results. Even for the Android build. I was thinking tht maybe i sent them a zip by mistake but this time I double checked that I'm sending them a link to a .apk file to download from Mega.nz. Testing the iOS sim build on my end yields nothing since the game runs fine. I'm in dire need of some sage advice from someone who has gone trough this process. Here is another screenshot from todays rejection.
In my case I just set the app in facebook to be active for the public. This allowed my users to log in and share post, from the app to facebook. I'm Only missing the publish_actions permission. Just get your app approved on the app store and send facebook the link for that. Simulation builds just dont work for them
Dude I never tried it before but I read somewhere that if you are getting trouble to get approved by selecting iOS on submitting you can select Android as platform on submission and after approved your facebook integrations will be working fine for iOS apps too.
Doesn't cost too much to have a try ;)

Determine installation of the app from Facebook

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.

Resources