iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I want to deal " IBarcodeReaderService service = ServiceProvider.GetService<IBarcodeReaderService>(); "
without "AppInitializer.cs"
"ServiceProvider.GetService" is where setting is coming from?
Help me, please.
During build process, the linker of Xamarin SDK will remove unused class references, including Barcode Reader class reference. To prevent the Xamarin SDK from removing the references, you will need to add an additional configuration in InitializeServices method of AppInitializer class. For more detail, please check the "Add Barcode Reader PreserveAssembly Configuration" section in "Working with Barcode Reader Service" documentation in here.
Should you have any specific reasons to deal with BarCodeReaderService without the PreserveAssembly, please feel free to let us know.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname