Claire @MyScript

said
over 3 years ago

Hello,It seems to be a certificate issue, could you please check if the configuration is successful?To do so, please add a break point to see the log:NSLog(@"singleCharWidgetDidEndConfigurationWithSuccess:%@",success? @"YES":@"NO");

Do you have the issue with the default sample as well?In your apps using the SingleCharWidget, you have to use the correct 'Bundle Identifier' (the same you declared on the ATK server side) in the build settings otherwise, the configure method will fail.

Best regards

J

Jecman

said
over 3 years ago

Hi Cate, I'm in VietDoor's team. Thank you very much for responding.

We have checked Myscript sample and it runs well in real devices v.9.1.

For our app, with pre-v.9.1, it works fine in both simulators and real devices. However, with v.9.1 it only works in simulator but not in real device.

I wonder if it's about wrong configuration or the key problem?

Thanks in advance!

Bests

C

Claire @MyScript

said
over 3 years ago

Hello,On our side, we didn't reproduce the problem. Did you add the log to check the configuration result?NSLog(@"singleCharWidgetDidEndConfigurationWithSuccess:%@",success? @"YES":@"NO");Did you check the bundle identifier name is correct with your app?

Best regards,

V

VietDoor

said
over 3 years ago

hi Cate

That function was not called, but some devices worked well, others not

Above is our code to configure, after configuring language, it jumps to DLog(@"singleCharWidgetDidBeginConfiguration"); but donn't jump to DLog(@"singleCharWidgetDidEndConfigurationWithSuccess:%@", success ? @"YES" : @"NO");

J

Jecman

said
over 3 years ago

Additionally, we have tested with two ipads v.9.1: one works fine, one doesn't.For ipad pre-v.9.1, it works fine though code doesn't jump to DLog(@"singleCharWidgetDidEndConfigurationWithSuccess:%@", success ? @"YES" : @"NO");

Thanks,

J

Jecman

said
over 3 years ago

Hi Cate,

Good news, our app's now working well after we change Certificate new bundle identifier.

However, I don't know how that certificate works. Coz if it's wrong then all simulators and devices should goes wrong as well. In my case, only some devices with v.9.1

Thanks for kindly supporting,Bests

C

Claire @MyScript

said
over 3 years ago

Thanks for your testing and feedback, glad to see it is working properly now on all your devices. As the certificate system requires an internet connection, maybe you have done your first tests without any internet connection?

V

VietDoor

said
over 3 years ago

Yes, we have done our first test without internet. So we got that problem.

Claire @MyScript

VietDoor

said
over 3 years ago

Yes, i did, but still has problem without intenet

C

Claire @MyScript

said
over 3 years ago

Hello,It is normal the devices without Internet access cannot download their definitive certificates and only have a time-limited certificate. Once expired, there's only one solution, allow Internet access temporarily to troubleshoot. If you are interested by a full offline process, I invite to get in touch with our sales team: https://developer.myscript.com/atk-quote-requestBest regards,