Mobile App for Business and Consumer Users

I am closing in on finishing a mobile app for buyers to use when making and receiving offers for their carts. I want to have a mobile app for sellers to be able to manage offers, make counter offers, and review offers. And it is possible a seller might also have a buyer account.

Is there a way to switch between two types of account in a bubble mobile app without signing in a second time?

Assuming that the user signs up as both a seller and a second time as a buyer. Something like View As Buyer or View as Seller?

It really depends how you build your screens and logic, you could do it all from one place if you design it that way.

If you prefer to have this “View As Y experience” – then maybe a button on a settings/profile section of the app that conditionally shows and takes them to the appropriate screens?

I’d say just make it all work seamlessly. Users often don’t understand or care what role they are playing. They just want to log in and “do the thing”.

Buyers should never see the Sellers side of the app. When a buyer logs in they can only see screens when Current User is logged in AND Current User UserType is Buyer.

If I am a Seller, I have different tools to manage my account. When a seller logs in they can only see their screens when Current Uses is logged in AND Current User is UserType Seller.

A seller user could easily create a buyer account. I need a way to say this user buyer account belongs to this user seller account.

Is there an AppState that can be set?

When a Buyer logs in, set the AppState to Current User appstate.UserType=Buyer and when a Seller logs in, set the AppState to CurrentUser appState.UserType=Seller and then provide a button to the Seller to “Add a Buyer Account” and then the Seller could toggle between the two,

The navigation and screens are wholly different for Buyers and Sellers.

No there is no global app state you can use for this. Simplest way is to set a flag on the user as to the mode they are currently using. That would achieve it.

If a Buyer buys from a seller and IS NOT using the mobile aoo, the create a consumer record with an email and phone. If the consumer uses the mobile app, i attach their consumer record to the User record so I can link together their orders and offers.

I need to keep working on a way to allow Sellers to link their Buyer account. Maybe send an email to their email for the Buyer account with some form of authorization. Once I have it, it’s easy. Just have to get it.

Too bad there is no AppState - that would solve the issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.