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

Common Issues with WebView - May Need Standalone #26

Open
AmazingMech2418 opened this issue Jan 2, 2020 · 24 comments
Open

Common Issues with WebView - May Need Standalone #26

AmazingMech2418 opened this issue Jan 2, 2020 · 24 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@AmazingMech2418
Copy link

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.

@AmazingMech2418 AmazingMech2418 added the help wanted Extra attention is needed label Jan 2, 2020
@petabyt
Copy link
Member

petabyt commented Jan 2, 2020

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.

@MasterOfTheTiger
Copy link
Contributor

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.

@AmazingMech2418
Copy link
Author

@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.

@petabyt
Copy link
Member

petabyt commented Jan 4, 2020

I've tested it on old Android Versions, and the display property works fine.

@petabyt petabyt closed this as completed May 25, 2020
@petabyt
Copy link
Member

petabyt commented May 25, 2020

@amazinigmech2418 I know this is closed, but we are actually working on a new rewrite in Golang.

It should work natively, as you requested.

@AmazingMech2418
Copy link
Author

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.

@MasterOfTheTiger
Copy link
Contributor

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.

@petabyt petabyt reopened this May 26, 2020
@petabyt
Copy link
Member

petabyt commented May 26, 2020

Learn Go.

I think there are some other areas @amazinigmech2418
can help out in that are not written in Go.

It is simple.

Go is not easy. It takes a while to get used to.

@petabyt
Copy link
Member

petabyt commented May 26, 2020

@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.

@AmazingMech2418
Copy link
Author

@pufflegamerz So, what are the web-based projects? Also, anything Node or Python I should be able to help with.

@AmazingMech2418
Copy link
Author

@MasterOfTheTiger I'm actually planning on learning Go soon. I just need to learn it still.

@petabyt
Copy link
Member

petabyt commented May 28, 2020

@pufflegamerz So, what are the web-based projects? Also, anything Node or Python I should be able to help with.

One is http://api.heb12.com/www/
GithubFan also wanted to help out on that.

@AmazingMech2418
Copy link
Author

@pufflegamerz So, what is the repo?

@petabyt
Copy link
Member

petabyt commented May 28, 2020

https://code.heb12.com/heb12/www
It is not on Github.

@AmazingMech2418
Copy link
Author

@pufflegamerz How do I edit it since it isn't on GitHub?

@petabyt
Copy link
Member

petabyt commented Jun 2, 2020

@pufflegamerz How do I edit it since it isn't on GitHub?
You probably will have to make an account there. I could mirror it on Github, but that I'm not sure how that would work.

@petabyt
Copy link
Member

petabyt commented Jun 2, 2020

I will consider adding Github sign in to our code site. That would be helpful.

@AmazingMech2418
Copy link
Author

@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.

@petabyt
Copy link
Member

petabyt commented Jun 15, 2020

@amazinigmech2418 That won't be easy. Could not find any documentation on how to add Github sign in.

@MasterOfTheTiger
Copy link
Contributor

MasterOfTheTiger commented Jun 16, 2020

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.

@petabyt
Copy link
Member

petabyt commented Jun 16, 2020

OpenID looks good, I would just make an account on that.

@AmazingMech2418
Copy link
Author

@pufflegamerz @MasterOfTheTiger I just signed up. Though, it seems like I still have to be added to the Heb12 organization there.

@MasterOfTheTiger
Copy link
Contributor

Yep. I just invited you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants