How to integrate XERO in ios APP - ios

I would like to know is there any SDK for XERO to integrate in to an iOS app.
If there is, what is the process?
I would like to share images(e.g. some bill images) to XERO from my
app
I can't find any API links for iOS and it would be helpful if anyone can
give me any information about XERO integration in iOS.

I know this is old question but as of now xero has changed oAuth 1.0 to oAuth 2.0 and they have provided a correct way to do the integration with mobile and desktop clients using PKCE.
https://developer.xero.com/documentation/guides/oauth2/pkce-flow/
though there are not good sample code available in Swift iOS. so i have has published an article with sample code and downloadable git repository. i hope it helps you or anyone looking for iOS integration with xero.
https://satvasolutions.com/latest-guide-on-oauth-2-0-integration-with-native-ios-app-using-pkce/
Hope this helps.

Related

Is there any sdk available for PayPal Payments Pro SDK in ios side?

It might be duplication, but I haven't find out proper solution (whatever I am looking for).
I am an iOS developer, currently I have an requirement to integrate PayPal Payments Pro SDK in ios side.
I already have knowledge about PayPal Standard SDK and I did it also. But how can I integrate PayPal Payment Pro (Credit card/ Debit Card Payments) in iOS side without taking PHP help (Server API).
I already generated Credentials like:
API UserName
API Password
API Signature
I googled it a lot but I didn't find out proper solution regarding this question.
I don´t think it exists. You have to use:
https://github.com/paypal/PayPal-iOS-SDK (Credit card/paypal payments).

Swift 2 OAuth2 LinkedIn connection

I'm gonna make an native iOS app with Swift 2 and Xcode 7. The users should login using LinkedIn and OAuth 2 but I'm wondering how I should begin to set this up. I don't have many experience with OAuth 2.
Is there a good tutorial or a sample app? I saw the Ray Wenderlich post but that comes with an existing project. I want to build an app with LinkedIn login from scratch.
EDIT
I want to use the LinkedIn login to get the user's connections and send them notifications. I was researching this and I found some pages that said that connections can't be retrieved from the new LinkedIn API, is this true? It is not possible to get someone's connections from LinkedIn in a native iOS applications?
You should start with LinkedIn guide for LinkedIn and OAuth 2 .
But still if you need a sample for Authentication with OAuth 2 here it is .
For your second question related to the connection yes Linked have made changes but the API is still available but for the partners .
If you are an existing LinkedIn partner, these changes will not impact your existing partnership or the associated APIs that your partnership allows you to access.
If you are experiencing issues as a result of the May 12th changes, please reach out to your LinkedIn Business Development representative immediately.
For further details you can see Developer Program Transition Guide.
Check out this repo, I did this swift pre-2.0 but it shows you the basic algorithm. You can do it the with your secret hard coded or fetch it from the server. The key is getting the oath header just right which is a huge pain
https://github.com/GregPrice24/SwiftStream
Check this out: https://github.com/jeyben/IOSLinkedInAPI
I used this repo and successfully implement LinkedIn integration in my App. It is in Objective-C but you can use Cocoapods and import them as Frameworks and use in swift2 with no trouble.
Note: As of the 12´ May 2015 LinkedIn applied restrictions to API usage for all non partners: See: https://developer.linkedin.com/blog/posts/2015/developer-program-changes
So you can only get the basicprofile at the beginning, but you can apply for the partner program to get those extra information such as connections here: https://developer.linkedin.com/partner-programs

Integration of PayTm payment in iOS

Could anyone please tell me how can I implement payTm payment gateway in my iOS app. Searched a lot in internet but couldn't get any result. Not sure whether they provide any SDK or API to use.
I was searching for payment gateways which are mainly focussed in India. found One97's Paytm Payments but not sure how to implement this in iOS app.
Could any one please help me.
Paytm has SDK for both iOS and Android platform. It is integrated already on few merchants. Write to us at pgsales#paytm.com and we will send you SDK and Integration document along with test credentials.
PayTM is only for Private Ltd. companies. Unlike PayPal(unfortunately not in India), which provides access to there SDK for developers as well.
If you want to integrate PayTM, you would have to contact them and they will give you a list of things (which includes: DIN number, company name, PAN.. etc) which you should have before getting the SDK access.
This to me is pretty outdated thing. PayTM should provide access to developers to at least test their platform. Sandbox account is something developers can test their app before going live they can definitely request for all the needed details. In that sense, PayPal integration is way way better.
#Prerna Kalra Please let your team know that developers want to test their integration before going into all the official details.
To integrate with Paytm payments, you would require an SDK that they provide for the same. You need to get in touch with the Paytm's integration team for the SDK.
I'm pretty sure a lot of people are asking this and Paytm is not really ready to make its own documentation. The only way I know of is to download their sdk and contact their customer care with your query about integration. And await their response for installation queries.

Asana User oauth authenticatication in ios apps

Hi All: I have integrated asana with my ios app using AsanaAPIKey for the user authentication. Now I want to do it using oauth authentication(new requirement).I have searched a lot but haven't found any valuable stuff related to this.Some examples are given in Ruby,but I know nothing about Ruby.Can any one help me out.
We don't have official iOS examples, but in general OAuth on Asana tries to be as close to "typical" as possible. Check out another SO question, https://stackoverflow.com/questions/5374570/whats-the-best-ios-oauth2-framework, for help with iOS and OAuth 2.0, between that and the developer docs https://asana.com/developers/documentation/getting-started/authentication I hope you find what you need, but if you run into specific issues please share them!
In the long-term we're hoping to have a proper iOS SDK to make this easier, but given constrained resources I wouldn't hold your breath on that.

Update your app to support OAuth 2.0 before 12/13/1

I am using the following java script api for facebook connect http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php
Then i received this email from fb
Dear Developer,
As part of our continued efforts to migrate all apps to OAuth 2.0, we opted in all apps using the new JavaScript SDK to OAuth 2.0 this afternoon at 11am PT and reverted at 1:30pm because we noticed that your app has not migrated. Please ensure that you have set the oauth param in FB.init to true and that you are using FB.getAuthResponse to obtain the access token.
Read more in the OAuth2 migration announcement, updates to the new JS SDK blog post, or our JS SDK docs.
But i did't updated my fb connect implementation and it is still working fine. I am not sure will this effect my fb connect in future? and secondly why my implementation is still working fine? Any help will be really appreciated.
You should use the new version as soon as possible. I've been dealing with Facebook and their various APIs for four years now. This is the most warning they've ever given for deprecating anything, so this is big for them. Upgrade your websites ASAP. :)

Resources