What's the best way to utilize WiseJ for this task?

0
0

I need to develop a WiseJ based application  – no problem here we have been doing this for a long time.

However, we have never developed a “Mobile style” one.

What I mean is this: We need to develop a food delivery portal for a local company. Creating the portal in WiseJ to manage the admin stuff and order queue is no biggie. What I need advise on is the users will mostly be on a mobile device browsing the menu, placing an order.

  1. Do I have to create an actual mobile app that just goes to the site and load the WiseJ app pages ? Or can the app link be added to the device home screen as in a PWA ?
  2. I don’t really want to deal with publishing actual apps to the different app stores.
  3. How can I remember who this user is so they don’t have to log in all the time after the initial order is placed and we know who they are. Can some kind of token be stored locally on their device and we can read it from WiseJ ?
  • You must to post comments
0
0

Hi Edmond,

  1. Do I have to create an actual mobile app that just goes to the site and load the WiseJ app pages ? Or can the app link be added to the device home screen as in a PWA ?

You can add shortcuts to a given URL on all platforms: iOS, Windows, Android, and macOS. You don’t need to deploy it as an actual mobile app through the app store. You can also use the Wisej.NET PWA Project Template in Visual Studio if you want to deploy as a PWA. Either way works.

2. I don’t really want to deal with publishing actual apps to the different app stores.

You can use the shortcuts:

https://www.macrumors.com/how-to/add-a-web-link-to-home-screen-iphone-ipad/

https://lifehacker.com/how-to-add-a-website-shortcut-to-your-android-home-scre-1849125415

3. How can I remember who this user is so they don’t have to log in all the time after the initial order is placed and we know who they are. Can some kind of token be stored locally on their device and we can read it from WiseJ ?

You can use Application.Browser.LocalStorage, which is persisted across sessions:

https://docs.wisej.com/api/wisej.core/general/wisej.core.localstorage

https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage

 

HTH,

Levie

  • edmond girardi
    Is using the local storage method reliable ?
  • Levie (ITG)
    Hi Edmond, it’s one of the most reliable methods (besides cookies) available to traditional web apps without publishing an app to the app store. Best, -Levie
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.