HexTree / CoffeePoints

Smartphone app for scanning and collecting points
MIT License
0 stars 0 forks source link

Blank screen on Android #22

Closed HexTree closed 7 years ago

HexTree commented 7 years ago

App just shows blank screen on Android. More specifically, I see a page of horizontal grey bars, but no buttons or text. Have tested d6ab5d5cdcb5c6ecf93c0cca171249974b9708ab on both the Android SDK emulator, and Bluestacks, same thing happens in each.

HexTree commented 7 years ago

blank

HexTree commented 7 years ago

The last version I have without this problem is 76ba750d4448e030ffce95a14eeb777b63cf873f

sayyari commented 7 years ago

That's https://github.com/HexTree/CoffeePoints/commit/5239d8d3ac5b6b81cab2d8fc77186432b408fdd7. Maybe there's a merge problem. I'll check it out. screenshot_1484399086 screenshot_1484399073 screenshot_1484399070 screenshot_1484399118 screenshot_1484399066 screenshot_1484399056 screenshot_1484399126

HexTree commented 7 years ago

Appears to be fixed now.

HexTree commented 7 years ago

I'm back to this issue again after 5acada4c1bac5cffeecc1685da9887c4982f9617

sayyari commented 7 years ago

It's a problem with either the merge, or the way your cordova is compiling the project since I never have any problems of that kind before I pull up to HexTree/CoffeePoints.

Can you tell me what version of cordova are you using, and whether the geolocation plugin reinstalls itself on your project?

HexTree commented 7 years ago

Ah, I think I might be using Cordova incorrectly. I can't remember exactly which commands I used to build it, but what lines should I write immediately after updating to the latest revision?

sayyari commented 7 years ago

If you are cloning use $ cordova platform add android

If you are pulling only the changes then use $ cordova prepare

To run, use $ cordova run android

There isn’t any problems if you run through android studio as well.

HexTree commented 7 years ago

I guess I was doing it wrong. It's fine now.

HexTree commented 7 years ago

@7mTo Then what should I do when I commit, just remove android and ios folders again?

sayyari commented 7 years ago

It’s not that big of a deal, but it’s better if you remove the platforms since I’d rebuild the platforms anyway to make sure they update properly. Also, it’s much easier to see the changes when they are just a couple of files and lines instead of a thousand. It’s ok if you don’t remove them.

On Jan 17, 2017, at 12:11 AM, HexTree notifications@github.com wrote:

@7mTo https://github.com/7mTo Then what should I do when I commit, just remove android and ios folders again?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HexTree/CoffeePoints/issues/22#issuecomment-272962941, or mute the thread https://github.com/notifications/unsubscribe-auth/AIKhQ-HuiudWm1eC8jMBvu5FIrYkePfMks5rS9z-gaJpZM4LjnFD.

--


This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.