User Profile & Activity

Product Support Moderator
Page
of 22

Hello Leo,

For the instruction to upgrade to Crosslight iOS Unified and Xamarin iOS Unified, please check out our blog here.

FYI, the original error that you submitted actually have nothing to do with iOS Unified. The error was caused bythe Linker stripping out the classes required by Crosslight. The solution is quite simple, go to the Project Properties of the iOS project, select iOS Build, then put in the following syntax to the "Additional mtouch argument" textbox.


--linkskip=System.Core


Rebuild your project and run the app to your iOS device. Your apps should be working fine now.

Hope this helps.

Hello Misery,

Make sure you have installed the required Nuget packages, specifically the Microsoft BCL package. To install the package, right click on the Portable project, Manage Nuget Packages. Then look for Microsoft BCL package and install it to your project.

FYI, if you created a new project from Business Template, the Crosslight Project Wizard is already doing the BCL installation automatically. But in case you created a new project from other Crosslight template, then you have to install the BCL package manually to leverage the async/await feature in the Portable project.

Hope this helps.

Hi Misery,

Please make sure that your method is already marked with "async" keyword.

For your reference, please check out our Sync Sample which demonstrate the use of Crosslight SQLite, local data storage, and data synchronization. The sample is already built with data repository pattern which greatly simplify the business logic implementation.

Hope this helps.

Posted: December 23, 2014 5:14 PM

Hello Ryan,

FYI, CROS-598 has been resolved since the November update. If you're on the latest Crosslight (v3), then you should no longer experience the login issue in Windows Phone. Could you please clarify?

Thanks!

Posted: December 23, 2014 5:11 PM

Hello Max,

It seems that your Facebook developer account is still in "development" mode. Could you please check your developer settings in Facebook Developer Portal to ensure? Only if the account is in production mode, then it will allow other people to login using their own Facebook account.

Hope this helps.

*Removed due to duplicate response.

Hello Fabian,

The standard Timer implementation should work fine and reliable across all supported platforms. In essence, the Mono implementationof .NET BCL has reached maturity and it's used heavily as the foundation for Xamarin platforms. Furthermore, Mono is fully managedby Xamarin, so you don't need to worry about the issues in the franework level.

In most cases, we've found that standard Timer works well, so we haven't seen any needs why we should invent one. If you believe we should implement a better Timer with richer functionality, please create a feature request and explain the desired features and behaviors in details. Creating a feature request is similar with creating a new forum post, just change the type to "Feature Request" in the type selection of the form.

Hope this helps.

Posted: December 20, 2014 12:56 PM

Hello Thomas,

The StateAware attribute is particularly introduced to support automatic state restoration in Windows 8 platform. So if users navigated to several levels down then suspend the app, Crosslight can restore the navigation stacks completely and obtain the navigation parameters from ViewModel/Model through properties marked with StateAware attribute.

Hope this helps.

Posted: December 18, 2014 2:29 AM
When using Explicit trigger mode, you can update the bound data by simply calling the SetPropertyValue method from your view. This will send the changes down to the model.

For exampe, supposed that we have a button click in the View where we want to update the model explicitly, the following code should do the job.



textView.SetPropertyValue(BindableProperties.TextProperty, "New value");


The SetPropertyValue takes 2 parameters, the bindable property to update and the new value. You will typicallycall this method against the target view, in the above case, the text view. So, if the text view is bound to any model (two-way binding mode will be required), then all bound models will be updated accordingly.

Hope this helps.
Posted: December 17, 2014 2:21 PM

Hello Thomas,

The 64 bit support originally came from Apple as they are progressively phasing out 32 bit platform. Xamarin'sUnified API seems designed to address the Apple's 64 bit strategy which includes 64 bit support for both iOS and Mac platforms.

Note that the 64 bit SDK was introduced by Apple since iOS 7, so it's not an iOS 8 specific stuff. However, going forward, it seems Apple will force developers to migrate to 64 bit apps. This is good in the way it improves apps performance and allows larger resources allocation.

Just a quick update, our team has finalized Crosslight support for the new Unified API. We will release a beta version before Dec 23.

Hope this helps.

All times are GMT -5. The time now is 3:19 AM.
Previous Next