Coder Social home page Coder Social logo

iOS 9.2.1 about ocrsdk.com HOT 8 CLOSED

abbyy avatar abbyy commented on August 15, 2024
iOS 9.2.1

from ocrsdk.com.

Comments (8)

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

Do you have any more details? Perhaps a call stack and steps to reproduce?

from ocrsdk.com.

idevu avatar idevu commented on August 15, 2024

Hi all. I have same problem as ahsolanki.
I downloaded a sample project from your website and here. Both examples crashed with the following message:"App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file."

When comment code with setting installationID in RecognitionVC -> viewDidAppear.
I catch previous message +
screen shot 2016-03-16 at 13 16 52 but app not crashing.

I set Deployment Target: iOS 9.0
I using Xcode 7.2.1 version.

You use deprecated methods (since iOS 9.0) in
1.HTTPOperation.m for start connection:
NSURLConnection initWithRequest:(NSURLRequest *)request delegate:(nullable id)delegate startImmediately:(BOOL)startImmediately NS_DEPRECATED(10_5, 10_11, 2_0, 9_0,");

2.Client.m getting activationInfo:
NSURLSession NSURLsendSynchronousRequest:(NSURLRequest )request returningResponse:(NSURLResponse * __nullable * __nullable)response error:(NSError *)error NS_DEPRECATED(10_3, 10_11, 2_0, 9_0,");

When i send GET request (http://cloud.ocrsdk.com/activateNewInstallation?deviceId=) with valid password and appName (other request is working!)
I catch empty authToken:
"
screen shot 2016-03-16 at 13 38 26
"
To request I use Postman app.
To use your SDK should get installationID for device?

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

@idevu Is the problem arising because the URIs being requested start with http://?

from ocrsdk.com.

idevu avatar idevu commented on August 15, 2024

I test https request and catch same response:
screen shot 2016-03-16 at 15 10 40

from ocrsdk.com.

idevu avatar idevu commented on August 15, 2024

Ok. I change request protocol in Client implementation and request completed and i catch valid result!

But you can't wrote about insatllationID. Should I use it in my app?

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

@idevu installationId is a deprecated concept which shouldn't be used by new applications. Samples are to be updated such that they only use the applicationId when authenticating with the service.

from ocrsdk.com.

idevu avatar idevu commented on August 15, 2024

Ok. I see. Thanks for the info.

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

093519e should resolve this

from ocrsdk.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.