Can license expiration crash my app?

  • 92 Views
  • Last Post 26 March 2018
Karthik Kannan posted this 27 February 2018

Hi, 

I've been using ABBYY in my app for a few months now. I believe I might be under the 5000 installs limit but does the expiration of my license crash the app for new users? I recently sent in my app update for review to the app store and the crash logs they sent me pointed to the line where i'm loading the license file. It seems to be working perfectly in my phone but seems to be crashing for the app reviewers. 

I'm just thinking could this be one of the reasons, that's all. :)

 

Thanks,

Karthik

Order By: Standard | Newest | Votes
Karthik Kannan posted this 27 February 2018

Just adding to this question, I'm adding the lines of code that the crash logs indicate as the source of error. 

 let licensePath = (Bundle.main.bundlePath as NSString).appendingPathComponent("AbbyyRtrSdk.license") //WHERE THE CRASH IS SUPPOSEDLY HAPPENING.

     print(licensePath)

     self.engine = RTREngine.sharedEngine(withLicense: NSData(contentsOfFile: licensePath)! as Data

     self.textCaptureService = self.engine?.createTextCaptureService(with: self

     self.textCaptureService?.setRecognitionLanguages(selectedRecognitionLanguages)

     

Thanks!

Diana Khammatova posted this 26 March 2018

Do you know how many installations of your application have already been distributed via public internet stores? (As you correctly pointed out according to our License Agreement, the number of installations shall not exceed 5000.)

Another possible reason for the license error is that the customer’s application did not have an Internet connection enabled more than 90 days from the date of first downloading.

Also this issue may be caused by using ProGuard in case of Real-Time Recognition SDK for Android. Please find a  workaround in the https://forum.ocrsdk.com/thread/license-on-multiple-platforms/ thread.

Close
We changed our Privacy Policy and Cookie Policy effective May 25, 2018. Click on the links to find out more.