This is a migrated thread and some comments may be shown as answers.

Latest internal build broke my app

4 Answers 47 Views
CloudDataSync
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Simon
Top achievements
Rank 1
Simon asked on 12 Jul 2013, 10:48 AM
Just updated to the latest internal build as suggested and due to the API changes my app no longer builds.

There was nothing in the release notes about the change, most specifically the ICloudApp interface and the EverliveProvider no longer exists.
Looking through the stack it's not obvious what has changed apart from the obvious update to support multiple providers.

Can you help?

4 Answers, 1 is accepted

Sort by
0
Simon
Top achievements
Rank 1
answered on 12 Jul 2013, 11:26 AM
Right, made a little progress.
* Removed the iCloudApp interface and replaces

* Replaced
this.provider = new EverliveProvider(apikey);

with 
var everliveSettings = new EverliveProviderSettings() { ApiKey = "CRPr1VQjbGFuzbY6" };
 
CloudProvider.Init(ProviderType.Everlive, everliveSettings);

* Updated any calls to new async versions (just name change, like delete to deleteasync)
* Updated the RegisterControl sussess property to SuccessRegistrationUri

The app now compiles and runs but causes an odd Json missing reference error when trying to do any calls


0
Deyan
Telerik team
answered on 15 Jul 2013, 07:48 AM
Hi Simon,

Thanks for writing.

Indeed, with our latest LIB we introduce some changes in the API. This is expected since the Cloud Components are currently in CTP and API changes might occur for the sake of improving the developer experience. It's our mistake for not making this clear in the release notes though for which we would like to apologize.

The Json reference issue is a bit odd. Can you please make sure that a reference to this assembly is correctly added when building your app for the x86/ARM platform respectively? There are some conditions in the Project XML which change paths to reference assemblies according to the platform chosen which might be causing the glitch.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Simon
Top achievements
Rank 1
answered on 15 Jul 2013, 10:32 AM
I've tried dropping it and re-adding it again, I've even tried using the NuGet package for Json instead and the result is the same.  No difference if I deploy to Emulator (x86) or Device (ARM)

Seems an issue in the Telerik control rather than my Json reference.

Going to try just Everlive on it's own and see if that makes a difference.
0
Deyan
Telerik team
answered on 15 Jul 2013, 10:37 AM
Hi Simon,

Can you please share with me the stack-trace at the point of where the exception occurs? Is it possible for you to send me the project you are reproducing this with as well?

Thanks for your time.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
CloudDataSync
Asked by
Simon
Top achievements
Rank 1
Answers by
Simon
Top achievements
Rank 1
Deyan
Telerik team
Share this question
or