Text

Unexpected Error

Hi,

For the first time i run the app i get the following error,

image

what's this error and how can i resolve that issue?


Hi,

Following one was my en_US config file's code,

Bundle-Version: 1.0

Bundle-Name: en_US

Configuration-Script:

 AddResDir ../resources/


Name: text

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/en_US-lk-text.res

 AddResource en_US/drugs_live.res

 AddResource en_US/DrugMIXHandwritingOne.res

 AddResource en_US/DrugMIXHandwritingTwo.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: medicinecustom

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/HandwritingDrugfile1.res

 AddResource en_US/HandwritingDrugfile2.res

 AddResource en_US/HandwritingDrugfile3.res

 AddResource en_US/HW_Extraroutfreanddays.res

 AddResource en_US/HWRouteTabFre.res

 AddResource en_US/en_US-lk-text.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: medicinename

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/HandwritingDrugfile1.res

 AddResource en_US/HandwritingDrugfile2.res

 AddResource en_US/HandwritingDrugfile3.res

 AddResource en_US/en_US-lk-text.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: medicineroute

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/HW_Route.res

 AddResource en_US/en_US-lk-text.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: medicinefrequency

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/en_US-lk-text.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: medicinedays

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/en_US-lk-text.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: medicineafbf

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 AddResource en_US/en_US-lk-text.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Name: patientcustom

Type: Text

Configuration-Script:

 AddResource en_US/en_US-ak-cur.res

 EnableAlienCharacters

 SetTextListSize 1

 SetWordListSize 5

 SetCharListSize 1


Dear Kannan,


thank you for contacting us.


Currently, when using the default "text" configuration, is it working? 

E.g.:

Name: text
Type: Text
Configuration-Script:
 AddResource en_US/en_US-ak-cur.res
 AddResource en_US/en_US-lk-text.res
 EnableAlienCharacters
 SetTextListSize 1
 SetWordListSize 5
 SetCharListSize 1


If this sample configuration is not working, then it is likely you have an issue with your certificate: either your certificate is not valid, or the application was installed more than 30 days ago and never connected to the internet.


If this text configuration is working, then can you please check your custom resources are properly deployed into the assets? Then, try each configuration to ensure the "conf" file is properly indented (wrong indentation may prevent a configuration from loading).


If this doesn't work, feel free to provide us your custom resources, I will try to reproduce on my side.


Best regards,


Olivier

Hi,

I have checked with the default configuration "text" only.

But still i get the unexpected error.

And also i download the new certificate and replace for old one.

It's also doesn't work for me.

How to resolve that issue?

Hi,

We can't deployed my project to Appstore because of this unwanted error issue.

So please help to us as soon us possible.


Dear Kannan,


the above information doesn't allow us to investigate further.


Can you please check your console in your dashboard? Do you have any error? Can you confirm you do not have the "Mismatch between certificate and application:" error message?


Is it possible to have your conf file and the resources we can download from a link (do not copy the conf file on this forum, as the indent may not be correct)? This may help trying to reproduce


Best regards,


Olivier

Hi,

When i get that unexpected error my console show the following lines,

" 020-03-09 18:49:02.487529+0530 EasyRx[942:57255] onError: INVALID_CERTIFICATE: error: AddResource en_US/en_US-lk-text.res failed "

And here is my conf and resource file sharing link,



Dear Kannan,


thank you for the conf file and resources. I checked these, and I confirm they work fine. The issue is therefore from your certificate.


Please refer to the on-device license management section of the documentation to see how to generate a new certificate for your app: https://developer.myscript.com/support/account/on-device-license-management/

Mainly, I insist you login to your atk dashboard (atk.myscript.com), and check your console. If the latter contains an error such as "Mismatch between certificate and application", you should then set the proper bundle identfier in your project’s properties, as stated in the above documentation.

Best regards,

Olivier

Hi,

I have create the new Application in https://atk.myscript.comwith my Bundle Identifier and enable it  for iOS and download that certificate and put it into my project.

But still i have that error.

please help to resolve this.


Dear Kannan,


I sent you an email this morning.


Can you please answer the questions in the latter, it will indeed help investigate.


Best regards,


Olivier

Hi,

Just now i see your mail and i have attached my source code and send it to your mail ID.

Please check it and let me know how to resolve this issue.

Dear Kannan,


currently, when creating several editors, we recommend you set a timer in between each editor creation.


Let us know if this solves your issue.


Best regards,


Olivier

Hi,

Is there is any option to stop the emoji's conversion?

Because sometimes i try to write some words but that one was converted into emoji's.

How to stop emojis only?

Dear Kannan,


to disable the emojis recognition, you can refer to the following topic (see the botton of the topic): https://developer-support.myscript.com/support/discussions/topics/16000027878


Regarding the previous issue, was it solved setting a timer in between each editor creation?


Best regards,


Olivier

Login or Signup to post a comment