Implementing dropbox api on older versions of ipad - objective-c

I read the dropbox ios api documentation and one of the first things that is mentioned is that dropbox api support is for ios 4.2+
I want my app to support older versions of ios as well (3.2 onwards) -
I thought of implementing REST api but i have very little knowledge of OAuth and the rest api in general
I went through googles GTM - OAuth and had a hard time implementing it for dropbox and im not even sure its possible
What i would like to know is that if what is the best approach and what would be appropriate libraries or frameworks i can use to do this in the simplest way possible

Related

Is it required to migrate to GIS when you're using google-oauth2?

This link https://developers.googleblog.com/2022/03/gis-jsweb-authz-migration.html says
Your full suite of apps and platforms may be using different methods of authentication and authorization from Google. The following are NOT affected by this deprecation announcement:
Android or iOS native app SDKs,
Backend platforms directly calling Google’s OAuth 2.0 or OpenID services.
I'm currently trying to understand our huge legacy code which might be affected by the GIS migration. Currently, we just redirect to https://accounts.google.com/o/oauth2/v2/auth to start the oauth2 process, once the user clicks the "Sign in with google" button. I've seen this link in the example of the old way from the migration document here: https://developers.google.com/identity/oauth2/web/guides/migration-to-gis#oauth-2.0-endpoints however I'm not sure if it is required to migrate to GIS or not.
From what I understand, only the frontend related libraries should be worried, but I'm dumb so maybe I'm misunderstanding. Can anyone help enlighten me?
Thanks.
You do not need to migrate if you are directly making calls to the Google's OAuth 2.0 endpoints.
The guide you reference recommends using the library with the note use the Google Identity Services library to support a less intrusive popup UX mode and to avoid having to manage complex OAuth 2.0 requests and responses. The intent there is to simplify your implementation not to force a migration.

Cloudinary SDK vs APIs. What is the benefit of using one over each other?

I am learning Cloudinary. It can be integrated with any backend or frontend application using its rich SDK. But it can also be workable with its APIs like https://api.cloudinary.com/v1_1/:cloud_name/:action
with necessary HTTP methods, by directly using the rest API in place of its SDK methods.
But which one is better and why? Any answer is appreciable.

How to make sure, that my apps support short-lived Dropbox access tokens?

I have added Dropbox support to my apps a while ago and never touched the implementation since. It is still running fine. However, a few month ago Dropbox updated the way permissions are handled which may require code changed in my apps. As explained by Dropbox I have to check if my apps work with short-lived access tokens.
The Dropbox docs describe the necessary changes when using their API directly but I use different versions of their official SDK in my apps:
iOS: ObjectiveDropboxOfficial 3.1.2
macOS: ObjectiveDropboxOfficial 2.0.6
Android: dropbox-core-sdk 3.0.6
As said, I have not changed or updated the Dropbox code in my Apps for a while. Newer versions of the SDKs are available and I will update them soon. However, I am not sure how to test, if the existing versions of my apps, using these SDK version support short-lived access tokens or not. How can I test this?
I have only configured the SDK code (provided the API key, etc.) and all API calls, tokens, etc. are handled by the SDK. How do I find out, if these SDK version work correctly work with the updated API?
The official Dropbox SDKs have been updated to support short-lived access tokens, as of v5.0.2 for the Dropbox Objective-C SDK, and v3.1.0 for the Dropbox Java SDK.
You should update to the latest versions and then update your code to use the latest methods for the authorization flow as covered here for the Objective-C SDK and here for using the Java SDK in an Android app.
Once you've done so, you should test the full app authorization flow by signing out and signing back in again, in each version of the app, along with whatever other testing you would normally do.

How to integrate Sagepay iOS SDK

According to my application requirement, I need to integrate the Sagepay ios SDK, but on the Sagepay website, they don't provide any official document or flow also.
I try and get some code in the objective-c mode in here
https://github.com/ColorsSoftwarePvtLtd/SagePay-iOS
Please refer to me any SDK example codes in Swift or already existing links.
That looks like a third party project I reckon that's not an official SagePay supported SDK.
If app integration is extremely important to you, don't use SagePay and instead use modern providers like Stripe/Braintree/Adyen who generally provide SDKs and have better documentation / examples.
The support for mobile payments from SagePay is painful. We asked them for a ApplePay / GooglePay integration back in 2017 and they said then that they "are working on it". We've since gone with a different provider for those types of payments, and we're quite glad we did otherwise we'd still be waiting 2.5 years later.
At the moment for classic card payments we submit payment details to SagePay and then go to a WebView for 3-D Secure, which we've had to manage in our apps. There is unfortunately no nice SDK to use. For iOS there is this https://github.com/brightec/3DSecureView which helps somewhat with that.
HTH.

Google Analytics in iOS Embedded Framework conflicts with hosting app?

I am building an iOS 8 Embedded Framework which will be available to our clients to integrate into their own apps. I need to track events occurring within the code of the framework, so I have added the google analytics sdk to the framework.
However, if our client is also using the google analytics framework, I run into duplicate symbol erros.
As a workaround, I have use the Google Analytics Measurement Protocol, and built the url myself for tracking events.
It was working for a while, but then stopped - I believe the issue had something to do with the Anonymous client Id parameter which needs to be properly generated unique for each device (I was using a constant value being sent every time to google's servers) ? I think?
Do I need an objective-c equivalent of creating the anonymous client id?
I've also had a look at a Cocoa Wrapper for Google Analytics Measurement Protocol but its a bit outdated, and unfinished.
How do I handle this properly and professionally? I need to track google events without causing a headache for hosting applications of my framework?