How to cancel AWS 1.4.6 AmazonServiceRequest in iOS - ios

I have an async upload process working with Amazon S3 but I am having trouble when I try to cancel it.
I'm trying to call cancel on the request but I get an unrecognised selector crash. I think this is due to the cancel method not existing in the 1.4.6 version of the AWS iOS SDK but I could be wrong, I know it definitely exists in 1.6 but unfortunately I cannot use the latest version.
Is there a different way to cancel a request in 1.4.6?
Thanks

I am one of the maintainers of the AWS SDK for iOS. The cancel method has been available on AmazonServiceRequest since version 1.4.4 as seen in GitHub. You may want to verify that you don't have an older version of the SDK in your Framework search path. You can verify the version of the SDK you are using with the code metioned on the AWS Mobile Developer Blog.
Can you let us know why you are unable to use the latest version of the SDK? Is there something we can change to help make it possible for you to upgrade?

Related

iOS Evernote SDK with Evernote App 8.x

We have recently noticed that our app's Evernote integration has stopped working. I've pinpointed it to the new Evernote app update released on January 19th that brings the app to version 8.0.1. Specifically the "IsEvernoteInstalled()" function no longer works, and neither do any ENSession calls that open notes in the Evernote app itself (viewNoteInEvernote for example). I made sure I have the latest version of the Evernote Cloud SDK here:
https://github.com/evernote/evernote-cloud-sdk-ios
but I'm still not having any luck. One oddity I've noticed is that the only required LSApplicationQueriesSchemes item mentioned in the documentation is "en" yet the source code for the app is trying to open "evernote://" urls. Also the "IsEvernoteInstalled" function checks "en://". The current version of the Evernote iOS app appears to only have "evernote://" as a registered scheme so I'm confused. I tried adding "evernote" as another application query scheme, but that did not help. It appears that the Evernote Cloud SDK has not been updated to remain functional with the new version of the app, but maybe I'm missing something?
Thank you.
I think the change of URL scheme is unintentional and will be fixed on the Evernote side.

How to get facebook user information in API version 2.6 in ios?

Is it possible to change the Facebook API version from 2.6 to 2.2 in iOS. I am not able to get all user information in version 2.6. I used current SDK version and also FacebookSDKs-iOS-20150813. Both SDKs are not giving me user information excluding id and username.
You can´t downgrade an App to a lower App, you can only upgrade it to a newer one. Downgrading would not make any sense anyway, it´s better not to use stuff that is deprecated.
Upgrade Tool: https://developers.facebook.com/tools/api_versioning/
You do not neet to downgrade anyway, you only need to use the fields parameter: /me?fields=name,first_name,...
It´s called "Declarative Fields" and came with v2.4 of the Graph API: https://developers.facebook.com/docs/apps/changelog#v2_4

How to integrate Aftership API in ios

I am working on iOS App where I have to use Aftership SDK for tracking the order-details. While integrating aftership sdk with my app I am facing problem of app crash. I have followed their doc https://www.aftership.com/docs/api/4 also downloaded the SDK from the link https://github.com/AfterShip/aftership-ios. It is not get clear, how to use from its docs page to integrate this API and I haven't found any useful blog or article which would guide me to integrate this.
Also we need to use pods for installation. As I am new to iOS I am not getting how to use pods and make the SDK ready.
This is my first time working on these type of project so Can anyone please help me, to get this done. I will be very thankful.

Iversion equivalent for titanium

I need a way to check the app store for the latest update of the app.
One way of doing this is to make an api call to see what the latest version is and force the user to download it. However this is reliant on an internet connection; a better way is to sync the app with the app store. There is a native module called iversion, does anyone know of a titanium equivalent.
https://github.com/nicklockwood/iVersion
Inspired by Harpy project the benCoding.iOS.Tools module allows you to query the AppStore and return the latest version. Check README for further details.

How long can we use DeprecatedHeaders in Facebook SDK 3.1?

I need to send an invitation from my iOS app to friends. I know that I can do it with "apprequests" and dialog, but this option is good only when we use "DeprecatedHeaders".
How long can we use DeprecatedHeaders in Facebook API? Are they going to support it in the future?
Is there any option to send invitation to friends from iOS app?
I prefer using SDK 3.1 than older one.
Version 3.2 of the Facebook SDK was released on 2/24 and this addresses the deprecated issue.
See: https://developers.facebook.com/ios/features/whats-new-ios-sdk-3.2/
And the upgrade guide if you need it: https://developers.facebook.com/docs/tutorial/iossdk/upgrading-from-3.1-to-3.2/

Resources