I'm trying to set up App Invites on an iOS app I developed. However, when I invite others to use the app, they do not get any notifications.
Right now, the App Link I obtained redirects me to a link starting with itunes.apple.com, but the screen is blank. In addition, when I run the didCompleteWith Results function, I get "didComplete = 1;". I am not sure why the invitation is not working and why the person on the other end is not getting a notification. I have a hunch it could have to do with my App Link, but I am honestly not sure at all. I am trying to use Facebook's purely Mobile API since I do not have a website for my app. Also, it is not released on the App Store.
Any and all help is greatly appreciated.
Thanks!
Related
Apple rejected our app with the following response:
We noticed an issue in your app that contributes to a lower quality user experience than Apple users expect:
- Upon launching the app, a web page in mobile Safari opens first, then returns to the app. The user should be able to use the app immediately upon launch.
Next Steps
To resolve this issue, please revise your app to address all instances of this type of issue.
The app we're developing is a keyboard extension. The use-cases do not require a user to actually open the app and use it. As a result, in the app itself (should you launch it from home/springboard), we redirect the user to our website, which informs the user how to use the product (there's no registration or immediate tutorial required, but we certainly cant have the app do absolutely nothing). From Apple's response, this clearly isn't the right way. My questions:
If a user were to be redirected to Messages, could this solve the problem? The reason I ask this instead of just trying it is so that I dont waste time and end up getting rejected again.
Part of the problem seems that opening the app through springboard is misleading since it doesnt do anything. But my understanding is that we cannot have apps without icons (Create iOS app without menu icon). Do keyboard apps need to be published differently so that we dont have an icon in springboard? If so, please direct me to some documentation/Xcode configuration/resources to achieve this.
This is my first attempt at mobile development
The answer provided by #particleman was the right one. Just loading a WebView within the app was enough for Apple to accept the app.
I'm using FBSDKAppInviteContent to invite people to my app. I'm able to go through the wizard (after finally resolving an error about my app link which was incorrect, now it's not) and the invite was sent. No hiccups, and the delegate responds with {didComplete:1}.
However.. the notification doesn't reach the persons that I want to invite! I have verified:
My app is Live
My app has a valid iPhone Store ID
The app link opens the app
What have I missed?
I finally solved it with the help from the Facebook Developer Community.
The notification are only sent to the same platform your application is serving. If you have set it to iOS, the user who recieves the invitation will only be noitified on his iOS mobile, not on his Android, nor in the browser, desktop or mobile.
Hope that helps another poor sole!
I'm trying to implement App invites from my iOS App.Invites are sent out successfully, but test users never receive anything. This is how i send out invites:
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] initWithAppLinkURL:[NSURL URLWithString:#"https://fb.me/xxxxxxxxxxx"]];
content.previewImageURL = [NSURL URLWithString:#"https:xxxxxx.png"];
[FBSDKAppInviteDialog showWithContent:content delegate:self];
The App has been approved on Facebook but is still in testing before submitting to the App Store. It is an iOS only app. In testing the App successfully sends out App invites and receives a response in the delegate method
-(void)appInviteDialog:(FBSDKAppInviteDialog *)appInviteDialog didCompleteWithResults:(NSDictionary *)results
the response is "didComplete = 1 "which confirms this. I have also tested the App link attached to the Invite to check it works, if the app is not installed Facebook tries to find it on the App store, if it is installed the link opens the app. I've tried using Test users who are not enabled on the app, i've also tried assigning real accounts with tester roles. Neither receive the invite. This is version 1.0 of the app, so its not currently in the app store, therefore it is not possible to set the "iPhone Store ID" setting on the Facebook App settings page. Does the app need to be live in the Apple app store before users receive an invite? I would have thought test users/testers would still receive an invite even if its not live in the Apple App Store?If not, Facebook documentation doesn't seem to mention this anywhere.
I've been researching what might be wrong, but can't seem to sort this out. There are similar questions on Stack overflow, but none that match exactly for this case and SDK version. The solutions suggested in the similar cases don't work for me either. I would simply comment on those existing questions, but i don't have enough reputation points to comment!Please help!
Just found a solution - Looks like you need to put in a live iPhone Store ID into your Facebook App Settings. When i did this the invite was received by 'Test Users' but it is still not received by real accounts that i have assigned as 'Testers'. Not sure why it is still not working for the Testers, but at least i know now that its just because the app is not live and its not a coding issue with the app! This is good enough for me to go ahead with releasing it on the app store without worrying too much! I'll give it a test once its live on the app store.
I'm trying to make a tweak with theos to the Facebook app so that when a certain person comes online (defined by the user) a notification shows saying they came online.
Is there anyway of doing this for an iPhone/iPad/iPod and if so, how?
Thanks for reading
I am sending app requests from an iOS native app using Facebook SDK dialog. I have created a canvas app and set the iTunes ID (using a valid ID from a different app in the store now, since mine is not). The requests arrive at desktop www site, and show up under "App and Games>Invites from friends". But, they do not show up on iOS native Facebook app, unless I first do Facebook SSO with my app. Then, my app bookmark appears in FB, and new requests increment the counter.
How do I get the requests to show up on iOS before my app is installed? Other peculiar thing that may be related, is I get no activity under "Notifications" on iOS, only the app bookmark. On desktop, I see the Notifications globe flash with a red badge at first logon, but then the badge goes away and nothing is there, although the requests appear under "Apps and games". This seems not totally consistent as some people who have tested my app get the expected Notification behavior, but I never do on my own FB account. Could it be because if added and removed the app repeatedly for testing?
Any clues?
My problem seems to have been something fouled up in the Facebook database, probably as a result of my various misfires in early development. At some point it began working correctly without any changes on my end.