License on Multiple Platforms

  • 67 Views
  • Last Post 2 weeks ago
Kata Sanguansat posted this 3 weeks ago

Hi,

We have integrated the real-time text recognition into our applications, both Android and iOS. The test went fine. iOS version was first launched and everything works fine. However, when android's version has been published to the store not long after, we received the license-not-valid error when trying to scan. The question is, do Android and iOS versions of the same application (same bundle id) need to use the same license (right now we just use the license we received with the SDK on download)? or not necessary? If not, then what could be the problem?

Thank you

Order By: Standard | Newest | Votes
Kata Sanguansat posted this 3 weeks ago

I've tried both, using the same license as iOS's and a newly loaded one that came with the SDK. Nothing seems to work after building with signed keystore. Works fine without the signed keystore but with signed I got License exception error, saying my license is not valid. Any idea what might have caused it?

Thank you

Oksana Serdyuk posted this 3 weeks ago

Hi,

Do you know how many installations of your application have already been distributed via public internet stores? According to our License Agreement, the number of installations shall not exceed 5000. In case the number of installations exceeds 5000, you need to obtain the Extended Distribution License to continue use of the ABBYY RTR SDK functionality by contacting our sales.

Kata Sanguansat posted this 3 weeks ago

Hi,

The application has just been launched. We've checked and the number of installations is only around 100 so it surely hasn't exceeded the limit.

Oksana Serdyuk posted this 3 weeks ago

One more thing to check: is Internet connection enabled on the device where the issue occurs? Because any application shall establish Internet connection at least every 90 days, otherwise the ABBYY RTR SDK functionality may be blocked by ABBYY.

Could you please also send your license file to SDK_Support@abbyy.com and your application identifier, so that we can check this on our side?

Kata Sanguansat posted this 3 weeks ago

It's not a 90 days offline problem. We just tried turning off Proguard on the release build and it seems to work fine. However, because of the security issue, we cannot have it turned off. Is there a way to have Proguard on and the license is still valid?

Oksana Serdyuk posted this 2 weeks ago

Could you please specify how critical and important this issue is for your production? This could take some time to fix it.

As to possible workaround our developers suggest you to write in proguard-rules.pro the following:

```-keep class com.abbyy.mobile.ocr4.* { *; }

-keep class com.abbyy.mobile.ocr4.layout.* { *; }

-keepclassmembers class com.abbyy.mobile.ocr4.* { *; }

-keepclassmembers class com.abbyy.mobile.ocr4.layout.* { *; }

```

Please let us know if this workaround is fine for you till the issue is fixed.

Kata Sanguansat posted this 2 weeks ago

Hi Oksana,

Thank you so much, the workaround works like magic. We can now turn Proguard on along with the text scanning feature.

Thanks to your team as well ^__^

Close