Closed micahlt closed 4 years ago
@Hexsphere (I just assigned you because you have more Parcel experience than I do; no pressure)
If I understand right, it adds a slash to the beginning of their paths, and so they are fetched from the phone's filesystem's root? Also, this may be why it looks like this for me : (may also be because of my outdated android, although I think phonegap uses its own webview, but i could be wrong, it could use the system's webview which is completely outdated)
I'm on chromeos and I tested the .apk. It is horrible. Nothing works. I would recommend building it as a cached apk for cross-platform compatibility. Phonegap looks kind of outdated too, as my chromebook identifies it as an Android Lollipop package.
@ConvexPolygon Nope, PhoneGap isn't out of date. I do know some Chromebooks don't correctly run Android apps, so that might be it. It's definitely not designed to work on a screen that big, as it's a mobile app, not a tablet app. @locness3 Don't know why it's acting like that. Could be an issue with Parcel, but I don't have my laptop at hand, so I'll have to fix it in about two days.
@locness3 Latest version works for me... I'm running Marshmallow.
Also @ConvexPolygon, what do you mean by cached APK?
@micahlt I really think it's my Android (4.4 KitKat lol)
@locness3 lol KitKat, those were the days
Also @ConvexPolygon, what do you mean by cached APK? I meant build it as a PWA and allow users to store the app in their cache. My chromebook is running Android Oreo in a vm
I also realized I didn't build it, that's the problem. I forgot to build parcel. EDIT Never mind it is the same:
@locness3 lol KitKat, those were the days
Yes, I started with honeycomb on my tablet.
While we're at it saying our first android versions I started with Ice Cream Sandwich
Closing this issue. The current solution is to just (manually) go through and remove all slashes in front of file paths. This includes links
, scripts
, and imgs
. Also, we're moving to Cordova - check out #16.
Isn't Cordova PhoneGap?
When you use Parcel to bundle the assets (SCSS, Vue) the
index.html
file adds slashes to file paths to scripts, images, etc. This causes the app when packaged with PhoneGap to be unstyled HTML without any functionality. Currently this is avoided by removing slashes manually after building with Parcel. Any help with this would be very convenient.