License on Multiple Platforms

  • Last Post 12 February 2018
Kata Sanguansat posted this 08 February 2018


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 08 February 2018

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 S. posted this 08 February 2018


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 08 February 2018


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 S. posted this 09 February 2018

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 and your application identifier, so that we can check this on our side?

Kata Sanguansat posted this 09 February 2018

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 S. posted this 12 February 2018

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 the following:

```-keep class* { *; }

-keep class* { *; }

-keepclassmembers class* { *; }

-keepclassmembers class* { *; }


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

Kata Sanguansat posted this 12 February 2018

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 ^__^