Giter Club home page Giter Club logo

tailwindtraders-mobile's Introduction

Tailwind Traders Mobile Reference App

This repo is now archived, so there will be no additional work done here. We encorage folks to develop Native Mobile Apps using .NET MAUI going forward.

Mobile Apps

Build status

Note: This app uses backend services detailed in the Backend repository.

You can also download the mobile apps connected to our public endpoints in your devices following these links:

Screens

Tailwind Traders App

Xamarin.Forms 4

Latest features available in Xamarin.Forms 4 have been added as Shell navigation with routes and query parameters, and we added the new CollectionView control to show the different product list.

TailwindTraders.UITests

There are some Xamarin.UITests that are run in AppCenter to ensure the app works as expected. The UITests available have been designed with the best practices obtained from the experience of several developments in this way so we think it is a very good sample of how create UITests the good way.

Repositories

For this demo we built several consumer and line-of-business applications with a common set of backend services. You can find all repositories below:

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

tailwindtraders-mobile's People

Contributors

davidortinau avatar emaf avatar isaacrlevin avatar jacano avatar jamesmontemagno avatar jonathanpeppers avatar juanlao avatar marcoscobena avatar microsoftopensource avatar msftgits avatar naveen-kunder avatar pulimento avatar sweekriti91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tailwindtraders-mobile's Issues

App doesn´t load any images from url

on ios load images without problem but in android throws me this error:

Image Loading: Error getting stream for https://tailwindtraders.blob.core.windows.net/product-list/52076809.jpg: System.ObjectDisposedException: Can not access a closed Stream.
at System.IO.StreamHelpers.ValidateCopyToArgs (System.IO.Stream source, System.IO.Stream destination, System.Int32 bufferSize) [0x0003a] in <3e43eda906c6495eb12edfbee9e53c18>:0
at System.IO.MemoryStream.CopyToAsync (System.IO.Stream destination, System.Int32 bufferSize, System.Threading.CancellationToken cancellationToken) [0x00000] in <3e43eda906c6495eb12edfbee9e53c18>:0
at Xamarin.Forms.UriImageSource.GetStreamAsyncUnchecked (System.String key, System.Uri uri, System.Threading.CancellationToken cancellationToken) [0x00310] in D:\a\1\s\Xamarin.Forms.Core\UriImageSource.cs:187
at Xamarin.Forms.UriImageSource.GetStreamFromCacheAsync (System.Uri uri, System.Threading.CancellationToken cancellationToken) [0x00140] in D:\a\1\s\Xamarin.Forms.Core\UriImageSource.cs:211
at Xamarin.Forms.UriImageSource.GetStreamAsync (System.Uri uri, System.Threading.CancellationToken cancellationToken) [0x000f0] in D:\a\1\s\Xamarin.Forms.Core\UriImageSource.cs:141
at Xamarin.Forms.UriImageSource.GetStreamAsync (System.Threading.CancellationToken userToken) [0x00056] in D:\a\1\s\Xamarin.Forms.Core\UriImageSource.cs:80

Android Build fails - errors XA2002 and APT0000

Running on Windows 10 x64 with VS2019 preview 2.1. I downloaded twice and built many times, also tried to place files in a different folder.

1>------ Build started: Project: Emgu.TF.Lite, Configuration: Debug Any CPU ------
1>C:\Program Files\dotnet\sdk\2.1.600-preview-009472\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(143,5): message NETSDK1057: You are working with a preview version of the .NET Core SDK. You can define the SDK version via a global.json file in the current project. More at https://go.microsoft.com/fwlink/?linkid=869452
1>Emgu.TF.Lite -> C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\ThirdParties\Emgu.TF.Lite\bin\Debug\netstandard1.1\Emgu.TF.Lite.dll
2>------ Build started: Project: TailwindTraders.Mobile, Configuration: Debug Any CPU ------
2>TailwindTraders.Mobile -> C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile\bin\Debug\netstandard2.0\TailwindTraders.Mobile.dll
3>------ Build started: Project: TailwindTraders.Mobile.Android, Configuration: Debug Any CPU ------
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\styles.xml(2): error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.Dialog'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\styles.xml(2): error APT0000: No resource found that matches the given name: attr 'colorAccent'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\styles.xml(2): error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Widget.AppCompat.Button'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'buttonStyle'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'colorAccent'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'colorPrimary'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'colorPrimaryDark'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'windowActionBar'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'windowActionModeOverlay'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'windowNoTitle'.
3>C:\TailwindTraders-Mobile-develop\TailwindTraders-Mobile-develop\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\Resources\values\themes.xml(2): error APT0000: No resource found that matches the given name: attr 'colorPrimaryDark'.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1925,2): error XA2002: Can not resolve reference: Xamarin.Forms.Core, referenced by TailwindTraders.Mobile.Android. Please add a NuGet package or assembly reference for Xamarin.Forms.Core, or remove the reference to TailwindTraders.Mobile.Android.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1925,2): error XA2002: Can not resolve reference: Xamarin.Forms.Core, referenced by Sharpnado.Presentation.Forms. Please add a NuGet package or assembly reference for Xamarin.Forms.Core, or remove the reference to Sharpnado.Presentation.Forms.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1925,2): error XA2002: Can not resolve reference: Xamarin.Forms.Core, referenced by Sharpnado.Presentation.Forms.Droid. Please add a NuGet package or assembly reference for Xamarin.Forms.Core, or remove the reference to Sharpnado.Presentation.Forms.Droid.
3>C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1925,2): error XA2002: Can not resolve reference: Xamarin.Forms.Xaml, referenced by TailwindTraders.Mobile. Please add a NuGet package or assembly reference for Xamarin.Forms.Xaml, or remove the reference to TailwindTraders.Mobile.
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Cannot login with email and pwd

I downloaded android version and installed. Then I used email and pwd for both option login and login with Microsoft. But both are not working. Is it expected way ? 😁😄

iOS Release build crash on startup with physical device

I have downloaded and ran this example using the iOS simulator and it works with no issues, when building in release mode and deploying to a physical device. The application crashes instantly on startup. The crash logs provided this information, attached. I am unsure on how to correct this issue myself, so I am reporting it here.

`
Baseband Version: 1.01.30
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0

Application Specific Information:
abort() called

Thread 0 name: tid_303 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000020fd500e4 0x20fd2d000 + 143588
1 libsystem_pthread.dylib 0x000000020fdc7b50 0x20fdc5000 + 11088
2 libsystem_c.dylib 0x000000020fca8074 0x20fc4f000 + 364660
3 libsystem_c.dylib 0x000000020fca7fd8 0x20fc4f000 + 364504
4 TailwindTraders.Mobile.iOS 0x0000000101d5c3b8 xamarin_printf + 23004088 (runtime.m:2458)
5 TailwindTraders.Mobile.iOS 0x0000000101c4c4cc mono_invoke_unhandled_exception_hook + 21890252 (exception.c:1247)
6 TailwindTraders.Mobile.iOS 0x0000000101c009b4 mono_handle_exception_internal + 21580212 (mini-exceptions.c:2336)
7 TailwindTraders.Mobile.iOS 0x0000000101bff6b4 mono_handle_exception + 21575348 (mini-exceptions.c:2626)
8 TailwindTraders.Mobile.iOS 0x0000000101bf62fc mono_arm_throw_exception + 21537532 (exceptions-arm64.c:412)
9 TailwindTraders.Mobile.iOS 0x0000000100b1eb38 throw_exception + 168
10 TailwindTraders.Mobile.iOS 0x0000000101823404 TailwindTraders_Mobile_Features_Shell_TheShellViewModel__ctor + 20
11 TailwindTraders.Mobile.iOS 0x000000010181e048 TailwindTraders_Mobile_Features_Shell_TheShell__ctor + 17506376 (/C:\Development\Test Code\TailwindTraders-Mobile-master\Source\TailwindTraders.Mobile\TailwindTraders.Mobile\Features\Shell\TheShell.xaml.cs:14)
12 TailwindTraders.Mobile.iOS 0x000000010180bdd4 TailwindTraders_Mobile_App__ctor + 17432020 (/C:\Development\Test Code\TailwindTraders-Mobile-master\Source\TailwindTraders.Mobile\TailwindTraders.Mobile\App.xaml.cs:32)
13 TailwindTraders.Mobile.iOS 0x0000000100804f58 TailwindTraders_Mobile_IOS_AppDelegate_FinishedLaunching_UIKit_UIApplication_Foundation_NSDictionary + 626520 (/:1)
14 TailwindTraders.Mobile.iOS 0x0000000100aeab38 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
15 TailwindTraders.Mobile.iOS 0x0000000101c11e40 mono_jit_runtime_invoke + 21651008 (mini-runtime.c:3051)
16 TailwindTraders.Mobile.iOS 0x0000000101c95ec4 mono_runtime_invoke_checked + 22191812 (object.c:2942)
17 TailwindTraders.Mobile.iOS 0x0000000101c997dc mono_runtime_invoke + 22206428 (object.c:2996)
18 TailwindTraders.Mobile.iOS 0x00000001007ca7e4 native_to_managed_trampoline_11(objc_object*, objc_selector*, MonoMethod**, UIApplication*, NSDictionary*, unsigned int) + 387044 (registrar.m:493)
19 TailwindTraders.Mobile.iOS 0x00000001007cada0 -[AppDelegate application:didFinishLaunchingWithOptions:] + 388512 (registrar.m:11637)
20 UIKitCore 0x000000023dd51340 0x23d434000 + 9556800
21 UIKitCore 0x000000023dd52aec 0x23d434000 + 9562860
22 UIKitCore 0x000000023dd587e4 0x23d434000 + 9586660
23 UIKitCore 0x000000023d5c0138 0x23d434000 + 1622328
24 UIKitCore 0x000000023d5c92a0 0x23d434000 + 1659552
25 UIKitCore 0x000000023d5bfd98 0x23d434000 + 1621400
26 UIKitCore 0x000000023d5c077c 0x23d434000 + 1623932
27 UIKitCore 0x000000023d5be730 0x23d434000 + 1615664
28 UIKitCore 0x000000023d5be3d8 0x23d434000 + 1614808
29 UIKitCore 0x000000023d5c3828 0x23d434000 + 1636392
30 UIKitCore 0x000000023d5c4818 0x23d434000 + 1640472
31 UIKitCore 0x000000023d5c36dc 0x23d434000 + 1636060
32 UIKitCore 0x000000023d5c88e8 0x23d434000 + 1657064
33 UIKitCore 0x000000023dd56c14 0x23d434000 + 9579540
34 UIKitCore 0x000000023d9244c8 0x23d434000 + 5178568
35 FrontBoardServices 0x0000000212c49798 0x212c3c000 + 55192
36 FrontBoardServices 0x0000000212c550e8 0x212c3c000 + 102632
37 FrontBoardServices 0x0000000212c54708 0x212c3c000 + 100104
38 libdispatch.dylib 0x000000020fbc92f0 0x20fbc5000 + 17136
39 libdispatch.dylib 0x000000020fbcc8b4 0x20fbc5000 + 30900
40 FrontBoardServices 0x0000000212c8bb08 0x212c3c000 + 326408
41 FrontBoardServices 0x0000000212c8b774 0x212c3c000 + 325492
42 FrontBoardServices 0x0000000212c8bde0 0x212c3c000 + 327136
43 CoreFoundation 0x00000002101516a0 0x2100a2000 + 718496
44 CoreFoundation 0x000000021015161c 0x2100a2000 + 718364
45 CoreFoundation 0x0000000210150ed4 0x2100a2000 + 716500
46 CoreFoundation 0x000000021014bbb4 0x2100a2000 + 695220
47 CoreFoundation 0x000000021014b494 0x2100a2000 + 693396
48 GraphicsServices 0x00000002123febe8 0x2123f4000 + 44008
49 UIKitCore 0x000000023dd5a68c 0x23d434000 + 9594508
50 TailwindTraders.Mobile.iOS 0x00000001014f9308 wrapper_managed_to_native_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 328
51 TailwindTraders.Mobile.iOS 0x000000010146680c UIKit_UIApplication_Main_string___intptr_intptr + 13608972 (UIApplication.cs:79)
52 TailwindTraders.Mobile.iOS 0x00000001014667cc UIKit_UIApplication_Main_string___string_string + 13608908 (UIApplication.cs:64)
53 TailwindTraders.Mobile.iOS 0x0000000100804e44 TailwindTraders_Mobile_IOS_Application_Main_string
_ + 626244 (/:1)
54 TailwindTraders.Mobile.iOS 0x0000000100aeab38 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 248
55 TailwindTraders.Mobile.iOS 0x0000000101c11e40 mono_jit_runtime_invoke + 21651008 (mini-runtime.c:3051)
56 TailwindTraders.Mobile.iOS 0x0000000101c95ec4 mono_runtime_invoke_checked + 22191812 (object.c:2942)
57 TailwindTraders.Mobile.iOS 0x0000000101c9bda8 mono_runtime_exec_main_checked + 22216104 (object.c:0)
58 TailwindTraders.Mobile.iOS 0x0000000101bf2318 mono_jit_exec + 21521176 (driver.g.c:1211)
59 TailwindTraders.Mobile.iOS 0x0000000101d633dc xamarin_main + 23032796 (monotouch-main.m:0)
60 TailwindTraders.Mobile.iOS 0x0000000100804da0 main + 626080 (main.m:128)
61 libdyld.dylib 0x000000020fc01050 0x20fc00000 + 4176
`

Cannot build because of error XLS0503

Hello, when I try to build TailwindTraders.Mobile solution I receive a few times error XLS0503: A value of type 'MenuItem' cannot be added to a collection or dictionary of type 'ShellItemCollection', and XLS0503: A value of type 'ShellContent' cannot be added to a collection or dictionary of type 'ShellSectionCollection'.
I tried to build in Visual Studio 2017 15.9.3 and Visual Studio 2019 Preview.

Android build fails - Android.Support.V4.View.Accessibility.AccessibilityManagerCompat

When building (VS 2019 16.1.5) I got an error:

Failed to create JavaTypeInfo for class: Android.Support.V4.View.Accessibility.AccessibilityManagerCompat/IAccessibilityStateChangeListenerImplementor due to System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\{user}\Desktop\TailwindTraders-Mobile-master\Source\TailwindTraders.Mobile\TailwindTraders.Mobile.Android\obj\Debug\90\android\src\mono\android\support\v4\view\accessibility\AccessibilityManagerCompat_AccessibilityStateChangeListenerImplementor.java'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Xamarin.Android.Tools.Files.CopyIfStreamChanged(Stream stream, String destination) at Xamarin.Android.Tasks.Generator.CreateJavaSources(TaskLoggingHelper log, IEnumerable 1 javaTypes, String outputPath, String applicationJavaClass, Boolean useSharedRuntime, Boolean generateOnCreateOverrides, Boolean hasExportReference) TailwindTraders.Mobile.Android

Nice Demo but too complex

can you make a simpler solution that doesn't have all features? maybe only the basic navigation and authentication?

appcenter test.

Hi I followed instruction at https://www.azuredevopslabs.com/labs/vstsextend/appcenter/.
It worked well.
I have a question about appcenter test.
When i build the app in appcenter, it automated device test as well.
When i see the test result, it only has single result which is "app does launch".
image

I downloaded source code and ran unit test. It has several test like login, common.. etc..

image

How can i run the same unit test in app center other than simple app launch?
Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.