Facebook iOS SDK : publish in background - ios

I can’t find (and I wonder if it is still possible) in the lastest FB SDK how to achieve background publishing.
The publish permissions are all gone (FBLoginButton or GraphAPI), I can’t find a single updated piece of code). It seems that it is no longer possible and new apps have to rely on the ShareKit that présent à dialog.
Any help would be appreciated.
Thanks.

Assuming you are talking about user profile publishing: The required permission publish_actions is not available anymore, there is no way to publish to user profiles with the API anymore. You must use share dialogs.

Related

How to dismiss or suppress permission issue automatically related to Contacts, Camera, Microphone in iOS Application

I have been working on a project wherein i made a framework where i automatically test the SDK my company is developing.
I have created my dummy sample application for all the platforms(iOS, Android, OSX, Windows) which makes use of this SDK and i thereby test this SDK, call the SDK API's do my work.
Now my question is for iOS i get permission alerts for Contacts, Camera and Microphone first time whenever i use the API's of my SDK which internally is invoking something in iOS framework. Is there a way i can automatically give this permission to my application ?? i know it's iOS own Security concern and it's correct. But how do i bypass it.
I see there is Apple's XCUITest framework but i don't want to open my application via it.
Right now i handle this alert manually but i need to implement Continuous Integration(using ios-deploy), i have done everything but i can't handle these alerts automatically.
Can someone please help me.. Thanks!!

Install MDM profile via SafariViewController

I was wondering is there a way to install the profile(.mobileconfig) via SafariViewController. I'm aware that only Mail.app and Safari.app have the privileges of doing so.
So, if there is way that SafariViewController can handle such request, please let me know.
Thanks,
Yathish
It looks like it's possible to install mobile configuration profiles (.mobileconfig) via SFSafariViewController since iOS 11.3. I confirmed this on both iOS 11.3 and iOS 12 beta.
See here for more details: https://forums.developer.apple.com/thread/103337
As the documents written for SafariViewController(https://developer.apple.com/library/prerelease/ios/documentation/SafariServices/Reference/SFSafariViewController_Ref/index.html), are saying that the SafariViewController is minimizing the work of developers who need to create UIWebView inside the application which need to show the web interface in application.
On the other side Safari.app is a different iceland where things are going on, and our application is a different one. Apple granted different level of permissions to applications. Based on that the Mail.app and the Safari.app are enabled to install the .mobileconfig(configuration files).
As we Apple is very much clear about the functionality of the SafariViewController, they will not allow us to install the .mobileconfig file from out applications with SafariViewController.

iOS app login to LinkedIn and not show request for permissions

I am developing an ios app and trying to allow the user to connect to their LinkedIn account.
I am using the steps found in
https://developer.linkedin.com/docs/ios-sdk-auth
where I
Registered my app with LinkedIn to get the application id.
Updated my info.plist with the *li{application id}* entries for URL Schemes
Called LISDKSessionManager.createSessionWithAuth() to start the login process.
However, this only opens up the LinkedIn app on my iPad, but does not show me which permission I had requested nor redirect me back to my app. I am at a loss to if this is the intended behaviour or am I missing a step.
Note that the sampleapp provided by linkedin also does not show me the page with a list of permissions requested or redirect me back to my own app.
It appears that the LinkedIn app has an iPad-specific bug that prevents it from returning to other apps after createSessionWithAuth: is called, even when all credentials are correct.
(I had to wait for the delivery of a physical iPhone to test my hypothesis, as there is no way to log in like this on a simulator).
Update
My answer was with regard to the 1.0.2 sdk, which also had problems with all iOS 9 devices. The iOS 9 problems were fixed with the 1.0.4 sdk, but the iPad problems remain.
Found the solution. For me, it was about setting our bundles right:
On https://www.linkedin.com/developer/apps/xxxxxx/mobile, make sure that your 'iOS Bundle Identifiers' is the same on your app. Plus, click on Update! I just added and 'forgot' to save them.

Not seeeing "Reply" link to app in Facebook Messenger Platform integration

I was implementing optimized integration for Facebook Messenger Platform for my iOS app using the SDK and am facing a few issues. When I share content from my app to Facebook Messenger, I always see the "Install" link alongside my app link, even though the app is installed. Also, I never see the "Reply" button on the content shared from my app, just Install.
Both the sender and receiver have Admin access to the corresponding Facebook app. (The FB integration features are currently in dev, even though the app is live).
Followed all the sequence of steps mentioned in the documentation - https://developers.facebook.com/docs/messenger/ios
FBSDKMessengerURLHandler callbacks are implemented for FBSDKMessengerURLHandlerReplyContext and FBSDKMessengerURLHandlerOpenFromComposerContext as well.
Not sure how to proceed to test the features. Anybody else faced the same problem? Any help would be much appreciated.
I had the same issue. Find any valid iOS App Store ID and fill it in on the developers.facebook.com page (near where you enter the Bundle ID info).
Relaunching Messenger made the Reply button start to show up on new messages.
The developer community at Facebook is pretty awful.

how to build corona sdk for android?

hi friends any one him help to me solve this problem in corona sdk
i have account in indie android when i build.when i build for for android os they make question
continue trial
verify purchase
upgrade
i will choose a 2nd(verify purchase) option. And they show build window. In that window I'll fill the application,version code,package,and when browse a keystore file .And they make again the same question above and i again choose the verify purchase .And it does not give permission to choose keystore .and it automatically select the default keystore file.
And it build app as trial users
This sounds like a verification issue that you will need to file a support ticket to resolve. If you have changed your email address or password that may have caused the issue.
You can contact support here: http://developer.coronalabs.com/forms/support
Someone will be able to assist you from there - alternatively if you have changed your email or password temporarily changing it back may provide a temporary solution while this is being resolved.
If its a verification issue you could also try to deauthorize your computer in Corona SDK: Corona Simulator -> Preferences->Deauthorize and Quit
or delete these in ~/library/Preferences/ folder.
com.anscamobile.ratatouille.plist
com.anscamobile.Corona_Simulator.plist

Resources