`Day46` - Add authentication on demo ◦ Worked ...
# 100daysofkotlin-2021
j
Day46
• Add authentication on demo ◦ Worked on saving token using okhttp3 Interceptor, SharedPreference ▪︎ Interceptor (1) (2) • BLE readings (1) (2) (3)
Self-Comment
• Emm.. I pushed a working demo with authentication, but I actually did not thoroughly read about inteceptor and shared preference. (To be honest, I feel BLE as more fearful and important task, so I didnt want to spend much time on authentication.. But I know that user authentication problem is tricky and I should look through that thoroughly one day. • Used few hours to get used to BLE terminologies and concepts. I’ll have to spend few hours tomorrow too.
Goals-Tomorrow
• ble lock demo
🔥 1
b
Diving into BLE! android dance When I eventually come across it myself, I may pick your brain for some knowledge on the topic if you're available 😉 Holding off for now until I want to implement it, but for my records.. would you recommend all 3 of those links for ble?
j
Ohh first link is in korean, and it was helpful. (I don’t have much theoretical basics about Bluetooth and BLE) Third link is android document, I just skimmed the contents of the actual setup process for android ble. It is helpful but not good to read. Second link was actually great. I’d recommend the second link. Well, as I came to work today, my supervisor told me to use Rx android ble(https://github.com/Polidea/RxAndroidBle) instead of pure android ble library. “RxAndroidBle is a powerful painkiller for Android’s Bluetooth Low Energy headaches. It is backed by RxJava, implementing complicated APIs as handy reactive observables.” But if you don’t work on complicated asynchronous jobs with BLE, pure android ble might work.
1