-
Notifications
You must be signed in to change notification settings - Fork 3
Common Issues with WebView - May Need Standalone #26
Comments
I have tried a few times to make the app without a WebView, but it's just too difficult. It was much easier to use something I already am very familiar with than to spend a few years trying to learn how to make classic Android Apps. Making it in HTML/CSS/JS also had some benefits, like being able to use the app without installing it. (v.ht/heb12) I have tested the app on many different versions of Android, and they work well. I'm not sure what you mean by an offline version, Heb12 Mobile already works offline. |
This program simply is a webview loader for HTML, CSS, and JavaScript which is also downloaded onto the device. It is not native as it could be, but it works pretty well. I would like to learn Java/Kotlin as well, but I don't have the time to learn a completely different programming language at the moment. |
@pufflegamerz I was talking about issues I've experienced in the past that may arise here during updates of this app. These issues were specifically the WebView being unable to read certain CSS properties including the display property. |
I've tested it on old Android Versions, and the display property works fine. |
@amazinigmech2418 I know this is closed, but we are actually working on a new rewrite in Golang. It should work natively, as you requested. |
Okay. I was thinking more of native as in Java or Kotlin, but I guess Go would work. However, Go is one of the languages I do not yet know, so I don't think I would be much of a help with that one. |
Learn Go. It is simple. Also, Kotlin/Java is not easily portable as we'd like. And there are some good libraries for cross platform Go apps. Plus Go is nice to work with most of the time. It is simple, unlike many alternatives. But it is also fast, and we can reuse code on all platforms, plus server. |
I think there are some other areas @amazinigmech2418
Go is not easy. It takes a while to get used to. |
@amazinigmech2418 We have some web-based projects I am working on if you would like to help out on. And thanks for your contributions here. |
@pufflegamerz So, what are the web-based projects? Also, anything Node or Python I should be able to help with. |
@MasterOfTheTiger I'm actually planning on learning Go soon. I just need to learn it still. |
One is http://api.heb12.com/www/ |
@pufflegamerz So, what is the repo? |
https://code.heb12.com/heb12/www |
@pufflegamerz How do I edit it since it isn't on GitHub? |
|
I will consider adding Github sign in to our code site. That would be helpful. |
@pufflegamerz Could you add a GitHub sign in? By the way, I know Go now. I still have to learn string manipulation and stuff, but I know the overall syntax. |
@amazinigmech2418 That won't be easy. Could not find any documentation on how to add Github sign in. |
Maybe. But we can't dig deep into the Gitea source code. Gitea has OAuth, but we couldn't get it working for some reason. |
OpenID looks good, I would just make an account on that. |
@pufflegamerz @MasterOfTheTiger I just signed up. Though, it seems like I still have to be added to the Heb12 organization there. |
Yep. I just invited you. |
I've tried using WebView in the past and know it will not work properly on all devices due to the inability to read certain CSS properties. It may be best to create a standalone version using basic Android XMLHTTP requests and using a textview object to store the Bible verses instead of a div in a web app. Making it work in a standalone version may also allow an offline version as well.
The text was updated successfully, but these errors were encountered: