basshelal / Waqti

Android app for a Kanban board time management system similar to Trello
MIT License
36 stars 7 forks source link

When building, setting unsplash keys? #120

Open xet7 opened 4 years ago

xet7 commented 4 years ago

@basshelal

Hi, I could only build Waqti when I uncommented unsplash imports and environment varibles.

I did register and get my own keys from unsplash.com, but to what file I should add those keys so that they work correctly, so I don't need to uncomment unsplash?

I have built Waqti on Android Studio on Ubuntu 20.04 64bit.

Waqti debug mode does seem to work on emulator.

On OnePlus 3 Android 9 phone when I run Waqti directly via adb on phone, and there click board, Waqti crashes. Maybe this could be related to that I don't have unsplash settings correct yet.

xet7 commented 4 years ago

It seems that these are related to background image #4

basshelal commented 4 years ago

Hi there @xet7

Thanks for showing interest in my little project here.

See if this quick fix works for you:

I'm gitignoring a file called Keys.kt which is in a package called keys.

image

Add this file with with the same variable names representing your access key and private key and uncomment what you've commented out and see if it works for you.

Please note, Waqti is extremely unstable, I developed it as a way of learning and playing around with Android and it has grown far beyond that (I'm so bad with feature creep 😩) so I've ended up deciding to modularize it. But unfortunately I haven't been able to work on it as much as I'd like, University steals a lot of my time from open source 🙁.

If you're interested in the BoardView then I recommend you check out my new repo BoardView. I'm nearly done with it and I'd say it's 80% stable and usable, just missing some features. It aims to make a BoardView which will in the future help remove a lot of complexity from Waqti.

Let me know if I can help you in any other way, I'd be more than happy to 😊.

I assume you're looking at this for Wekan?

xet7 commented 4 years ago

@basshelal

I'm just testing at first can I get this working. I don't know yet am I able to make any significant changes because I have not programmed with Kotlin.