theta-client icon indicating copy to clipboard operation
theta-client copied to clipboard

There are keys in iOS SdkSample in info.plist that are not described in official apple documentation.

Open nastenkomisha opened this issue 1 year ago • 4 comments

In Ricoh demo project in info.plist 1 there are keys “NSTemporaryExceptionAllowsInsecureHTTPLoads” and “NSTemporaryExceptionRequiresForwardSecrecy”. But at the same time I can’t find any official apple documentation about these keys.

There is documentation only about keys NSExceptionAllowsInsecureHTTPLoads and NSExceptionRequiresForwardSecrecy.

In our commercial app we use keys like in demo app, so maybe we have to change these keys to NSExceptionAllowsInsecureHTTPLoads and NSExceptionRequiresForwardSecrecy?

Note: I have created this issue/question after discussion the problem here

nastenkomisha avatar Nov 11 '24 08:11 nastenkomisha

I think this is related to this issue: https://github.com/ricohapi/theta-client/issues/80#issuecomment-2463643919

In particular, please post a link to the official Apple documentation for NSTemporaryExceptionAllowsInsecureHTTPLoads and NSTemporaryExceptionRequiresForwardSecrecy

codetricity avatar Nov 12 '24 17:11 codetricity

@nastenkomisha An article Working with Apple’s App Transport Security explains about NSExceptionAllowsInsecureHTTPLoads and NSTemporaryExceptionAllowsInsecureHTTPLoads.

simago avatar Nov 13 '24 01:11 simago

@simago @codetricity in these article I see

In the first beta of iOS 9, these keys are incorrect and instead you’ll need to use the following: NSTemporaryExceptionAllowsInsecureHTTPLoads NSTemporaryExceptionRequiresForwardSecrecy NSTemporaryExceptionMinimumTLSVersion NSTemporaryThirdPartyExceptionAllowsInsecureHTTPLoads NSTemporaryThirdPartyExceptionMinimumTLSVersion NSTemporaryThirdPartyExceptionRequiresForwardSecrecy These keys will undoubtedly be fixed in a future seed. If you can, you should use the first set of keys above that Apple is officially supporting, though if you’re using the temporary keys, they should continue to work in future betas.

Can it be that it's not supported anymore and we have to change it to official NSExceptionAllowsInsecureHTTPLoads and NSExceptionRequiresForwardSecrecy?

Maybe you know which keys do you use in official Theta app?

nastenkomisha avatar Nov 13 '24 07:11 nastenkomisha

@nastenkomisha You might want to use official keys.

simago avatar Nov 14 '24 23:11 simago