Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Working demo #10

Open
manish-jain-1 opened this issue Jan 28, 2017 · 2 comments
Open

Working demo #10

manish-jain-1 opened this issue Jan 28, 2017 · 2 comments

Comments

@manish-jain-1
Copy link

First of all, it won't build if you update the packages.

Is there a working APIs or a mock demo available?

Looking for a quick demo of mobile app without going through API setup.

Is there a demo login that I could use?

Thanks,
Manish

@jsuarezruiz
Copy link
Member

Hi @ManishJainGitHubUser,

You can modify the ViewModelLocator to register Fake services for testing.

There are Fake services for authentication, get rides, get events, etc.

@brunck
Copy link

brunck commented Mar 19, 2017

This would be great but:

  • I had to set the FakeApplicationService to do ToLower() on the UserName because for whatever reason, in the iOS simulator I couldn't type aaa for user name, it always capitalized the first a.
  • Once I got past that, it crashed with an NRE because the fake ride data is initialized out of order.

I'll put up a PR for the changes that fixed these problems.

brunck pushed a commit to brunck/BikeSharing360_MobileApps that referenced this issue Mar 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants