BlinkID / blinkid-cordova

ID scanning for cross-platform apps built with Cordova and Phonegap.
48 stars 34 forks source link

Runtime Error iOS: NSURLConnection finished with error - code -1100 #89

Closed calitidexvii closed 5 years ago

calitidexvii commented 5 years ago

When testing the BlinkID demo app, we're seeing this error when the BlinkID plugin attempts to load, which prevents the device from initializing:

NSURLConnection finished with error - code -1100

For debug purposes, we've tried setting "Allow Arbitrary Loads" in the App Transport Security, as well as adding the domains "github.com" and "microblink.com" to Exception Domains.

We're using Xcode 10 with the legacy build setting and Cordova version 8.1.2. The error is seen both when testing on Xcode iPad simulator as well an actual iPad device. (Using the exact same setup, the BlinkID PDF417 Cordova plugin deployed successfully.)

calitidexvii commented 5 years ago

Problem solved by removing and reinstalling platform and plugin.