natesymer/FHSTwitterEngine

FHSTwitterEngine trouble in ios 10.1.1

Opened this issue · 3 comments

when running FHSTwitterEngine in 9.0 version it generates
Twitter savedHttpBody:oauth_token=2744544632-8W6wBwMEYhHRTHyeOm0OzOcFRtWHPEX6jRuhXbQ&oauth_token_secret=SbEkyNMoOMDATZiw7uHtt2FLsyzSgrsPsv21VBGjmKsi7&user_id=2744544632&screen_name=kapilcdn&x_auth_expires=0
Twitter Access token:<FHSToken: 0x15979a90>

but when running in ios 10.1.1
Twitter savedHttpBody:(null)
Twitter Access token:<FHSToken: 0x170821f40>

it is unable to give savedHttpBody


it gives (NSError) NSError = domain: @"NSURLErrorDomain" - code: 18446744073709550604{
_userInfo = 0x0000000170464700 3 key/value pairs
}

Can you try adding the settings for app transport security

<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
		<key>NSExceptionDomains</key>
		<dict>
			<key>api.twitter.com</key>
			<dict>
				<key>NSExceptionMinimumTLSVersion</key>
				<string>TLSv1.1</string>
				<key>NSIncludesSubdomains</key>
				<true/>
				<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
				<true/>
				<key>NSTemporaryExceptionMinimumTLSVersion</key>
				<string>TLSv1.1</string>
			</dict>
</dict>
	</dict>

i have added this but doesn't helping the way

i can confirm this, no time to take a closer look
any help appreciated