Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile Thorium Applications #631

Closed
issue-tracker bot opened this issue Mar 22, 2018 · 9 comments
Closed

Mobile Thorium Applications #631

issue-tracker bot opened this issue Mar 22, 2018 · 9 comments
Labels
type/question an issue which is a question
Projects
Milestone

Comments

@issue-tracker
Copy link

issue-tracker bot commented Mar 22, 2018

Requested By: Nathan King

Priority: 1

Version: 0.2.11

We're exploring the use of Thorium on Android and Apple touch devices--specifically Android tablets and phones and Apple iPads. Do you know of any applications on either or both types of devices that will allow us to use Thorium in a fullscreen kiosk mode? Alternatively, is there any way to package Thorium as a mobile application?

Thanks!

@issue-tracker issue-tracker bot added the type/question an issue which is a question label Mar 22, 2018
@j-f1
Copy link
Contributor

j-f1 commented Mar 22, 2018

I’m not sure about Android, but for iOS you can put

<meta name="apple-mobile-web-app-capable" content="yes">

in your <head>, then go to [share] → Add to Home Screen → Add to save the web page as an app icon on your home screen.

@alexanderson1993
Copy link
Member

Android supports PWAs like this even more than iOS. It's probably the lowest barrier to entry for something like this, although I do intend to have an iOS/Android app of some kind in the future.

@alexanderson1993 alexanderson1993 added this to Future in Roadmap Mar 24, 2018
@alexanderson1993 alexanderson1993 added this to the 2.0 milestone Jun 13, 2018
@kimballfrank
Copy link

kimballfrank commented Jun 23, 2018

With iOS devices, a simple, free trick is to put the device into “guided access” mode.

This basically means that a user cannot leave the current app by hitting the home button.

This would at least restrict them to one app.

The next step I would take would be to use Xcode to build a really simple web view app that has no chrome and no ability to navigate away from the current website.

If I followed these steps, the only thing I would be worried about would be having access to refresh the page in case of a hangup. It might make sense for thorium to present a “refresh page” option somewhere in the UI for cases where browser chrome is being hidden away.

@j-f1
Copy link
Contributor

j-f1 commented Jun 23, 2018

@kimballfrank You can do the second part by hitting share → Add to Home Screen when you’ve opened the Thorium client in the Safari app. Closing the app (by hitting the home button) and reopening it will reload it.

@kimballfrank
Copy link

@j-f1 Add to Home Screen + Guided Access mode might be the cheapest, fastest solution that just might be good enough.

@alexanderson1993
Copy link
Member

Certainly. There are some issues with Thorium on desktop Safari, though, that might be present in mobile Safari, such as not being able to type in input fields. Also, most of the screens haven't been optimized for tablet resolutions, and none of them will work well on phone resolutions.

I'm right now considering what it would take to redo many, if not all, of the screens with React Native. I know it's possible to cross-compile, so this would allow for a single codebase to be used on iOS, Android, Mac, and Windows as native apps, with an Electron-based web app as well. This would, obviously, take a tremendous amount of work, but it certainly is doable.

@kimballfrank
Copy link

Would be fun to work on react-native stuff. I could help with that effort potentially.

@alexanderson1993
Copy link
Member

Sure thing! Let me get a framework put together for you to start with. That'll take me a couple of days. Is that okay, or did you want to jam on it yourself?

@alexanderson1993
Copy link
Member

Outside of running the Thorium website on a web browser, there is now a mobile application built with React Native which can serve this purpose: https://github.com/Thorium-Sim/thorium-mobile

Closing. Any issues surrounding the mobile app should be filed to that repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question an issue which is a question
Projects
No open projects
Roadmap
Backlog
Development

No branches or pull requests

3 participants